org.springframework.web.servlet.tags.form

Class AbstractHtmlElementTag

    • Constructor Detail

      • AbstractHtmlElementTag

        public AbstractHtmlElementTag()
    • Method Detail

      • setCssClass

        public void setCssClass(java.lang.String cssClass)
        Set the value of the 'class' attribute. May be a runtime expression.
      • getCssClass

        @Nullable
        protected java.lang.String getCssClass()
        Get the value of the 'class' attribute. May be a runtime expression.
      • setCssErrorClass

        public void setCssErrorClass(java.lang.String cssErrorClass)
        The CSS class to use when the field bound to a particular tag has errors. May be a runtime expression.
      • getCssErrorClass

        @Nullable
        protected java.lang.String getCssErrorClass()
        The CSS class to use when the field bound to a particular tag has errors. May be a runtime expression.
      • setCssStyle

        public void setCssStyle(java.lang.String cssStyle)
        Set the value of the 'style' attribute. May be a runtime expression.
      • getCssStyle

        @Nullable
        protected java.lang.String getCssStyle()
        Get the value of the 'style' attribute. May be a runtime expression.
      • setLang

        public void setLang(java.lang.String lang)
        Set the value of the 'lang' attribute. May be a runtime expression.
      • getLang

        @Nullable
        protected java.lang.String getLang()
        Get the value of the 'lang' attribute. May be a runtime expression.
      • setTitle

        public void setTitle(java.lang.String title)
        Set the value of the 'title' attribute. May be a runtime expression.
      • getTitle

        @Nullable
        protected java.lang.String getTitle()
        Get the value of the 'title' attribute. May be a runtime expression.
      • setDir

        public void setDir(java.lang.String dir)
        Set the value of the 'dir' attribute. May be a runtime expression.
      • getDir

        @Nullable
        protected java.lang.String getDir()
        Get the value of the 'dir' attribute. May be a runtime expression.
      • setTabindex

        public void setTabindex(java.lang.String tabindex)
        Set the value of the 'tabindex' attribute. May be a runtime expression.
      • getTabindex

        @Nullable
        protected java.lang.String getTabindex()
        Get the value of the 'tabindex' attribute. May be a runtime expression.
      • setOnclick

        public void setOnclick(java.lang.String onclick)
        Set the value of the 'onclick' attribute. May be a runtime expression.
      • getOnclick

        @Nullable
        protected java.lang.String getOnclick()
        Get the value of the 'onclick' attribute. May be a runtime expression.
      • setOndblclick

        public void setOndblclick(java.lang.String ondblclick)
        Set the value of the 'ondblclick' attribute. May be a runtime expression.
      • getOndblclick

        @Nullable
        protected java.lang.String getOndblclick()
        Get the value of the 'ondblclick' attribute. May be a runtime expression.
      • setOnmousedown

        public void setOnmousedown(java.lang.String onmousedown)
        Set the value of the 'onmousedown' attribute. May be a runtime expression.
      • getOnmousedown

        @Nullable
        protected java.lang.String getOnmousedown()
        Get the value of the 'onmousedown' attribute. May be a runtime expression.
      • setOnmouseup

        public void setOnmouseup(java.lang.String onmouseup)
        Set the value of the 'onmouseup' attribute. May be a runtime expression.
      • getOnmouseup

        @Nullable
        protected java.lang.String getOnmouseup()
        Get the value of the 'onmouseup' attribute. May be a runtime expression.
      • setOnmouseover

        public void setOnmouseover(java.lang.String onmouseover)
        Set the value of the 'onmouseover' attribute. May be a runtime expression.
      • getOnmouseover

        @Nullable
        protected java.lang.String getOnmouseover()
        Get the value of the 'onmouseover' attribute. May be a runtime expression.
      • setOnmousemove

        public void setOnmousemove(java.lang.String onmousemove)
        Set the value of the 'onmousemove' attribute. May be a runtime expression.
      • getOnmousemove

        @Nullable
        protected java.lang.String getOnmousemove()
        Get the value of the 'onmousemove' attribute. May be a runtime expression.
      • setOnmouseout

        public void setOnmouseout(java.lang.String onmouseout)
        Set the value of the 'onmouseout' attribute. May be a runtime expression.
      • getOnmouseout

        @Nullable
        protected java.lang.String getOnmouseout()
        Get the value of the 'onmouseout' attribute. May be a runtime expression.
      • setOnkeypress

        public void setOnkeypress(java.lang.String onkeypress)
        Set the value of the 'onkeypress' attribute. May be a runtime expression.
      • getOnkeypress

        @Nullable
        protected java.lang.String getOnkeypress()
        Get the value of the 'onkeypress' attribute. May be a runtime expression.
      • setOnkeyup

        public void setOnkeyup(java.lang.String onkeyup)
        Set the value of the 'onkeyup' attribute. May be a runtime expression.
      • getOnkeyup

        @Nullable
        protected java.lang.String getOnkeyup()
        Get the value of the 'onkeyup' attribute. May be a runtime expression.
      • setOnkeydown

        public void setOnkeydown(java.lang.String onkeydown)
        Set the value of the 'onkeydown' attribute. May be a runtime expression.
      • getOnkeydown

        @Nullable
        protected java.lang.String getOnkeydown()
        Get the value of the 'onkeydown' attribute. May be a runtime expression.
      • getDynamicAttributes

        @Nullable
        protected java.util.Map<java.lang.String,java.lang.Object> getDynamicAttributes()
        Get the map of dynamic attributes.
      • isValidDynamicAttribute

        protected boolean isValidDynamicAttribute(java.lang.String localName,
                                                  java.lang.Object value)
        Whether the given name-value pair is a valid dynamic attribute.
      • resolveCssClass

        protected java.lang.String resolveCssClass()
                                            throws JspException
        Gets the appropriate CSS class to use based on the state of the current BindStatus object.
        Throws:
        JspException