You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ivan Vasilev (JIRA)" <ji...@apache.org> on 2010/11/25 20:51:13 UTC

[jira] Created: (WICKET-3198) RepeatingView containing forms

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


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


[jira] Updated: (WICKET-3198) RepeatingView containing forms

Posted by "Ivan Vasilev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Vasilev updated WICKET-3198:
---------------------------------

    Description: 
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.

  was:
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 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.


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


[jira] Updated: (WICKET-3198) RepeatingView containing forms

Posted by "Ivan Vasilev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Vasilev updated WICKET-3198:
---------------------------------

    Attachment: quickstart.rar

attached quickstart

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


[jira] Commented: (WICKET-3198) RepeatingView containing forms

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (WICKET-3198) RepeatingView containing forms

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-3198.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

martin is correct

> 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
>            Assignee: Igor Vaynberg
>         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.