Re: Handling jquery events

2010-03-31 Thread Josh Kamau
Would you mind to post a code sample?  lets say the javascript event is
"onDrop()"

what do i write on the serverside that will handle the said methods. You can
post an example on the serverside code.


On Wed, Mar 31, 2010 at 12:32 PM, Stefan Lindner wrote:

> Hi Josh,
>
> take a look at the DatePicker class. Ist almost simple. The general way is
> to generate a wicket ajax call and to catch the call in the respond method
> of your AjaxBehavior. The DatePicker responds e.g. to th onclose oder
> onselected method of jQuery-ui-datepicker.
>
> Stefan
>
>
> -Ursprüngliche Nachricht-
> Von: Josh Kamau [mailto:joshnet2...@gmail.com]
> Gesendet: Mittwoch, 31. März 2010 11:26
> An: users@wicket.apache.org
> Betreff: Re: Handling jquery events
>
> Thanks Stefan. i will.
>
> On Wed, Mar 31, 2010 at 12:22 PM, Stefan Lindner  >wrote:
>
> > Hi Josh,
> >
> > take a look at jWicket in wicketstuff core. There you can find a lot of
> > examples how yo can re-act on jQuery events. E.g. ondrop, onresize,
> onclose,
> > onstart...
> >
> > Stefan
> >
> > -Ursprüngliche Nachricht-
> > Von: Josh Kamau [mailto:joshnet2...@gmail.com]
> > Gesendet: Mittwoch, 31. März 2010 11:06
> > An: users@wicket.apache.org
> > Betreff: Handling jquery events
> >
> > Hi Team;
> >
> >  I know i can write java code that handles javascript events e.g
> onChange()
> > using Behaviours. Question: Is there way i can handle in the same way
> > jquery
> > events? or custom javascript events?
> >
> >  Kind regards
> >
> > Josh
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


RE: Handling jquery events

2010-03-31 Thread Stefan Lindner
Hi Josh,

take a look at the DatePicker class. Ist almost simple. The general way is to 
generate a wicket ajax call and to catch the call in the respond method of your 
AjaxBehavior. The DatePicker responds e.g. to th onclose oder onselected method 
of jQuery-ui-datepicker.

Stefan

 
-Ursprüngliche Nachricht-
Von: Josh Kamau [mailto:joshnet2...@gmail.com] 
Gesendet: Mittwoch, 31. März 2010 11:26
An: users@wicket.apache.org
Betreff: Re: Handling jquery events

Thanks Stefan. i will.

On Wed, Mar 31, 2010 at 12:22 PM, Stefan Lindner wrote:

> Hi Josh,
>
> take a look at jWicket in wicketstuff core. There you can find a lot of
> examples how yo can re-act on jQuery events. E.g. ondrop, onresize, onclose,
> onstart...
>
> Stefan
>
> -Ursprüngliche Nachricht-
> Von: Josh Kamau [mailto:joshnet2...@gmail.com]
> Gesendet: Mittwoch, 31. März 2010 11:06
> An: users@wicket.apache.org
> Betreff: Handling jquery events
>
> Hi Team;
>
>  I know i can write java code that handles javascript events e.g onChange()
> using Behaviours. Question: Is there way i can handle in the same way
> jquery
> events? or custom javascript events?
>
>  Kind regards
>
> Josh
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Handling jquery events

2010-03-31 Thread Josh Kamau
Thanks Stefan. i will.

On Wed, Mar 31, 2010 at 12:22 PM, Stefan Lindner wrote:

> Hi Josh,
>
> take a look at jWicket in wicketstuff core. There you can find a lot of
> examples how yo can re-act on jQuery events. E.g. ondrop, onresize, onclose,
> onstart...
>
> Stefan
>
> -Ursprüngliche Nachricht-
> Von: Josh Kamau [mailto:joshnet2...@gmail.com]
> Gesendet: Mittwoch, 31. März 2010 11:06
> An: users@wicket.apache.org
> Betreff: Handling jquery events
>
> Hi Team;
>
>  I know i can write java code that handles javascript events e.g onChange()
> using Behaviours. Question: Is there way i can handle in the same way
> jquery
> events? or custom javascript events?
>
>  Kind regards
>
> Josh
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


RE: Handling jquery events

2010-03-31 Thread Stefan Lindner
Hi Josh,

take a look at jWicket in wicketstuff core. There you can find a lot of 
examples how yo can re-act on jQuery events. E.g. ondrop, onresize, onclose, 
onstart...

Stefan

-Ursprüngliche Nachricht-
Von: Josh Kamau [mailto:joshnet2...@gmail.com] 
Gesendet: Mittwoch, 31. März 2010 11:06
An: users@wicket.apache.org
Betreff: Handling jquery events

Hi Team;

 I know i can write java code that handles javascript events e.g onChange()
using Behaviours. Question: Is there way i can handle in the same way jquery
events? or custom javascript events?

 Kind regards

Josh

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org