[
https://issues.apache.org/jira/browse/MYFACES-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Kočí reopened MYFACES-2958:
----------------------------------
The second part of patch is not applied or was deleted by mistake:
<h:form id="inputForm">
<h:outputText id="inputText" value="Some value" />
</h:form>
<h:form id="submitForm">
<h:commandButton>
<f:ajax render="@all" />
<f:actionListener
binding="#{component.parent.setRendered(false)}" />
</h:commandButton>
</h:form>
<h:form id="emptyForm">
</h:form>
and
myfaces.config.no_portlet_env = true
does not work: after button click the ViewState hidden input disappears from
entire DOM.
Werner, can you please take a look at it? Attached patch contains modification
of _AjaxResponse.js, but in current trunk is this modification not present.
> Improve handling of AJAX response if source element is deleted
> --------------------------------------------------------------
>
> Key: MYFACES-2958
> URL: https://issues.apache.org/jira/browse/MYFACES-2958
> Project: MyFaces Core
> Issue Type: Improvement
> Components: JSR-314
> Affects Versions: 2.0.3-SNAPSHOT
> Environment: myfaces trunk
> Reporter: Martin Kočí
> Fix For: 2.0.3
>
> Attachments: MYFACES-2958.patch
>
>
> If ajax response removes HTML form with source element, .js stops processing
> of others HTML forms (specially it does not update ViewState elements).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.