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/02/03 01:14:06 UTC

svn commit: r740160 - /wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java

Author: ivaynberg
Date: Tue Feb  3 00:14:06 2009
New Revision: 740160

URL: http://svn.apache.org/viewvc?rev=740160&view=rev
Log:
WICKET-2070

Modified:
    wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java

Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java?rev=740160&r1=740159&r2=740160&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/CheckGroupSelector.java Tue Feb  3 00:14:06 2009
@@ -22,7 +22,10 @@
 
 /**
  * Selects and deselects all Check components under the same CheckGroup as itself. Selection
- * toggling is accomplished by generating an onclick javascript event handler.
+ * toggling is accomplished by generating an onclick javascript event handler. This component must
+ * be attached to markup of type <input type="checkbox"/>. Additionally, if
+ * {@link #CheckGroupSelector(String)} constuctor is used the selector must be a descendant of the
+ * CheckGroup it is meant to affect.
  * 
  * @see org.apache.wicket.markup.html.form.CheckGroup
  * @see org.apache.wicket.markup.html.form.Check