org.apache.myfaces.config
Class FacesConfigValidator

java.lang.Object
  extended by org.apache.myfaces.config.FacesConfigValidator

public class FacesConfigValidator
extends Object


Field Summary
static String VALIDATE_CONTEXT_PARAM
          Validate if the managed beans and navigations rules are correct.
 
Method Summary
static List<String> validate(Collection<? extends ManagedBean> managedBeans, Collection<? extends NavigationRule> navRules, ExternalContext ctx)
           
static List<String> validate(ExternalContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATE_CONTEXT_PARAM

@JSFWebConfigParam(since="2.0",
                   defaultValue="false",
                   expectedValues="true, false")
public static final String VALIDATE_CONTEXT_PARAM
Validate if the managed beans and navigations rules are correct.

For example, it checks if the managed bean classes really exists, or if the navigation rules points to existing view files.

See Also:
Constant Field Values
Method Detail

validate

public static List<String> validate(ExternalContext ctx)

validate

public static List<String> validate(Collection<? extends ManagedBean> managedBeans,
                                    Collection<? extends NavigationRule> navRules,
                                    ExternalContext ctx)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.