public class MyfacesConfig
extends java.lang.Object
| Constructor and Description |
|---|
MyfacesConfig() |
| Modifier and Type | Method and Description |
|---|---|
static MyfacesConfig |
getCurrentInstance(javax.faces.context.ExternalContext extCtx) |
boolean |
isAllowJavascript()
Do not use this in renderers directly!
|
boolean |
isAutoScroll() |
boolean |
isDetectJavascript() |
boolean |
isPrettyHtml() |
void |
setAllowJavascript(boolean allowJavascript) |
void |
setAutoScroll(boolean autoScroll) |
void |
setDetectJavascript(boolean detectJavascript) |
void |
setPrettyHtml(boolean prettyHtml) |
public static MyfacesConfig getCurrentInstance(javax.faces.context.ExternalContext extCtx)
public boolean isPrettyHtml()
public void setPrettyHtml(boolean prettyHtml)
public boolean isDetectJavascript()
public void setDetectJavascript(boolean detectJavascript)
public boolean isAllowJavascript()
JavascriptUtils.isJavascriptAllowed(javax.faces.context.ExternalContext)
to determine if javascript is allowed or not.public void setAllowJavascript(boolean allowJavascript)
public boolean isAutoScroll()
public void setAutoScroll(boolean autoScroll)