站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

Navigator (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.core
Class Navigator

java.lang.Object
  extended by org.jboss.seam.core.Navigator
Direct Known Subclasses:
ExceptionHandler, NavigationHandler

public abstract class Navigator
extends Object


Constructor Summary
Navigator()
           
 
Method Summary
protected static void addFacesMessage(String message, javax.faces.application.FacesMessage.Severity severity, 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)
          Redirect to the view id.
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
 

Constructor Detail

Navigator

public Navigator()
Method Detail

error

protected void error(int code,
                     String message)
Send an error.


redirect

protected void redirect(String viewId,
                        Map<String,Object> parameters)
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,
                                      Object... params)