ui:repeat can lose dynamically added grandchild components
----------------------------------------------------------
Key: MYFACES-3186
URL: https://issues.apache.org/jira/browse/MYFACES-3186
Project: MyFaces Core
Issue Type: Bug
Components: General
Affects Versions: 2.1.1, 2.1.2-SNAPSHOT
Reporter: Matt Benson
Somewhat complicated to explain... myfaces-extval, for example, can make
changes to components by intercepting {{Renderer.encodeBegin()}. My experience
is this:
I have a ui:repeat, in which I nest an h:selectOneMenu. If I add its child
elements using a renderer interceptor approach like that of extval, these are
lost after the view is rendered, so that the form submit fails due to the
h:selectOneMenu having no selectItems available. Other h:selectOneMenu
components in the tree work properly when I add children in the same way, thus
I believe that ui:repeat is where the problem arises. I am attaching a project
demonstrating the situation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira