first create a url to a component.

this can be done by letting your component implement something like
ilinklistener and calling urlfor(linklistener.interface) on that
component.

once you have the url (which will trigger onclick() of the component)
pass it into some javascript by writing it out into a variable or what
not. then use any 3rd party ajax lib to make the call, or use wicket's
js - have a look in wicket-ajax.js.

-igor

On Sat, Jul 4, 2009 at 4:32 PM, Mathias
Nilsson<wicket.program...@gmail.com> wrote:
>
> Thanks!
>
> I know what to do not just how it could be done
>
> "You have it trigger a Wicket AJAX call to the server on a
> behavior"
>
> How does this work?
> --
> View this message in context: 
> http://www.nabble.com/Wicket-and-javascript-tp24336438p24338948.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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

Reply via email to