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 voidappendClearHiddenCommandFormParamsFunctionCall(StringBuilder buf, String formName)static StringgetClearHiddenCommandFormParamsFunctionName(String formName)Prefixes the given String with "clear_" and removes special charactersstatic StringgetClearHiddenCommandFormParamsFunctionNameMyfacesLegacy(String formName)static voidrenderFormSubmitScript(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
-
-