You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matthias Keller (Closed) (JIRA)" <ji...@apache.org> on 2011/11/14 11:04:51 UTC

[jira] [Closed] (WICKET-4207) Use the correct cast in WizardButtonBar

     [ https://issues.apache.org/jira/browse/WICKET-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Keller closed WICKET-4207.
-----------------------------------


Thanks
                
> Use the correct cast in WizardButtonBar
> ---------------------------------------
>
>                 Key: WICKET-4207
>                 URL: https://issues.apache.org/jira/browse/WICKET-4207
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-extensions
>    Affects Versions: 1.5.2
>            Reporter: Matthias Keller
>            Assignee: Martin Grigorov
>             Fix For: 1.5.3
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> WizardButtonBar.getDefaultButton() uses a cast to Button before returning the found component.
> However, the interface only expects a IFormSubmittingComponent being returned.
> This makes it hard to subclass this button bar to add our own logic using SubmitLinks instead of Buttons. Those casts should be changed to IFormSubmittingComponent.

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