Hi, AjaxLink doesn't submit even when there is a Form. You need AjaxSubmitLink when there is a form.
You can use AjaxLink to submit a value by doing the work "manually" - you can add the name/value pair by using AjaxLink's dynamic extra parameters. See https://github.com/apache/wicket/blob/442932d4e4c5cc27940bc2ef956cb24c1ba54df0/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxNewWindowNotifyingBehavior.java#L92for example Martin Grigorov Wicket Training and Consulting On Mon, Jan 27, 2014 at 4:11 PM, cosmindumy <cosmind...@yahoo.com> wrote: > Hello, > I want to get the value of in input text when pressing when pressing an > ajax > link? > None of the elements are included in a form. Is that possible? Seems that > input value is not submitted to server. > Thanks. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Can-I-get-an-input-text-value-if-it-s-not-in-a-form-tp4663967.html > Sent from the Users forum 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 > >