Class CommentTag

  • All Implemented Interfaces:
    Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

    public class CommentTag
    extends CommentWidget
    A tag that renders both an edition form for adding new comments and a list of available comments on a given resource.
    See Also:
    Serialized Form
    • Constructor Detail

      • CommentTag

        public CommentTag()
    • Method Detail

      • setIndexed

        public void setIndexed​(String indexed)
        Indicates whether new comments should be indexed.
        Parameters:
        indexed - a flag indicating the indexation of comments.
      • doStartTag

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