[
https://issues.jboss.org/browse/RF-9428?page=com.atlassian.jira.plugin.sy...
]
Lukáš Fryč updated RF-9428:
---------------------------
Description:
Test case:
{code:xml}
<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>
{code}
{code:java}
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() + "";
}
}
{code}
Time should be updated when link is clicked, but it isn't.
was:
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.
'render' is not processed for non-rendered component
----------------------------------------------------
Key: RF-9428
URL:
https://issues.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:
{code:xml}
<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>
{code}
{code:java}
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() + "";
}
}
{code}
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, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira