there is an example in wicket-examples that does this...
the difference between the two is clear, one submits formcomponent data, the
other one does. so if you wanted to attach a onclick handler to a div you
wouldnt use a formcomponentupdatingbehavior
-igor
On 8/13/07, soulspirit <[EMAIL PROTECTED]> wrote:
>
>
> Thanks for the advice, it really helped me out.
> Found the AjaxFormComponentUpdatingBehavior and things are working now.
>
> Although AjaxFormComponentUpdatingBehavior is a subclass of the
> AjaxEventBehavior and seems to wrap the onEvent() function I wonder in
> which
> case the use of the AjaxEventBehavior - class might be more appropriate
> than
> AjaxFormComponentUpdatingBehavior...
>
>
> Johan Compagner wrote:
> >
> > component.add(new AjaxEventBehavior("onblur")) wouldn't work?
> > (and then implement the onEvent abstract method)
> >
> > johan
> >
> >
> > On 8/13/07, soulspirit <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Hi,
> >>
> >> is it possible to get something like an onBlur - event in wicket?
> >>
> >> What Im trying to do is to validate input on a textfield when it loses
> >> focus.
> >>
> >> Im confident it will be possible with wickets ajax-components, but I
> >> didnt
> >> find yet what Im searching for..
> >>
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/wicket-onfocus--tf4260591.html#a12124400
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/wicket-onfocus--tf4260591.html#a12126952
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>