[
https://issues.apache.org/jira/browse/MYFACES-4268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697742#comment-16697742
]
Thomas Andraschko commented on MYFACES-4268:
--------------------------------------------
JFYI:
normally PrimeFaces takes the parent form, which is in this case not available.
So PF does a fallback to get the first form in the DOM, to also get the
viewstateId from there.
But in this case, there is no form on the initial request as the dialog is
loaded dynamically on opening.
The case is a bit tricky but clearly not valid.
> Opening a dynamic dialog from a command with resetAttributes="true" makes a
> duplicated POST request.
> ----------------------------------------------------------------------------------------------------
>
> Key: MYFACES-4268
> URL: https://issues.apache.org/jira/browse/MYFACES-4268
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.3.2
> Reporter: Antgar
> Priority: Minor
>
> If a dynamic dialog containing a form is oppened from a command with
> resetValues set to true, two POST requests are made returning the same
> information. It should be loaded only once.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)