How to get 'value' of input recognized in HiddenField component?

2010-10-07 Thread dbuttery

Hi all,

I am using a HiddenField to hold the result of some jquery processing
and can see the 'value' changing in the dom (using FireBug).   I am also
able to trigger the onchange event and the HiddenField is notified of the
change (via AjaxEventBehavior).

At that point, however, the HiddenField does not seem to know anything
about the new value ...

How do we get the updated 'value' to be accessible to the HiddenField as
either raw or converted input?

Basically, I need this to act as if a user had manually typed the value
into the field themselves ...

Thanks,
-Dennis
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-get-value-of-input-recognized-in-HiddenField-component-tp2966761p2966761.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



Re: How to get 'value' of input recognized in HiddenField component?

2010-10-07 Thread Igor Vaynberg
use ajaxformcomponentupdatingbehavior, ajaxeventbehavior does not send data over

-igor

On Thu, Oct 7, 2010 at 6:23 AM, dbuttery dbutt...@bplglobal.net wrote:

 Hi all,

    I am using a HiddenField to hold the result of some jquery processing
 and can see the 'value' changing in the dom (using FireBug).   I am also
 able to trigger the onchange event and the HiddenField is notified of the
 change (via AjaxEventBehavior).

    At that point, however, the HiddenField does not seem to know anything
 about the new value ...

    How do we get the updated 'value' to be accessible to the HiddenField as
 either raw or converted input?

    Basically, I need this to act as if a user had manually typed the value
 into the field themselves ...

 Thanks,
 -Dennis
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/How-to-get-value-of-input-recognized-in-HiddenField-component-tp2966761p2966761.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



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



Re: How to get 'value' of input recognized in HiddenField component?

2010-10-07 Thread dbuttery

That was it!!  Works like a charm ...

Thanks Igor!
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-get-value-of-input-recognized-in-HiddenField-component-tp2966761p2967157.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