[ 
https://issues.apache.org/jira/browse/WICKET-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935865#action_12935865
 ] 

Martin Grigorov commented on WICKET-3198:
-----------------------------------------

I think you want #getRawInput() instead of #getConvertedInput().
#convertInput() is called only if the form processing is actually done.

See org.apache.wicket.markup.html.form.FormComponent.validate() and its caller 
org.apache.wicket.markup.html.form.Form.validateComponents()

> RepeatingView containing forms
> ------------------------------
>
>                 Key: WICKET-3198
>                 URL: https://issues.apache.org/jira/browse/WICKET-3198
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>         Environment: wicket 1.5m3, Windows 7, java 1.6
>            Reporter: Ivan Vasilev
>         Attachments: quickstart.rar
>
>
> There is a RepeatingView. Each item contains a form, which has one 
> RequiredTextField, one DropDownChoice and a AjaxSubmitLink ("copy_link"), 
> which has 
> setDefaultFormProcessing(false). When "copy_link" is pressed the input from 
> the RequiredTextField is retrieved via getConvertedInput() and another 
> element (with the value) is appended to the RepeatingView. However 
> RequiredTextField.getConvertedInput() returns null even though there is a 
> value entered. AjaxSubmitLink  does not process the form by default, but as 
> far as I know it should populate the form component values even in this case. 
> These conditions are repeated in the attached quickstart. Thanks.

-- 
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