myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geetika Srivastava <>
Subject Problem in page rendering
Date Fri, 18 Mar 2011 13:38:05 GMT

In my JSF page I have two datatables which are present in 2 separate <
a4j:outputPanel> which are rendered based upon a flag in session. Only one 
table is rendered at a time.

The flag for rendering the table is set by the actionlistener attached to 
a <h:commandbutton>

On clicking of the command button, the same page should be rendered  with 
the table corresponding to the updated flag value.However the earlier view 
is rendered which changes on refreshing the page.

Moreover the managed bean action and the actionlistener , all are getting 

The output panel is as follows:

<a4j:outputPanel id="myModalPanel" rendered="#{!setting.subListTable}">

Command button is as follows:

<h:commandButton value="Save Changes" styleClass="blueButtonMax" >
<a4j:support event="onclick" action="#{mobileReg.saveAlert}" 
actionListener="#{setting.changeSubTable}" immediate="true"/>


The action method and navigation rule in faces - config associated is as 

public String saveAlert() {
//buisness logic goes here

return "success";


And i have the following entry in my faces-config.xml..

JSF 1.2 is used and the application is deployed on weblogic 10.3. Please 
help me resolve.

Geetika Srivastava
Tata Consultancy Services
Experience certainty.   IT Services
                        Business Solutions
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message