You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2009/11/12 17:31:17 UTC

svn commit: r835430 - /wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/repeater/RepeatingView.java

Author: ivaynberg
Date: Thu Nov 12 16:31:17 2009
New Revision: 835430

URL: http://svn.apache.org/viewvc?rev=835430&view=rev
Log:
wicket-2575 javadoc tweaks

Modified:
    wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/repeater/RepeatingView.java

Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/repeater/RepeatingView.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/repeater/RepeatingView.java?rev=835430&r1=835429&r2=835430&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/repeater/RepeatingView.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/repeater/RepeatingView.java Thu Nov 12 16:31:17 2009
@@ -34,9 +34,10 @@
  * 
  * <pre>
  * RepeatingView view = new RepeatingView(&quot;repeater&quot;);
- * view.add(new Label(&quot;1&quot;, &quot;hello&quot;));
- * view.add(new Label(&quot;2&quot;, &quot;goodbye&quot;));
- * view.add(new Label(&quot;3&quot;, &quot;good morning&quot;));
+ * view.add(new Label(view.newChildId(), &quot;hello&quot;));
+ * view.add(new Label(view.newChildId(), &quot;goodbye&quot;));
+ * view.add(new Label(view.newChildId(), &quot;good morning&quot;));
+ * add(view);
  * </pre>
  * 
  * </p>
@@ -63,7 +64,7 @@
  * </pre>
  * 
  * and so this is the markup that is available to the direct children - the Label components. So as
- * each label renders it produces a line of the output that has the <code>li</code>tag.
+ * each label renders it produces a line of the output that has the <code>li</code> tag.
  * 
  * 
  * @author Igor Vaynberg ( ivaynberg )