org.jboss.seam.faces
Class Navigator
java.lang.Object
org.jboss.seam.faces.Navigator
- Direct Known Subclasses:
- ExceptionHandler, NavigationHandler
public abstract class Navigator
- extends Object
Method Summary |
protected static void |
addFacesMessage(String message,
javax.faces.application.FacesMessage.Severity severity,
String control,
Object... params)
|
protected void |
error(int code,
String message)
Send an error. |
protected static String |
getDisplayMessage(Exception e,
String message)
|
protected void |
redirect(String viewId,
Map<String,Object> parameters)
|
protected void |
redirect(String viewId,
Map<String,Object> parameters,
boolean includePageParams)
Redirect to the view id. |
protected void |
redirectExternal(String url)
|
protected void |
render(String viewId)
Render the view id. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Navigator
public Navigator()
error
protected void error(int code,
String message)
- Send an error.
redirectExternal
protected void redirectExternal(String url)
redirect
protected void redirect(String viewId,
Map<String,Object> parameters)
redirect
protected void redirect(String viewId,
Map<String,Object> parameters,
boolean includePageParams)
- Redirect to the view id.
render
protected void render(String viewId)
- Render the view id.
getDisplayMessage
protected static String getDisplayMessage(Exception e,
String message)
addFacesMessage
protected static void addFacesMessage(String message,
javax.faces.application.FacesMessage.Severity severity,
String control,
Object... params)