PATCH NAME:
916313
PRODUCT NAME:
Web Framework Kit
VERSION:
2.1
SHORT DESCRIPTION:
rich:dataTable and rich:extendedDataTable evaluate value attribute even if rendered=false
LONG DESCRIPTION:
See RF-11382 (https://issues.jboss.org/browse/RF-11382) for details.
MANUAL INSTALL INSTRUCTIONS:
Follow the required actions to apply this patch:
Replace jar in binary distribution
1 - Locate the "richfaces-components-ui-4.2.3.Final-redhat-1.jar" coming from jboss-wfk-2.1.0-richfaces-bin.zip
(./jboss-wfk-2.1.0/richfaces-4.2.3.Final-redhat-1/artifacts/ui/richfaces-components-ui-4.2.3.Final-redhat-1.jar)
2 - Replace the "richfaces-components-ui-4.2.3.Final-redhat-1.jar" with file "richfaces-components-ui-4.2.3.Final-redhat-1-bz-916313.jar" from this patch.
Add artifact to WFK Maven repository
1 - install artifact into your local Maven repository using
mvn install:install-file -Dfile=./richfaces-components-ui-4.2.3.Final-redhat-1-bz-916313.jar -DpomFile=./richfaces-components-ui-4.2.3.Final-redhat-1-bz-916313.pom
Use patched artifact (as dependency) in your Maven builds
1 - overide dependency with following snipet in your application pom.xml
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-components-ui</artifactId>
<version>4.2.3.Final-redhat-1-bz-916313</version>
</dependency>
</dependencies>
</dependencyManagement>
Note, if there is already a <dependencyManagement> section in you pom.xml, you need to place this snippet to appear on the top of the section
COMPATIBILITY:
None
DEPENDENCIES:
None
SUPERSEDES:
None
SUPERSEDED BY:
None
CREATOR:
Ilia Vassilev
DATE:
02/27/2013
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
Comment 11JBoss JIRA Server
2013-03-14 10:43:19 UTC
Jan Papousek <jpapouse> updated the status of jira RF-11382 to Closed
Comment 13JBoss JIRA Server
2013-07-23 13:50:29 UTC
Andrey Zhemoytuk <a.zhemoytuk> made a comment on jira RF-11382
Still the issue is reproducible on postback (at least when partial state saving is turned off).
Tried with RichFaces 4.3.3.Final and JSF 2.1.24 the following example:
{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}
Comment 14JBoss JIRA Server
2013-07-29 21:47:33 UTC
Brian Leathem <bleathem> made a comment on jira RF-11382
[~a.zhemoytuk] can you file a new issue for the partial state saving = false use case?