[richfaces-issues] [JBoss JIRA] (RF-10963) a4j:commandButton doesn't update the hidden javax.faces.ViewState from render form

H G (JIRA) issues at jboss.org
Thu Jan 23 17:00:29 EST 2014


    [ https://issues.jboss.org/browse/RF-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12938413#comment-12938413 ] 

H G commented on RF-10963:
--------------------------

In the version 1.7 of Omnifaces there is a fix for the JSF bug related to render another form in the same view. I have not tested this future and I don't know if it fix the RF bugs related to ViewState, but for those that need this functionality right now, they can test and share the experience.

http://showcase.omnifaces.org/scripts/FixViewState
                
> 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
>              Labels: community_contributor_needed, jsf
>             Fix For: 5.0.0.Alpha3
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list