Class HtmlJavaScriptUtils
- java.lang.Object
-
- org.apache.myfaces.renderkit.html.util.HtmlJavaScriptUtils
-
public final class HtmlJavaScriptUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description HtmlJavaScriptUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
appendClearHiddenCommandFormParamsFunctionCall(StringBuilder buf, String formName)
static String
getClearHiddenCommandFormParamsFunctionName(String formName)
Prefixes the given String with "clear_" and removes special charactersstatic String
getClearHiddenCommandFormParamsFunctionNameMyfacesLegacy(String formName)
static void
renderFormSubmitScript(FacesContext facesContext)
-
-
-
Method Detail
-
renderFormSubmitScript
public static void renderFormSubmitScript(FacesContext facesContext) throws IOException
- Throws:
IOException
-
appendClearHiddenCommandFormParamsFunctionCall
public static void appendClearHiddenCommandFormParamsFunctionCall(StringBuilder buf, String formName)
-
getClearHiddenCommandFormParamsFunctionName
public static String getClearHiddenCommandFormParamsFunctionName(String formName)
Prefixes the given String with "clear_" and removes special characters- Parameters:
formName
-- Returns:
- String
-
-