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

Igor Vaynberg resolved WICKET-2210.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg

we cannot guarantee the type of the form this button will end up under even if 
one is specified because the form instance is not required in all constructors 
- which will cause all kinds of weird class cast errors if the button is 
specified with an incorrect form type. generics are used to "force" a certain 
type, but in this case we cannot do so.

> AjaxButton and <?>
> ------------------
>
>                 Key: WICKET-2210
>                 URL: https://issues.apache.org/jira/browse/WICKET-2210
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>            Reporter: Anton Kuzmin
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4-RC3
>
>
> I think it should use specific generic type for Form

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to