Class HtmlCommandScript

    • Field Detail

      • COMPONENT_TYPE

        public static final java.lang.String COMPONENT_TYPE

        The standard component type for this component.

        See Also:
        Constant Field Values
    • Constructor Detail

      • HtmlCommandScript

        public HtmlCommandScript​()
    • Method Detail

      • isAutorun

        public boolean isAutorun​()

        Return the value of the autorun property.

        Returns:
        the property value

        Contents: Whether to execute declared JavaScript function during load event of the window. Defaults to false.

      • setAutorun

        public void setAutorun​(boolean autorun)

        Set the value of the autorun property.

        Parameters:
        autorun - the new property value
      • getExecute

        public java.lang.String getExecute​()

        Return the value of the execute property.

        Returns:
        the property value

        Contents: This is a space separated list of client identifiers of components that will participate in the "execute" portion of the Request Processing Lifecycle. If a literal is specified the identifiers must be space delimited. Any of the keywords "@this", "@form", "@all", "@none" may be specified in the identifier list. If not specified, the default value of "@this" is assumed. For example, @this clientIdOne clientIdTwo.

      • setExecute

        public void setExecute​(java.lang.String execute)

        Set the value of the execute property.

        Parameters:
        execute - the new property value
      • getName

        public java.lang.String getName​()

        Return the value of the name property.

        Returns:
        the property value

        Contents: Name of JavaScript function to be declared, e.g. name="functionName". This can be a namespaced function name, e.g. name="ez.functionName".

      • setName

        public void setName​(java.lang.String name)

        Set the value of the name property.

        Parameters:
        name - the new property value
      • getOnerror

        public java.lang.String getOnerror​()

        Return the value of the onerror property.

        Returns:
        the property value

        Contents: The name of the JavaScript function that will handle errors.

      • setOnerror

        public void setOnerror​(java.lang.String onerror)

        Set the value of the onerror property.

        Parameters:
        onerror - the new property value
      • getOnevent

        public java.lang.String getOnevent​()

        Return the value of the onevent property.

        Returns:
        the property value

        Contents: The name of the JavaScript function that will handle UI events.

      • setOnevent

        public void setOnevent​(java.lang.String onevent)

        Set the value of the onevent property.

        Parameters:
        onevent - the new property value
      • getRender

        public java.lang.String getRender​()

        Return the value of the render property.

        Returns:
        the property value

        Contents: This is a space separated list of client identifiers of components that will participate in the "render" portion of the Request Processing Lifecycle. If a literal is specified the identifiers must be space delimited. Any of the keywords "@this", "@form", "@all", "@none" may be specified in the identifier list. If not specified, the default value of "@none" is assumed. For example, @this clientIdOne clientIdTwo.

      • setRender

        public void setRender​(java.lang.String render)

        Set the value of the render property.

        Parameters:
        render - the new property value
      • getResetValues

        public java.lang.Boolean getResetValues​()

        Return the value of the resetValues property.

        Returns:
        the property value

        Contents: Reset specific input values. Interpret the value of the render attribute as a space separated list of client identifiers suitable for passing directly to UIViewRoot.resetValues(). The implementation must cause an ActionListener to be attached to the ActionSource component in which this tag is nested that calls UIViewRoot.resetValues() passing the value of the render attribute as the argument.

      • setResetValues

        public void setResetValues​(java.lang.Boolean resetValues)

        Set the value of the resetValues property.

        Parameters:
        resetValues - the new property value