org.jboss.seam.navigation
Class RedirectNavigationHandler

java.lang.Object
  extended by org.jboss.seam.faces.Navigator
      extended by org.jboss.seam.navigation.NavigationHandler
          extended by org.jboss.seam.navigation.RedirectNavigationHandler

public final class RedirectNavigationHandler
extends NavigationHandler

Metadata for a <redirect/> in pages.xml

Author:
Gavin King

Constructor Summary
RedirectNavigationHandler(Expressions.ValueExpression<String> viewId, Expressions.ValueExpression<String> url, List<Param> params, String message, javax.faces.application.FacesMessage.Severity severity, String control)
           
 
Method Summary
 boolean navigate(javax.faces.context.FacesContext context)
          Go ahead and execute the navigation rule.
 
Methods inherited from class org.jboss.seam.faces.Navigator
addFacesMessage, error, getDisplayMessage, redirect, redirectExternal, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectNavigationHandler

public RedirectNavigationHandler(Expressions.ValueExpression<String> viewId,
                                 Expressions.ValueExpression<String> url,
                                 List<Param> params,
                                 String message,
                                 javax.faces.application.FacesMessage.Severity severity,
                                 String control)
Method Detail

navigate

public boolean navigate(javax.faces.context.FacesContext context)
Description copied from class: NavigationHandler
Go ahead and execute the navigation rule.

Specified by:
navigate in class NavigationHandler