[ http://issues.apache.org/jira/browse/MYFACES-509?page=all ]
Sylvain Vieujot reopened MYFACES-509:
-------------------------------------
I think there is a problem with this fix :
If 2 subviews have components with the same id, an exception is thrown :
<f:subview id="sv1">
<h:inputText id="sameId" ..../>
</f:subview>
<f:subview id="sv2">
<h:inputText id="sameId" ..../>
</f:subview>
This shouldn't be the case, as I understand this is one of the goals of
subviews (to isolate components with same ids).
> StateManager.saveSerializedView must throw an IllegalStateException when View
> contains duplicate IDs
> ----------------------------------------------------------------------------------------------------
>
> Key: MYFACES-509
> URL: http://issues.apache.org/jira/browse/MYFACES-509
> Project: MyFaces
> Type: Bug
> Components: JSR-127
> Versions: 1.0.9m9
> Reporter: Bruno Aranda
> Assignee: Martin Marinschek
> Fix For: Nightly Build
>
> Acording to the javadocs, the method StateManager.saveSerializedView must
> throw an IllegalStateException if more than one component or facet within the
> same NamingContainer in this view has the same non-null component id.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira