hi Martin
I tried your code but had issues with it (bound to jetty + to instances
of IOnChangeListener)).
However, it made me look directly into
AjaxFormComponentUpdatingBehavior.onEvent(..), where I ended keeping
only formComponent.inputChanged(); .
But then other issues started to rise:
Martin Makundi wrote:
Here:
(..)
looks promising, thanks a lot
I'll test it on Monday (week end calling soon and.. urgent stuff to do
in between)
thanks again :)
++
joseph
-
To unsubscribe, e-mail: users-unsubscr...@wic
Here:
/**
* Submits form without validating it.
*
* @author Martin
*/
public abstract class AjaxFormSubmittingChangeListenerBehavior extends
AjaxFormSubmitBehavior {
private final static Method hiddenFieldGetter;
static {
try {
hiddenFieldGetter = Form.class.getDeclaredMethod
Igor Vaynberg wrote:
there is ajaxformsubmitting behavior which will update the entire form
-igor
thanks
however, that's not exactly my need, being just recording the user input
(not to loose it) without validating. Is there no way around, like a
hook from Ajax to act only on some compone
there is ajaxformsubmitting behavior which will update the entire form
-igor
On Fri, Apr 23, 2010 at 8:01 AM, Joseph Pachod wrote:
> hi
>
> I just stumbled upon that AjaxFormComponentUpdatingBehavior directly updates
> the backing model, providing the component validates itself.
>
> This was qui
hi
I just stumbled upon that AjaxFormComponentUpdatingBehavior directly
updates the backing model, providing the component validates itself.
This was quite unexpected.
Indeed, if I've two RequiredTextFields with one valid and the other not,
submitting this form won't update the backing model