org.apache.cocoon.forms.event
Class DeferredValueChangedEvent
java.lang.Object
java.util.EventObject
org.apache.cocoon.forms.event.WidgetEvent
org.apache.cocoon.forms.event.ValueChangedEvent
org.apache.cocoon.forms.event.DeferredValueChangedEvent
- All Implemented Interfaces:
- Serializable
public class DeferredValueChangedEvent
- extends ValueChangedEvent
A ValueChangedEvent
that defers getting the new value from the widget
until it's actually requested.
This allows widget validity to be checked only if a listener actually uses the
value, thus avoiding unnecessary validation warnings when a user clicks an action.
- Version:
- $Id: DeferredValueChangedEvent.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- See Also:
- Serialized Form
DeferredValueChangedEvent
public DeferredValueChangedEvent(Widget source,
Object oldValue)
getNewValue
public Object getNewValue()
- Overrides:
getNewValue
in class ValueChangedEvent
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.