Class EditorTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.openxava.web.taglib.EditorTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class EditorTag extends jakarta.servlet.jsp.tagext.TagSupport
Author:
Javier Paniza
See Also:
  • Constructor Details

    • EditorTag

      public EditorTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws jakarta.servlet.jsp.JspException
      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException
    • getProperty

      public String getProperty()
    • setProperty

      public void setProperty(String property)
    • isEditable

      public boolean isEditable()
    • setEditable

      public void setEditable(boolean editable)
    • isThrowPropertyChanged

      public boolean isThrowPropertyChanged()
    • setThrowPropertyChanged

      public void setThrowPropertyChanged(boolean throwPropertyChanged)
    • getViewObject

      public String getViewObject()
      Returns:
      the viewObject
    • setViewObject

      public void setViewObject(String viewObject)
      Parameters:
      viewObject - the viewObject to set
    • getPropertyPrefix

      public String getPropertyPrefix()
      Returns:
      the propertyPrefix
    • setPropertyPrefix

      public void setPropertyPrefix(String propertyPrefix)
      Parameters:
      propertyPrefix - the propertyPrefix to set
    • setValue

      public void setValue(Object value)
    • isReadOnlyAsLabel

      public boolean isReadOnlyAsLabel()
      If true and the property is not editable the value is displayed as formatted text (a label) instead of a disabled editor, when the underlying editor supports it.
      Since:
      8.0
    • setReadOnlyAsLabel

      public void setReadOnlyAsLabel(boolean readOnlyAsLabel)