[JBoss JIRA] Created: (RF-9428) 'render' is not processed for non-rendered component
by Nick Belaevski (JIRA)
'render' is not processed for non-rendered component
----------------------------------------------------
Key: RF-9428
URL: https://jira.jboss.org/browse/RF-9428
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Milestone3
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Fix For: 4.0.0.Milestone4
Test case:
<h:form>
<h:commandLink action="#{testBean.toggle}" value="Toggle" rendered="#{testBean.rendered}">
<a4j:ajax render="timePanel" />
</h:commandLink>
</h:form>
<h:panelGroup id="timePanel">
#{testBean.time}
</h:panelGroup>
package org.richfaces.demo;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
@ManagedBean
@SessionScoped
public class TestBean {
private boolean rendered = true;
public void toggle() {
rendered = !rendered;
}
public boolean isRendered() {
return rendered;
}
public String getTime() {
return System.currentTimeMillis() + "";
}
}
Time should be updated when link is clicked, but it isn't.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 11 months