myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-2762) Handling mutiple h:form and AJAX is broken
Date Sun, 20 Jun 2010 14:23:24 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-2762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Werner Punz updated MYFACES-2762:
---------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 2.0.1-SNAPSHOT
       Resolution: Fixed

The patch is applied thank you for sending in the patch

> Handling mutiple h:form and AJAX is broken
> ------------------------------------------
>
>                 Key: MYFACES-2762
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2762
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.1-SNAPSHOT
>         Environment: myfaces current trunk (19.6.2010)
>            Reporter: Martin Kočí
>            Priority: Critical
>             Fix For: 2.0.1-SNAPSHOT
>
>         Attachments: MYFACES-2762.patch
>
>
> Is seems that handling of http://www.mail-archive.com/jsr-314-open@jcp.org/msg00043.html
(https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=790) is broken in
current trunk. This example:
>         <h:form id="form1">
>         </h:form>
>         
>         <h:form id="form2">
>             <h:commandButton value="AJAX Submit">
>                 <f:ajax render="@all" />
>                 <f:setPropertyActionListener value="#{true}" target="#{viewScope.test}"
/>
>             </h:commandButton>
>         </h:form>
>         <h:outputText value="#{viewScope.test}" />
> should produce output "true" with all clicks but it works only at first. Firebug shows
that all javax.faces.ViewState elements are removed after first response. If I comment out
first h:form it works as expected.
> Because this example works fine with 2.0.0 I think it a regression.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message