This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 23, 2011, 3:35 AM
24 Posts

onChange doesn't work even in Firefox for combox

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: onchange,combox
  • Replies: 3
I've run into and known all that bugs of IE of onchange and the issue of using onclick. So I used a combox to replace the radio button. OnChange works fine with patial refresh in both IE 8 and Firefox until...
One day an user reported the he couldn't change the combox value. I tried and found the page worked at first, but after you left it to "rest"
for a while, you couldn't change the combox value -- it just jumped back.
The partial refresh switch the display of two check box groups.
rendered="#{javascript:document1.getItemValueString('Type')==='Route'; 
 
This weird thing occurs both in IE 8 and Firefox.
Any suggestion would be appreciated.  
Sep 23, 2011, 7:27 AM
272 Posts
Re: onChange doesn't work even in Firefox for combox
Hi,
 
what do you mean exactly with "'rest' for a while"? Maybe the session is expired...
 
Sven
Sep 26, 2011, 1:38 AM
24 Posts
Re: onChange doesn't work even in Firefox for combox
Yes. I just let it alone for a while. The session is still alive.
The first response after this break is slower, which I think might be due to the restore of the components tree after the cache is invalid.
 
I have changed the refresh mode from partial to complete. The issue still persists, but just for the first time after that break, at the second time, the response is quicker and it works normally.
  
Oct 7, 2011, 8:48 AM
24 Posts
Re: onChange doesn't work even in Firefox for combox
The reason to this weird issue has finally been found. I accidentally set the application timeout in the application properties to a over small value. After it's properly set, everything works.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal