can you please try enclosing the dropdown in a webmarkupcontainer and
repaint the container instead of repainting the whole form. That will work.

regards
dipu

On Dec 5, 2007 2:23 PM, Dipu Seminlal <[EMAIL PROTECTED]> wrote:

> agreed, onBlur doesn't seem to work, in my project had added onChange and
> OnBlur to be on the safer side,
> but now noticed that onBlur is not getting fired
>
>
>
>
> On Dec 5, 2007 12:20 PM, Holda, Dariusz < [EMAIL PROTECTED]> wrote:
>
> >
> > Onblur is not the thing I want but I've tried it and it doesn't work.
> >
> > -----Original Message-----
> > From: Dipu Seminlal [mailto:[EMAIL PROTECTED]
> > Sent: 05 December 2007 12:10
> > To: [email protected]
> > Subject: Re: AutoCompleteTextField problem
> >
> > can you try changing the event from onchange to onblur
> >
> > On Dec 5, 2007 12:08 PM, dariusz.holda < [EMAIL PROTECTED]>
> > wrote:
> >
> > >
> > > Hi,
> > > I have AutoCompleteTextField with
> > > AjaxFormComponentUpdatingBehavior("onchange"). When the value is
> > chosen
> > > from
> > > the auto complete it populates the model object of a drop down. Both
> > of
> > > the
> > > components are in a form. The problem is it is working only the first
> > > time.
> > > Then IE reports Error on Page: Object required. I've tried to debug
> > the
> > > error in FireFox but when I'm using Firefox it works fine with no
> > error.
> > > If
> > > I use DropDownChoice instead of AutoCompleteTextField it works with no
> > > errors as well.
> > > I'm using wicket-1.2.6 and wicket-extensions-1.2.6. Has anybody seen
> > > something like this? Is it a bug in 1.2.6 AutoCompleteTextField for
> > IE?
> > > Unfortunately I almost all of the clients are using IE and it has to
> > work
> > > with this browser.
> > > Here is the code snippet:
> > > acTextField.add(new AjaxFormComponentUpdatingBehavior("onchange"){
> > >
> > >                                private static final long
> > serialVersionUID
> > > = 1L;
> > >
> > >                                @Override
> > >                                public void onUpdate(AjaxRequestTarget
> > > target){
> > >                                        String name =
> > > acTextField.getModelObjectAsString();
> > >                                        dropDown.setModelObject(name);
> > >                                         target.addComponent(form);
> > >                                }
> > >                        });
> > >
> > > dropDown and acTextField are added to the form.
> > >
> > > --
> > > View this message in context:
> > >
> > http://www.nabble.com/AutoCompleteTextField-problem-tf4949236.html#a1417
> > 0390
> > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > - - - - - - - -
> >
> > This message is intended only for the personal and confidential use of
> > the designated recipient(s) named above.  If you are not the intended
> > recipient of this message you are hereby notified that any review,
> > dissemination, distribution or copying of this message is strictly
> > prohibited.  This communication is for information purposes only and should
> > not be regarded as an offer to sell or as a solicitation of an offer to buy
> > any financial product, an official confirmation of any transaction, or as an
> > official statement of Lehman Brothers.  Email transmission cannot be
> > guaranteed to be secure or error-free.  Therefore, we do not represent that
> > this information is complete or accurate and it should not be relied upon as
> > such.  All information is subject to change without notice.
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to