onSelectionChanged(Object newSelection) Template method that can be overriden by clients that implement
IOnChangeListener to be notified by onChange events of a select element.
This method does nothing by default.
Called when a option is selected of a dropdown list that wants to be
notified of this event.
wantOnSelectionChangedNotifications() Whether this component's onSelectionChanged event handler should called
using javascript if the selection changes.
Template method that can be overriden by clients that implement
IOnChangeListener to be notified by onChange events of a select element.
This method does nothing by default.
Called when a option is selected of a dropdown list that wants to be
notified of this event. This method is to be implemented by clients that
want to be notified of selection events.
Parameters: newSelection - The newly selected object of the backing model NOTE this isthe same as you would get by calling getModelObject() if thenew selection were current
supportsPersistence
final protected boolean supportsPersistence()(Code)
Whether this component's onSelectionChanged event handler should called
using javascript if the selection changes. If true, a roundtrip will be
generated with each selection change, resulting in the model being
updated (of just this component) and onSelectionChanged being called.
This method returns false by default.
True if this component's onSelectionChanged event handler shouldcalled using javascript if the selection changes
Fields inherited from wicket.markup.html.form.FormComponent