Re: Anyway to fix this generic warning?

2008-04-24 Thread ArthIT
Hi, in Eclipse go to Window - Preferences Type Generic in the search box. Now you should see the Java-compiler-Errors/Warnings Node. Open it, and change settings under Generic types to whatever you want (Ignore f.e.) Cheerz MYoung wrote: (Other than using @SupressWarnings)

Re: Anyway to fix this generic warning?

2008-04-24 Thread Matthew Young
ArthIT: How to suppress the warning is not why I asked the question. I want to be sure generify Wicket is correct so user code can be clean and warning free. in Eclipse go to Window - Preferences Type Generic in the search box. Now you should see the Java-compiler-Errors/Warnings Node. Open it,

Re: Anyway to fix this generic warning?

2008-04-23 Thread Johan Compagner
Form? On Wed, Apr 23, 2008 at 6:52 AM, Matthew Young [EMAIL PROTECTED] wrote: (Other than using @SupressWarnings) AjaxFallbackButtonPage1 submitButton = new AjaxFallbackButtonPage1(submitButton, form) { @Override protected void onSubmit(AjaxRequestTarget target, Form f)

Re: Anyway to fix this generic warning?

2008-04-23 Thread Matthew Young
Form? I tried that already and it's no good. Compile Error: Name clash: The method onSubmit(AjaxRequetTarget, Form?) of type new AjaxFallbackButtonPage1(){} has the same erasure as onSubmit(AjaxRequestTarget, Form) of type AjaxFallbackButtonT but does not override it. On Wed, Apr 23, 2008 at

Re: Anyway to fix this generic warning?

2008-04-23 Thread Johan Compagner
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 AjaxFallbackButtonPage1(){} has the same