You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2009/07/21 00:43:14 UTC
[jira] Created: (WICKET-2383) Add Button#onError
Add Button#onError
------------------
Key: WICKET-2383
URL: https://issues.apache.org/jira/browse/WICKET-2383
Project: Wicket
Issue Type: New Feature
Reporter: Matej Knopp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-2383) Add Button#onError
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733386#action_12733386 ]
Igor Vaynberg commented on WICKET-2383:
---------------------------------------
so this would be called instead of onsubmit() if validation fails?
will it also get called if inside button.onsubmit() error() is called on a formcomponent/form?
> Add Button#onError
> ------------------
>
> Key: WICKET-2383
> URL: https://issues.apache.org/jira/browse/WICKET-2383
> Project: Wicket
> Issue Type: New Feature
> Reporter: Matej Knopp
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-2383) Add Button#onError
Posted by "Matej Knopp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733395#action_12733395 ]
Matej Knopp commented on WICKET-2383:
-------------------------------------
right now if validation fails only form#onerror is called. This would be called if validation fails. If error() is called inside onsubmit on error wouldn't be called. I think the semantics should be close to ajaxsubmitlinkk#onerror
> Add Button#onError
> ------------------
>
> Key: WICKET-2383
> URL: https://issues.apache.org/jira/browse/WICKET-2383
> Project: Wicket
> Issue Type: New Feature
> Reporter: Matej Knopp
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.