POLL_EVENT_TYPE

setPartial

Constructor Detail

AdfPollEvent

Method Detail

getClearMessages

public boolean getClearMessages()

If the poll component has the immediate property turned on, return false indicating that messages should not be cleared as part of the response. If the request is immediate, it will bypass the validation phase so the messages should remain. Otherwise, messages are cleared because the validation phase is invoked.

isResponseAnnounced

Indicates whether the response should be announced to assistive technology users. Some assistive technologies (eg. screen readers) do not provide sufficient notification of request/response activity, particularly for Ajax requests that are issued over XmlHttpRequest. ADF Faces attempts to compensate by using a WAI-ARIA live region to notify AT users when partial page responses complete. However, for certain types of repetitive requests, such as polling-related requests, an announcement upon completion of every request would be an annoyance. This method provides a mechanism for indicating that the response to the event should not be announced. Subclasses that wish to suppress announcement of response completion should override this method to return false.