should work,have you tried it in onerror method?

On Sun, May 16, 2010 at 11:02 PM, Apple Grew <[email protected]> wrote:

> Unfortunately textfield.getconvertedinput() return null. That's why I am
> stuck.
>
> Regards,
> Apple Grew
> my blog @ http://blog.applegrew.com/
>
>
> On Sun, May 16, 2010 at 7:28 PM, vineet semwal
> <[email protected]>wrote:
>
> > you can just do textfield.updateModel(),that will update textfield model
> > for
> > you,you can do it
> > inside onerror of ajaxsubmitlink or inside a validator that you have
> > written.
> > if you just want to read textfield's user input use
> > textfield.getconvertedinput().
> >
> > On Sun, May 16, 2010 at 4:40 PM, Apple Grew <[email protected]> wrote:
> >
> > > Is there any other way around? Adding nested form will change my markup
> > > which I don't want to do just for this purpose.
> > >
> > > The solution I am looking for, is there any way I can capture the
> > > username's
> > > value using javascript and send to my component via Wicket's Ajax?
> > >
> > > Regards,
> > > Apple Grew
> > > my blog @ http://blog.applegrew.com/
> > >
> > >
> > > On Sun, May 16, 2010 at 3:44 PM, Martin Makundi <
> > > [email protected]> wrote:
> > >
> > > > Make smaller NESTED form with only components that you need.
> > > >
> > > > **
> > > > Martin
> > > >
> > > > 2010/5/16 Apple Grew <[email protected]>:
> > > > > They already are in a form along with other text fields. I tired
> > > playing
> > > > > with AjaxSubmitLink, but here too I fail to fetch the username from
> > > model
> > > > as
> > > > > other fields still do not have the required inputs, causing the
> form
> > to
> > > > > report error.
> > > > >
> > > > > Regards,
> > > > > Apple Grew
> > > > > my blog @ http://blog.applegrew.com/
> > > > >
> > > > >
> > > > > On Sun, May 16, 2010 at 2:00 PM, Martin Makundi <
> > > > > [email protected]> wrote:
> > > > >
> > > > >> Use ajaxButton :
> > > > >>
> > > > >> <form wicket:id=nameform>
> > > > >>  <input type="text" wicket:id="namefield"/>
> > > > >>  <input type="button" wicket:id="ajax-button-for-name-form"/>
> > > > >> </form>
> > > > >>
> > > > >> **
> > > > >> Martin
> > > > >>
> > > > >>
> > > > >> 2010/5/16 Apple Grew <[email protected]>:
> > > > >> > I need to implement a Check Availability link. When this link is
> > > > clicked
> > > > >> it
> > > > >> > will check if the entered username exists for not For this link
> I
> > > have
> > > > >> used
> > > > >> > AjaxLink. The problem is in AjaxLink's onClick I am not sure how
> > > will
> > > > I
> > > > >> > fetch the value of the text filed - username? The model seems
> not
> > to
> > > > hold
> > > > >> > the value..
> > > > >> >
> > > > >> > Please suggest.
> > > > >> >
> > > > >> > Regards,
> > > > >> > Apple Grew
> > > > >> > my blog @ http://blog.applegrew.com/
> > > > >> >
> > > > >>
> > > > >>
> > ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail: [email protected]
> > > > >> For additional commands, e-mail: [email protected]
> > > > >>
> > > > >>
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [email protected]
> > > > For additional commands, e-mail: [email protected]
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > regards,
> > Vineet Semwal
> >
>



-- 
regards,
Vineet Semwal

Reply via email to