2009/11/18 Igor Vaynberg <igor.vaynb...@gmail.com>

> you need to tweak your ide to enable java5 functionality i think.
>
In fact The jre library I add is jdk1.6

>
> -igor
>
>
> On Wed, Nov 18, 2009 at 5:26 AM, maven apache <apachemav...@gmail.com>
> 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to