I'm not sure you can get rid of the form but you could use a JavaScript
like:
var url = this.url+ '&textField=' + textField.value;
 wicketAjaxGet(url);

Where this.url is the URL of something implementing ILinkListener. The on
the onLinkClicked of the listener read you parameter for the request and
store the value whenever you need on the server side... I use a similar
trick, for some custom components, to update values at server side, that
will change as the result of some user interaction.

Best,

Ernesto

On Mon, Oct 19, 2009 at 12:50 PM, Peter Arnulf Lustig <uuuuu...@yahoo.de>wrote:

> Hi,
>
> how is it possible to submit TextField Input to the server without having a
> Form (and submit) for this task?
>
> I figured out, that AjaxButton only has onSubmit() Method -- I expected
> also something like onClick --
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to