When I started to use Wicket, I stumbled over that feature as well
- and reading Javadoc I often skip the Field Summary until I need
the specific fields. OTOH, I learned quickly that
OnChangeAjaxBehavior() is often not the behavior I want and won't
forget it... :-)
Best,
Joachim
Sven Meier wrote:
> 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]
>
>
Joachim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod, Roedermark, Germany
Email: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]