org.apache.myfaces.config
Class MyfacesConfig
java.lang.Object
org.apache.myfaces.config.MyfacesConfig
public class MyfacesConfig
extends java.lang.Object
Holds all configuration init parameters (from web.xml) that are independent
from the core implementation. The parameters in this class are available to
all shared, component and implementation classes.
See RuntimeConfig for configuration infos that come from the faces-config
files and are needed by the core implementation.
getCurrentInstance
public static MyfacesConfig getCurrentInstance(ExternalContext extCtx)
isAllowJavascript
public boolean isAllowJavascript()
isAutoScroll
public boolean isAutoScroll()
isDetectJavascript
public boolean isDetectJavascript()
isPrettyHtml
public boolean isPrettyHtml()
setAllowJavascript
public void setAllowJavascript(boolean allowJavascript)
setAutoScroll
public void setAutoScroll(boolean autoScroll)
setDetectJavascript
public void setDetectJavascript(boolean detectJavascript)
setPrettyHtml
public void setPrettyHtml(boolean prettyHtml)