you need to tweak your ide to enable java5 functionality i think. -igor
On Wed, Nov 18, 2009 at 5:26 AM, maven apache <[email protected]> wrote: > I create a class Loginpage which extends WebPage,how the IDE show me many > errors when I use wicket 1.4 : > > public LoginPage() { > User user = new User(); > Form logForm = new Form("form", new CompoundPropertyModel(user)) { > > protected void onSubmit() { > > } > > }; > logForm.setMultiPart(true); > logForm.setMaxSize(Bytes.kilobytes(1000)); > > add(logForm); //////////// Here it says :"The method add(Component[]) in > the type MarkupContainer is not applicable for the arguments (Form)" > > TextField accountTextfield = new TextField("account"); > > logForm.add(accountTextfield); ///////////// here It says:"The method > add(IFormValidator) in the type Form is not applicable for the arguments > (TextField)" > } > > Why? > > Since I did not got the errors when I use wicket-1.3. > > BTW, is the class DatePicker deprecated? > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
