|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shale.dialog.faces.DialogPhaseListener
public final class DialogPhaseListener
Phase listener that saves and restores the dialog identifier for the
currently active dialog, if any. Based on the presence of certain
request parameters, it can also cause a new DialogContext
instance to be created and started, optionally associated with a parent
DialogContext instance also belonging to the same user.
| Constructor Summary | |
|---|---|
DialogPhaseListener()
Creates a new instance of DialogPhaseListener. |
|
| Method Summary | |
|---|---|
void |
afterPhase(javax.faces.event.PhaseEvent event)
After the Restore View phase, retrieve the current dialog identifier (if any), and restore the corresponding DialogContext. |
void |
beforePhase(javax.faces.event.PhaseEvent event)
Before the Render Response phase, acquire the current dialog identifier (if any), and store it in the view. |
javax.faces.event.PhaseId |
getPhaseId()
Return the phase identifier we are interested in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DialogPhaseListener()
Creates a new instance of DialogPhaseListener.
| Method Detail |
|---|
public javax.faces.event.PhaseId getPhaseId()
Return the phase identifier we are interested in.
getPhaseId in interface javax.faces.event.PhaseListenerpublic void afterPhase(javax.faces.event.PhaseEvent event)
After the Restore View phase, retrieve the current
dialog identifier (if any), and restore the corresponding
DialogContext. If this view is not currently executing
a DialogContext instance, optionally create a new
instance based o the presence of request parameters.
afterPhase in interface javax.faces.event.PhaseListenerevent - The phase event to be processedpublic void beforePhase(javax.faces.event.PhaseEvent event)
Before the Render Response phase, acquire the current dialog identifier (if any), and store it in the view.
beforePhase in interface javax.faces.event.PhaseListenerevent - The phase event to be processed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||