click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r789362 - /incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
Date Mon, 29 Jun 2009 15:39:00 GMT
Author: sabob
Date: Mon Jun 29 15:38:59 2009
New Revision: 789362

URL: http://svn.apache.org/viewvc?rev=789362&view=rev
Log:
javadoc

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java?rev=789362&r1=789361&r2=789362&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
(original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
Mon Jun 29 15:38:59 2009
@@ -48,10 +48,17 @@
  * <p/>
  * Subclasses are expected to at least override {@link #getTag()}
  * to differentiate the control. However some controls does not map cleanly
- * to a html <em>tag</em>, in which case you can override
+ * to an html <em>tag</em>, in which case you can override
  * {@link #render(org.apache.click.util.HtmlStringBuffer)} for complete control
  * over the output.
  * <p/>
+ * Subclasses are also expected to provide a default no-arg constructor <tt>if</tt>
+ * the control deploys its JavaScript and CSS resources through Click's
+ * {@link org.apache.click.Control#onDeploy(javax.servlet.ServletContext)} mechanism.
+ * However if JavaScript and CSS resources are deployed through Click's
+ * <a href="../../../../user-guide/html/ch04s03.html#deploying-custom-resources">convention
based</a>
+ * mechanism, a default constructor is <tt>not</tt> needed.
+ * <p/>
  * Below is an example of creating a new control called MyField:
  * <pre class="prettyprint">
  * public class MyField extends AbstractControl {



Mime
View raw message