Class TextArea


public class TextArea extends UIBean

Render HTML textarea tag.

Examples

 
 <s:textarea label="Comments" name="comments" cols="30" rows="8"/>
 
 
  • Field Details

  • Constructor Details

    • TextArea

      public TextArea(ValueStack stack, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
  • Method Details

    • getDefaultTemplate

      protected String getDefaultTemplate()
      Description copied from class: UIBean
      A contract that requires each concrete UI Tag to specify which template should be used as a default. For example, the CheckboxTab might return "checkbox.vm" while the RadioTag might return "radio.vm". This value not begin with a '/' unless you intend to make the path absolute rather than relative to the current theme.
      Specified by:
      getDefaultTemplate in class UIBean
      Returns:
      The name of the template to be used as the default.
    • evaluateExtraParams

      public void evaluateExtraParams()
      Overrides:
      evaluateExtraParams in class UIBean
    • setCols

      public void setCols(String cols)
    • setReadonly

      public void setReadonly(String readonly)
    • setRows

      public void setRows(String rows)
    • setWrap

      public void setWrap(String wrap)
    • setMaxlength

      public void setMaxlength(String maxlength)
    • setMinlength

      public void setMinlength(String minlength)