> that the object is
 already converted through the convert() call",
 but
FormComponent.updateModel() documentation bug
In-Reply-To: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit


     [ 
https://issues.apache.org/jira/browse/WICKET-951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Johan Compagner resolved WICKET-951.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0-beta4
         Assignee: Johan Compagner

i changed it to:

/**
         * Updates this components model from the request, it expects that the 
object is already
         * converted through the convertInput() call that is called by the 
validate() method when a form
         * is being processed.
         * 
         * By default it just does this:
         * 
         * <pre>
         * setModelObject(getConvertedInput());
         * </pre>
         * 
         * DO NOT CALL THIS METHOD DIRECTLY UNLESS YOU ARE SURE WHAT YOU ARE 
DOING. USUALLY UPDATING
         * YOUR MODEL IS HANDLED BY THE FORM, NOT DIRECTLY BY YOU.
         */

> the javadoc of FormComponent.updateModel() states: ".. it expect

> that the object is already converted through the convert() call", but
FormComponent.updateModel() documentation bug
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-951
>                 URL: https://issues.apache.org/jira/browse/WICKET-951
>             Project: Wicket
>          Issue Type: Bug
>          Components: site
>    Affects Versions: 1.3.0-beta3
>            Reporter: Matthijs Wensveen
>            Assignee: Johan Compagner
>             Fix For: 1.3.0-beta4
>
>
> The javadoc of FormComponent.updateModel() states: "Updates this components' 
> model from the request, it expect that the object is already converted 
> through the convert() call."
> Aside from the minor grammar flaw, there is no FormComponent.convert() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to