click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1052488 - /click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java
Date Fri, 24 Dec 2010 11:36:10 GMT
Author: sabob
Date: Fri Dec 24 11:36:09 2010
New Revision: 1052488

URL: http://svn.apache.org/viewvc?rev=1052488&view=rev
Log:
added missing ListPanel constructors

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java?rev=1052488&r1=1052487&r2=1052488&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java Fri Dec 24 11:36:09
2010
@@ -38,4 +38,42 @@ public class ListPanel extends Panel {
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Create a ListPanel with the given name.
+     *
+     * @param name the name of the panel
+     */
+    public ListPanel(String name) {
+        super(name);
+    }
+
+    /**
+     * Create a Panel with the given name and template path.
+     *
+     * @param name the name of the panel
+     * @param template the Velocity template
+     */
+    public ListPanel(String name, String template) {
+        super(name, template);
+    }
+
+    /**
+     * Create a ListPanel with the given name, id attribute and template path.
+     *
+     * @param name the name of the panel
+     * @param template the Velocity template path
+     * @param id the id HTML attribute value
+     */
+    public ListPanel(String name, String template, String id) {
+        super(name, template, id);
+    }
+
+    /**
+     * Create a ListPanel with no name or template defined.
+     * <p/>
+     * <b>Please note</b> the control's name must be defined before it is valid.
+     */
+    public ListPanel() {
+        super();
+    }
 }



Mime
View raw message