|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.logicaldoc.web.MultiPageMessagesSupport
public class MultiPageMessagesSupport
Enables messages to be rendered on different pages from which they were set.
To produce this behaviour, this class acts as a PhaseListener
.
This is performed by moving the FacesMessage objects:
lifecycle
block to your faces-config.xml file. That block
should contain a single phase-listener
block containing the
fully-qualified classname of this file.
Constructor Summary | |
---|---|
MultiPageMessagesSupport()
|
Method Summary | |
---|---|
void |
afterPhase(javax.faces.event.PhaseEvent event)
Handle a notification that the processing for a particular phase has just been completed. |
void |
beforePhase(javax.faces.event.PhaseEvent event)
Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin. |
javax.faces.event.PhaseId |
getPhaseId()
Return the identifier of the request processing phase during which this listener is interested in processing PhaseEvent events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiPageMessagesSupport()
Method Detail |
---|
public javax.faces.event.PhaseId getPhaseId()
getPhaseId
in interface javax.faces.event.PhaseListener
public void beforePhase(javax.faces.event.PhaseEvent event)
beforePhase
in interface javax.faces.event.PhaseListener
public void afterPhase(javax.faces.event.PhaseEvent event)
afterPhase
in interface javax.faces.event.PhaseListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |