ahh then we have to first also do that..


On Wed, Apr 23, 2008 at 8:51 PM, Matthew Young <[EMAIL PROTECTED]> wrote:

> Form<?>
>
> I tried that already and it's no good.
>
> Compile Error: Name clash: The method onSubmit(AjaxRequetTarget, Form<?>)
> of
> type new AjaxFallbackButton<Page1>(){} has the same erasure as
> onSubmit(AjaxRequestTarget, Form) of type AjaxFallbackButton<T> but does
> not
> override it.
>
> On Wed, Apr 23, 2008 at 2:54 AM, Johan Compagner <[EMAIL PROTECTED]>
> wrote:
>
> > Form<?>
> >
> > On Wed, Apr 23, 2008 at 6:52 AM, Matthew Young <[EMAIL PROTECTED]>
> wrote:
> >
> > > (Other than using @SupressWarnings)
> > >
> > >       AjaxFallbackButton<Page1> submitButton = new
> > > AjaxFallbackButton<Page1>("submitButton", form) {
> > >
> > >            @Override protected void onSubmit(AjaxRequestTarget target,
> > > Form
> > > f) {         <<<<<<< Warning here
> > > .....
> > >
> > > >>>>>>> Form is a raw type. References to generic type Form<T> should
> be
> > > parameterized.
> > >
> >
>

Reply via email to