Class JavascriptUtils
- java.lang.Object
-
- org.apache.myfaces.renderkit.html.util.JavascriptUtils
-
public final class JavascriptUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
encodeString(String string)
static String
getValidJavascriptName(String s, boolean checkForReservedWord)
static String
getValidJavascriptNameAsInRI(String origIdentifier)
Don't use this function - except when compatibility with the RI is a must, as in the name for the clear form parameters script.static boolean
isRenderClearJavascriptOnButton(ExternalContext externalContext)
-
-
-
Method Detail
-
getValidJavascriptNameAsInRI
public static String getValidJavascriptNameAsInRI(String origIdentifier)
Don't use this function - except when compatibility with the RI is a must, as in the name for the clear form parameters script.
-
getValidJavascriptName
public static String getValidJavascriptName(String s, boolean checkForReservedWord)
-
isRenderClearJavascriptOnButton
public static boolean isRenderClearJavascriptOnButton(ExternalContext externalContext)
-
-