You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Christian Wellekötter (Created JIRA)" <ji...@apache.org> on 2012/01/18 11:21:39 UTC

[jira] [Created] (WICKET-4344) Implement onValidateModelObjects() and beforeUpdateFormComponentModels() for nested forms

Implement onValidateModelObjects() and beforeUpdateFormComponentModels() for nested forms
-----------------------------------------------------------------------------------------

                 Key: WICKET-4344
                 URL: https://issues.apache.org/jira/browse/WICKET-4344
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.5.4
            Reporter: Christian Wellekötter


The onValidateModelObjects() Method in a Form is used for late-stage validation that allows outside frameworks to validate any beans that the form is updating (like JSR303 Bean Validation). This method is called after the model is updated.

If you override this method for validation in your form and your form is nested in another form, this method will not be invoked if the outer form is submitted. Only the onValidateModelObjects() Method of the outer form is invoked.

It would be great, if you change the implementation in the form in that way you did for the nested form validation and submission.

The same problem exists for the beforeUpdateFormComponentModels() Method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (WICKET-4344) Implement onValidateModelObjects() and beforeUpdateFormComponentModels() for nested forms

Posted by "Christian Wellekötter (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Wellekötter updated WICKET-4344:
------------------------------------------

    Affects Version/s:     (was: 1.5.4)
                       1.5.3
    
> Implement onValidateModelObjects() and beforeUpdateFormComponentModels() for nested forms
> -----------------------------------------------------------------------------------------
>
>                 Key: WICKET-4344
>                 URL: https://issues.apache.org/jira/browse/WICKET-4344
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Christian Wellekötter
>
> The onValidateModelObjects() Method in a Form is used for late-stage validation that allows outside frameworks to validate any beans that the form is updating (like JSR303 Bean Validation). This method is called after the model is updated.
> If you override this method for validation in your form and your form is nested in another form, this method will not be invoked if the outer form is submitted. Only the onValidateModelObjects() Method of the outer form is invoked.
> It would be great, if you change the implementation in the form in that way you did for the nested form validation and submission.
> The same problem exists for the beforeUpdateFormComponentModels() Method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (WICKET-4344) Implement onValidateModelObjects() and beforeUpdateFormComponentModels() for nested forms

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

Christian Wellekötter updated WICKET-4344:
------------------------------------------

    Affects Version/s:     (was: 1.5.3)
                       1.5.7
    
> Implement onValidateModelObjects() and beforeUpdateFormComponentModels() for nested forms
> -----------------------------------------------------------------------------------------
>
>                 Key: WICKET-4344
>                 URL: https://issues.apache.org/jira/browse/WICKET-4344
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Christian Wellekötter
>
> The onValidateModelObjects() Method in a Form is used for late-stage validation that allows outside frameworks to validate any beans that the form is updating (like JSR303 Bean Validation). This method is called after the model is updated.
> If you override this method for validation in your form and your form is nested in another form, this method will not be invoked if the outer form is submitted. Only the onValidateModelObjects() Method of the outer form is invoked.
> It would be great, if you change the implementation in the form in that way you did for the nested form validation and submission.
> The same problem exists for the beforeUpdateFormComponentModels() Method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira