You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/12/27 01:10:19 UTC

svn commit: r359142 - /myfaces/api/trunk/src/java/javax/faces/webapp/UIComponentTag.java

Author: mmarinschek
Date: Mon Dec 26 16:10:14 2005
New Revision: 359142

URL: http://svn.apache.org/viewcvs?rev=359142&view=rev
Log:
Tweaking the javadoc for removeFormerChildren a little - it was not fully correct.

Modified:
    myfaces/api/trunk/src/java/javax/faces/webapp/UIComponentTag.java

Modified: myfaces/api/trunk/src/java/javax/faces/webapp/UIComponentTag.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/webapp/UIComponentTag.java?rev=359142&r1=359141&r2=359142&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/webapp/UIComponentTag.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/webapp/UIComponentTag.java Mon Dec 26 16:10:14 2005
@@ -375,8 +375,11 @@
      * have corresponding tags as children of this tag. This only happens
      * when a view is being re-rendered and there are components in the view
      * tree which don't have corresponding JSP tags. Wrapping JSF tags in
-     * JSTL "c:if" statements is one way this can happen; programmatically
-     * added components are another.
+     * JSTL "c:if" statements is one way this can happen.
+     * <br />
+     * Attention: programmatically added components are are not affected by this:
+     * they will not be on the old list of created components nor on the new list
+     * of created components, so nothing will happen to them.
      */
     private void removeFormerChildren(UIComponent component)
     {