This event is queued when a popup is unexpectedly closed or by invoking the cancel method on the AdfRichPopup component. This event has optimized delivery and will only propragate to the server if there are server-side listeners registered with the popup component. The event is also marked for discrete delivery. This event has an event root of the popup and will not clear any client messages.
public AdfPopupCanceledEvent(AdfRichPopup source,
boolean resetEditableValues)
This event is queued when a popup is unexpectedly closed or by invoking the cancel method on the AdfRichPopup component. This event has optimized delivery and will only propragate to the server if there are server-side listeners registered with the popup component. The event is also marked for discrete delivery. This event has an event root of the popup and will not clear any client messages.
Parameters:
source
-
popup component
resetEditableValues
-
true if the canceled event should reset input values within the popup's content
By default page level messages are cleared (before new messages added) when returning from the server. Subclasses should returns false from this method if page level messages should not be cleared. This method returns true by default. Messages will still be cleared unless all the queued client events return false from this method.
Return:
boolean - prevents all faces messages from gettting cleared after processing this event server-side
Returns true if the this event should propagate to the server.
Return:
Boolean - null true if the this event should propagate to the server. The return value depends on if there are server-side listeners registered for this event type or, if the event should result in resetting input component's values.