[
https://issues.apache.org/jira/browse/WICKET-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556295#action_12556295
]
Igor Vaynberg commented on WICKET-1247:
---------------------------------------
why not simply
Button button=new Button("sok1") {
onsubmit() { String domain=sok1.getinput(); popup(domain); }
}.setdefaultformprocessing(false);
> RFE: Option to avoid form validation but still get modelbinding in
> AbstractSubmitLink: getDefaultFormValidation()
> -----------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-1247
> URL: https://issues.apache.org/jira/browse/WICKET-1247
> Project: Wicket
> Issue Type: Improvement
> Affects Versions: 1.3.0-rc2
> Reporter: Edvin Syse
> Priority: Trivial
>
> Some times I find that I need to submit a form and bypass the validation, but
> I still need any changes to form fields reflected in the model. If it is
> trivial I think it would be very nice if there was a
> getDefaultFormValidation() method in AbstractSubmitLink, that works
> similarily to getDefaultFormProcessing(), but instead of skipping
> modelbinding, all fields that pass validation could be updated in the model
> object.
> -- Edvin Syse
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.