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 2009/07/25 13:35:08 UTC

svn commit: r797751 - /incubator/click/trunk/click/framework/src/org/apache/click/control/Field.java

Author: sabob
Date: Sat Jul 25 11:35:08 2009
New Revision: 797751

URL: http://svn.apache.org/viewvc?rev=797751&view=rev
Log:
updated javadoc to mention render instead of toString

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

Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/Field.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/Field.java?rev=797751&r1=797750&r2=797751&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/control/Field.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/control/Field.java Sat Jul 25 11:35:08 2009
@@ -91,15 +91,15 @@
  *
  * <h3>Rendering</h3>
  *
- * Field subclasses must override the <tt>Object.toString()</tt> method to
- * enable themselves to be rendered as HTML. With the increasing use of AJAX,
- * Fields should render themselves as valid XHTML, so that they may be parsed
+ * Field subclasses must override the {@link #render(org.apache.click.util.HtmlStringBuffer)}
+ * method to enable themselves to be rendered as HTML. With the increasing use of
+ * AJAX, Fields should render themselves as valid XHTML, so that they may be parsed
  * correctly and used as the <tt>innerHtml</tt> in the DOM.
  * <p/>
  * When a Form object renders a Field using autolayout, it renders the
  * Field in a table row using the Field's {@link #label} attribute, its
- * {@link #error} attribute if defined, and the Fields <tt>toString()</tt>
- * method.
+ * {@link #error} attribute if defined, and the Fields
+ * {@link #render(org.apache.click.util.HtmlStringBuffer)} method.
  * <p/>
  * To assist with rendering valid HTML Field subclasses can use the
  * {@link org.apache.click.util.HtmlStringBuffer} class.