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

Guilherme Moreira commented on RF-10963:
----------------------------------------

Indeed, it seems to be a JSF-RI bug.
But the above code works:
<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">
                <h:commandButton value="test">
                        <f:ajax render=":aaa"/>
                </h:commandButton>
        </h:form>
</h:body>
</html>

> 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
>            Assignee: Nick Belaevski
>
> A a4j:commandButton that's render another form causes this other form lost 
> it's hidden input viewState.
> Example
> <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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to