Class CommentEditionTag

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

    public class CommentEditionTag
    extends CommentWidget
    A tag for displaying an edition form for creating a new comment.
    See Also:
    Serialized Form
    • Constructor Detail

      • CommentEditionTag

        public CommentEditionTag()
    • Method Detail

      • isCommentsIndexed

        public boolean isCommentsIndexed()
        Is new comments should be indexed? By default, new comments are indexed.
        Returns:
        true if the comments should be indexed, false otherwise.
      • 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
      • getCommentEditionScript

        protected String getCommentEditionScript()
        Gets the instructions for rendering the edition form for adding new comments.
        Returns:
        the rendering instructions.