[
https://issues.jboss.org/browse/RF-13111?page=com.atlassian.jira.plugin.s...
]
Andrey Zhemoytuk updated RF-13111:
----------------------------------
Description:
Iteration components (datatable and extendedDatatable) evaluate the value attribute even
when rendered is set to false, even though it is not necessary.
To reproduce try this snippet:
{code:xml}
<h:form>
<rich:dataTable rendered="false"
value="#{viewScope.put('invoked', true)}">
</rich:dataTable>
<a4j:commandButton value="Postback" execute="@this"
render="result"/>
</h:form>
<h:panelGroup id="result">
#{invoked}
</h:panelGroup>
{code}
was:
Iteration components (datatable and extendedDatatable) evaluate the value attribute even
when rendered is set to false, even though it is not necessary.
To reproduce simply try this snipplet:
{code:xml}
<h:form>
<rich:dataTable rendered="false"
value="#{viewScope.put('invoked', true)}">
</rich:dataTable>
<a4j:commandButton value="Postback" execute="@this"
render="result"/>
</h:form>
<h:panelGroup id="result">
#{invoked}
</h:panelGroup>
{code}
Data Iteration components evaluate value on postback even if not
rendered when partial state saving is turned off
-----------------------------------------------------------------------------------------------------------------
Key: RF-13111
URL:
https://issues.jboss.org/browse/RF-13111
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-tables
Affects Versions: 4.3.3
Reporter: Andrey Zhemoytuk
Assignee: Brian Leathem
Labels: partial_state_saving
Original Estimate: 4 hours
Remaining Estimate: 4 hours
Iteration components (datatable and extendedDatatable) evaluate the value attribute even
when rendered is set to false, even though it is not necessary.
To reproduce try this snippet:
{code:xml}
<h:form>
<rich:dataTable rendered="false"
value="#{viewScope.put('invoked', true)}">
</rich:dataTable>
<a4j:commandButton value="Postback" execute="@this"
render="result"/>
</h:form>
<h:panelGroup id="result">
#{invoked}
</h:panelGroup>
{code}
--
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