Re: Which Check got clicked in CheckGroup with AjaxFormChoiceComponentUpdatingBehavior

2017-06-24 Thread Tom Götz
Simply check the modelObject’s value in you onUpdate method?

Cheers,
   Tom


> On 23.06.2017, at 13:47, ssamarin  wrote:
> 
> Hello,
> 
> I have CheckGroup with Check's, and I need to have models for Check's
> updated on click, on form submit it's too late. 
> 
> So far I've seen recommendations to use
> AjaxFormChoiceComponentUpdatingBehavior. It does get invoked on every click,
> but how do I determine which checkbox got clicked?
> 
> Regards


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



Which Check got clicked in CheckGroup with AjaxFormChoiceComponentUpdatingBehavior

2017-06-23 Thread ssamarin
Hello,

I have CheckGroup with Check's, and I need to have models for Check's
updated on click, on form submit it's too late. 

So far I've seen recommendations to use
AjaxFormChoiceComponentUpdatingBehavior. It does get invoked on every click,
but how do I determine which checkbox got clicked?

Regards

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Which-Check-got-clicked-in-CheckGroup-with-AjaxFormChoiceComponentUpdatingBehavior-tp4678142.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