|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.NavigationHandler
org.apache.shale.dialog.faces.DialogNavigationHandler
public final class DialogNavigationHandler
NavigationHandler implementation that allows dialogs to
be created via a logical outcome that returns with a specified prefix.
This is not the only way to start a dialog instance (applications can also
do this programmatically), but it is convenient in many cases.
| Constructor Summary | |
|---|---|
DialogNavigationHandler(javax.faces.application.NavigationHandler original)
Creates a new instance of DialogNavigationHandler that delegates to the specified original handler. |
|
| Method Summary | |
|---|---|
void |
handleNavigation(javax.faces.context.FacesContext context,
String fromAction,
String outcome)
Handle a navigation request from the application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DialogNavigationHandler(javax.faces.application.NavigationHandler original)
Creates a new instance of DialogNavigationHandler that delegates to the specified original handler.
original - Original NavigationHandler| Method Detail |
|---|
public void handleNavigation(javax.faces.context.FacesContext context,
String fromAction,
String outcome)
Handle a navigation request from the application. The following rules are applied:
DialogContext instance:
Constants.DIALOG_PREFIX_PARAM (with a default
value of Constants.DIALOG_PREFIX), create and start
a new DialogContext instance for a logical name
based on the remainder of the logical outcome after the
prefix.DialogContext
instance, advance its progress based on the specified logical
outcome.
handleNavigation in class javax.faces.application.NavigationHandlercontext - FacesContext for the current requestfromAction - Action that was invokedoutcome - Logical outcome from the invoked action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||