Class HtmlJavaScriptUtils

java.lang.Object
org.apache.myfaces.renderkit.html.util.HtmlJavaScriptUtils

public final class HtmlJavaScriptUtils extends Object
  • Constructor Details

    • HtmlJavaScriptUtils

      public HtmlJavaScriptUtils()
  • Method Details

    • 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
    • getClearHiddenCommandFormParamsFunctionNameMyfacesLegacy

      public static String getClearHiddenCommandFormParamsFunctionNameMyfacesLegacy(String formName)