public class FacesConfigValidator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
VALIDATE_CONTEXT_PARAM
Validate if the managed beans and navigations rules are correct.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
validate(Collection<? extends ManagedBean> managedBeans,
Collection<? extends NavigationRule> navRules,
ExternalContext ctx) |
static List<String> |
validate(ExternalContext ctx) |
@JSFWebConfigParam(since="2.0", defaultValue="false", expectedValues="true, false") public static final String VALIDATE_CONTEXT_PARAM
For example, it checks if the managed bean classes really exists, or if the navigation rules points to existing view files.
public static List<String> validate(ExternalContext ctx)
public static List<String> validate(Collection<? extends ManagedBean> managedBeans, Collection<? extends NavigationRule> navRules, ExternalContext ctx)
Copyright © 2020 The Apache Software Foundation. All rights reserved.