You turn your hidden field into a Wicket FormComponent and then add it to
your button's ajax request target :)

Just because is hidden, it doesn't have to be treated any different. But
don't confuse a hidden field with a Wicket visible field.

~ Thak you,
   Paul Bors

On Mon, Feb 11, 2013 at 3:25 PM, Entropy <blmulholl...@gmail.com> wrote:

> I have a javascript component that updates a HiddenField.  Then I want to
> submit to the server via an AjaxButton.  It all works fine until I try to
> get the value of the hiddenField which evidently did NOT hitch a ride on
> the
> Ajax request.  How do I get the hiddenfield to join the ajax request?
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/AjaxButton-and-a-HiddenField-tp4656246.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
>
>

Reply via email to