File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes AJAX refresh problem in IE . Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "AJAX refresh problem in IE ." Watch "AJAX refresh problem in IE ." New topic

AJAX refresh problem in IE .

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 346
Hi every body ,

I am using a4j:support in my jsf application .

**I have one radio button , when I click that radio button , one boolean value will be true (in the backingBean) & render the rest of the field .It is working fine in fire fox . But when I am opening my application in IE it is not working .

Here is my jsf code :

Here when I will click the radio button , the renderYesOperation will become true & rest of the section will become visible.I have written one backingBean code for yesNoAction , there I just doing renderYesOperation to true.

It is working fine in firefox showing the output properly .In IE , the renderYesOperation value is changing to ture when I am clicking the radio button , but jsf not able to show the rendering <h:panelGrid> output i.e; rest of the section.The AJAX for JSF is not working properly for IE.

** the this.form.submit() is working in IE & firefox , but I want to do it by AJAX.
I am using jsf-facelets-1.1.11.jar ,richfaces-api-3.1.6.GA.jar,richfaces-impl-3.1.6.GA.jar and richfaces-ui-3.1.6.GA.jar .

Is there any other solution , then please send some help.

Thanks and regards,
S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 346
Hi guys , at last I solved the problem .

I just changed my a4j syntax like this : <a4j:support event="onclick" reRender="form" /> , instead of onchange,
now it is working in IE also

I agree. Here's the link:
subject: AJAX refresh problem in IE .
It's not a secret anymore!