Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

a4j reRender and jsf rerender not working together

843844Mar 26 2008 — edited Apr 22 2008
Hi,
I am using jsf 1.2 and ajax4jsf. What i want to do is when i click on one Button one panelGroup is reRender. At first that panel group is not render as is set it as false. Now a4j:commandLink is not working in side panelGroup.
I am pasting my code.
a4j:commandButton actionListener="#{demo.setrender}"
	    							   
	    							   reRender="panel"
	    							   >
</a4j:commandButton>
Now when i click on this button following panel group should rerender and it is rerendring but a4j:commangLink is not working. It is not calling actionListener method. In setrender i set render property as true so that panel group can show.
<h:panelGroup id="panel">
			<h:panelGrid rendered="#{demo.render}">					 
						 
				<h:inputText value="" id="id1"/>
				
				
				<h:inputText value="" id="id2"/>		
				
				
				<a4j:commandLink value="Save" id="save"
								 actionListener="#{demo.someActionListener}"								 
								 reRender="panel"								 
								 >					
				</a4j:commandLink>
				|
				<a4j:commandLink value="Cancle" id="cancel"					
								 actionListener="#{demo.someActionListener}"
								 reRender="panel">
				</a4j:commandLink>
				
			</h:panelGrid>
		</h:panelGroup>
Can anyone help me on this?

Thank you,
Bipin

Edited by: rajesh_012217 on Mar 26, 2008 4:30 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2008
Added on Mar 26 2008
1 comment
1,120 views