public final class JavascriptUtils extends Object
Modifier and Type | Method and 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) |
public static String getValidJavascriptNameAsInRI(String origIdentifier)
public static String getValidJavascriptName(String s, boolean checkForReservedWord)
public static boolean isRenderClearJavascriptOnButton(ExternalContext externalContext)
Copyright © 2021 The Apache Software Foundation. All rights reserved.