You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pe...@apache.org on 2011/01/07 12:04:06 UTC
svn commit: r1056257 -
/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
Author: pedro
Date: Fri Jan 7 11:04:06 2011
New Revision: 1056257
URL: http://svn.apache.org/viewvc?rev=1056257&view=rev
Log:
javadoc
Issue: WICKET-3308
Modified:
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
Modified: wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java
URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java?rev=1056257&r1=1056256&r2=1056257&view=diff
==============================================================================
--- wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java (original)
+++ wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/FormComponent.java Fri Jan 7 11:04:06 2011
@@ -706,6 +706,13 @@ public abstract class FormComponent<T> e
* Gets the converted input. The converted input is set earlier though the implementation of
* {@link #convertInput()}.
*
+ * {@link FormComponentPanel} often access this method when constructing their converted input
+ * value which is often the combination of converted values of the embedded FormComponents
+ *
+ * To access the model object resulted by the full form processing, use
+ * {@link #getModelObject()} instead, that is an generified version of
+ * {@link #getDefaultModelObject()}
+ *
* @return value of input possibly converted into an appropriate type
*/
public final T getConvertedInput()
@@ -721,7 +728,7 @@ public abstract class FormComponent<T> e
* @param convertedInput
* the converted input
*/
- public final void setConvertedInput(T convertedInput)
+ protected final void setConvertedInput(T convertedInput)
{
this.convertedInput = convertedInput;
}