What about OnChangeAjaxBehavior#EVENT_NAME's javadoc? Isn't that sufficient?

Sven

On 01/21/2013 08:53 PM, Ondrej Zizka wrote:
Hi all,

guessing from a name, I would expect these two to do the same:

        link.add( new OnChangeAjaxBehavior() {
@Override protected void onUpdate( AjaxRequestTarget target ) {
                ReleaseTraitRowPanel.this.onUpdate( target );
            }
        });

        link.add( new AjaxFormComponentUpdatingBehavior("onchange"){
@Override protected void onUpdate( AjaxRequestTarget target ) {
                ReleaseTraitRowPanel.this.onUpdate( target );
            }
        } );

However, the first one reacts (and sends AJAX request) on each keypress.
Could this info be added to the javadoc of OnChangeAjaxBehavior?

Thanks,
Ondra

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to