org.jboss.seam.navigation
Class SafeActions

java.lang.Object
  extended by org.jboss.seam.navigation.SafeActions

@Scope(value=APPLICATION)
@BypassInterceptors
@Name(value="org.jboss.seam.navigation.safeActions")
@Install(precedence=0,
         classDependencies="javax.faces.context.FacesContext")
public class SafeActions
extends Object

Maintains a set of "safe" actions that may be performed by <s:link/>, as determined by actually parsing the view.

Author:
Gavin King

Constructor Summary
SafeActions()
           
 
Method Summary
 void addSafeAction(String id)
           
static SafeActions instance()
           
 boolean isActionSafe(String id)
           
static String toAction(String id)
           
static String toActionId(String viewId, String expression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeActions

public SafeActions()
Method Detail

toActionId

public static String toActionId(String viewId,
                                String expression)

toAction

public static String toAction(String id)

addSafeAction

public void addSafeAction(String id)

isActionSafe

public boolean isActionSafe(String id)

instance

public static SafeActions instance()


Copyright © 2011 Seam Framework. All Rights Reserved.