[richfaces-issues] [JBoss JIRA] (RF-10963) a4j:commandButton doesn't update the hidden javax.faces.ViewState from render form
Brian Leathem (Updated) (JIRA)
jira-events at lists.jboss.org
Wed Oct 5 11:31:17 EDT 2011
[ https://issues.jboss.org/browse/RF-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-10963:
-------------------------------
Steps to Reproduce:
1) create a new jsf page with the following content:
{code}
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
<f:view contentType="text/html" />
<h:head>
</h:head>
<h:body>
<h:form id="aaa">
</h:form>
<h:form id="bbb">
<a4j:commandButton render=":aaa"/>
</h:form>
</h:body>
</html>
{code}
2) Open the page and check the first form viewState
3) Click in the submit button
4) Check the viewState of the first form again
was:
1) create a new jsf page with the following content:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j">
<f:view contentType="text/html" />
<h:head>
</h:head>
<h:body>
<h:form id="aaa">
</h:form>
<h:form id="bbb">
<a4j:commandButton render=":aaa"/>
</h:form>
</h:body>
</html>
2) Open the page and check the first form viewState
3) Click in the submit button
4) Check the viewState of the first form again
> a4j:commandButton doesn't update the hidden javax.faces.ViewState from render form
> ----------------------------------------------------------------------------------
>
> Key: RF-10963
> URL: https://issues.jboss.org/browse/RF-10963
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.0.0.Final
> Environment: S.O.: Ubuntu 10.04
> Browser: Chrome
> JSF Impl: JSF 2.0.2
> Reporter: Guilherme Moreira
> Fix For: 4.1.0.Tracking
>
>
> A a4j:commandButton that's render another form causes this other form lost it's hidden input viewState.
> Example
> {code}
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j">
> <f:view contentType="text/html" />
> <h:head>
> </h:head>
> <h:body>
> <h:form id="aaa">
> </h:form>
> <h:form id="bbb">
> <a4j:commandButton render=":aaa"/>
> </h:form>
> </h:body>
> </html>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list