CreamTec
September 07, 2010, 03:57:18 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
AjaxSwing 3.1.0 is available for download!
AjaxSwing 3.0.6 is available for download!
 
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 10
 1 
 on: September 06, 2010, 11:48:16 PM 
Started by albe - Last post by albe
Same method -> Same Java Code

and no I do not use multithreading.

Any other ideas.

 2 
 on: September 06, 2010, 12:23:44 AM 
Started by jay_sheth - Last post by agunko
Hello Jay,

line
.customButtonSelected .customButton table td span {font-weight: bold !important;}
means for browser -- set font-weight bold for span element which is in td element, where td in table,
table in element with class customButton, which has parent element of customButtonSelected class.

word !important means that this class has higher priority that other(style attribute), but if you want to make your text font-weight normal you can set following
<SPAN style="COLOR: #000000; FONT-SIZE: 11px; FONT-WEIGHT: normal !important">Text</SPAN> --- line 2

Thanks,
Alexander Gunko

 3 
 on: September 03, 2010, 12:55:10 PM 
Started by jay_sheth - Last post by jay_sheth
Hi,

I have the following in custom.css file. I am not sure how to interpret it:

.customButtonSelected .customButton table td span {  --- line 1
   font-weight: bold !important;
}

Following is the html page:
<TABLE class="button customButtonSelected" border="0" cellSpacing="0" cellPadding="2">
<TBODY>
<TR>
<TD style="PADDING-BOTTOM: 6px; PADDING-LEFT: 6px; PADDING-RIGHT: 6px; PADDING-TOP: 6px" align="center">
<DIV class="customButton">
<TABLE border="0" cellSpacing="0" cellPadding="2">
<TBODY>
<TR>
<TD align="center">
<IMG title="xyz" border="0" alt="xyz" src="some.gif" />
</TD>
</TR>
<TR>
<TD align="center">
<SPAN style="COLOR: #000000; FONT-SIZE: 11px; FONT-WEIGHT: normal">Text</SPAN> --- line 2
</TD>
</TR>
</TBODY>
</TABLE>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>

What I have noticed is that if "Text" (line 2) becomes bold. I am not sure why we need "table td span" in line 1.

 4 
 on: September 02, 2010, 09:02:56 AM 
Started by kdiamond - Last post by Support Team
I believe you are using session.keepAlive=true in your application to prevent the session from expiring - is that correct?

There are several ideas I can propose for you:

1. Insert an invisible (width:0px; height:0px) IFRAME into your FreeMarker pages that points back to AjaxSwing application. This should keep the session going even when the user is on FreeMarker pages. This would only work if you have keepAlive=true.

2. Add a JavaScript interval to FreeMakker pages that sends a request to AjaxSwing application to prevent session expiration. You can send "refresh" action.

I recommend starting with Option 1 because it's very easy and doesn't require programming. Option 2 is more elegant but requires a bit of programming and hasn't been tested by us so may need some tweaks to the approach.

 5 
 on: September 02, 2010, 07:52:24 AM 
Started by kdiamond - Last post by kdiamond
Our web portal application has recently changed.  Before, the application started with FreeMarker and then switched between AjaxSwing to FreeMarker, depending on user requests.  Now, the application starts within AjaxSwing, where we authenticate the user and tie him to the jSessionId.  The problem we are running into is that the session is timing out when the user sits on a FreeMarker page for a period longer than the router.sessionTimeout value.  There are settings to keep the session alive while sitting on an AjaxSwing page (e.g., router.updateInterval).  How can we keep the session alive while sitting on a FreeMarker page?

(For background information on our web portal application, please talk to Alex Kalinovsky.)

 6 
 on: August 30, 2010, 06:44:29 AM 
Started by allan_xue - Last post by Support Team
AjaxSwing currently doesn't check if the menu items are visible, which is why setting them to be not visible doesn't have the desired effect. I have created a bug report with this issue, it should be fixed in the next release.

If you are evaluating for a commercial purpose, please let us know and we'll escalate the priority of this issue.



 7 
 on: August 30, 2010, 02:10:52 AM 
Started by allan_xue - Last post by agunko
Hello Allan,
I think that this topic will be useful
http://creamtec.com/forums/index.php?topic=481.0
they had almost same situation.
please let me know if you have any questions.

Thanks,
Alexander Gunko.

 8 
 on: August 30, 2010, 01:35:56 AM 
Started by allan_xue - Last post by allan_xue
In my swing program, we call the method setvisible to dynamically change the visibility of menu items. somehow, all the hidden items show up in the ajaxswing. Could u tell me how to dynamically change them instead of create new popup menu each time?

thx,

 9 
 on: August 27, 2010, 04:33:38 AM 
Started by siod - Last post by Dev Team
What is your button actionListener doing? Are yu redirecting to any external rource?

HTTP error are coming from tomcat, not AjaxSwing, if there would be exception in AjaxSwing or your application, you would get AjaxSwing internal error popup, not xhr.status:500.

Please attach your tomcat logs (catalina.out etc).

 10 
 on: August 26, 2010, 08:07:14 AM 
Started by siod - Last post by siod
I'm not running with inProcess=true.
When this message comes, the Tomcat process is still living. And there are other sessions at the same server at the same moment that work fine. So I think this is no problem with the Tomcat himself.
Other ideas?

Pages: [1] 2 3 ... 10
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!