You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/12/24 12:36:10 UTC
svn commit: r1052488 -
/click/trunk/click/extras/src/org/apache/click/extras/panel/ListPanel.java
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();
+ }
}