Re: Both child and facet list should be checked while moving an existing child ?

2011-06-15 Thread Leonardo Uribe
Hi Checking the code I see that _ComponentChildrenList.removeChildrenFromParent do this: private void removeChildrenFromParent(UIComponent child) { UIComponent oldParent = child.getParent(); if (oldParent != null) {

Re: Both child and facet list should be checked while moving an existing child ?

2011-06-14 Thread Ivan
Any thought for this, thanks ! 2011/6/13 Ivan xhh...@gmail.com Hi, Per the Java doc of http://javaserverfaces.java.net/nonav/docs/2.0/javadocs/javax/faces/component/UIComponent.html#getChildren(), if I set an existing child in the returned children list, the target child should be

Both child and facet list should be checked while moving an existing child ?

2011-06-12 Thread Ivan
Hi, Per the Java doc of http://javaserverfaces.java.net/nonav/docs/2.0/javadocs/javax/faces/component/UIComponent.html#getChildren(), if I set an existing child in the returned children list, the target child should be removed from its previous parent in both children and facet list. While