XMLWordPrintable

    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Efficiency of submitting and retrieving (expanding) of Comments, dynamic functionality, can be improved by using Ajax. At the moment, any comments-actions force to reload the entire page. The left-hand navigation side bar has a nifty ajax func expanding sub-section of the tree on-demand.

      xwork.xml

      <action name="doaddcomment" class="com.atlassian.confluence.pages.actions.AddCommentAction">
                  <result name="error" type="velocity">/pages/addcomment-preview.vm</result>
                  <result name="input" type="velocity">/pages/addcomment-preview.vm</result>
                  <result name="viewpage" type="redirect">${@com.atlassian.confluence.util.GeneralUtil@customGetPageUrl(page)}showMarkup=${showMarkup}#comments</result>
                  <result name="cancel" type="redirect">${@com.atlassian.confluence.util.GeneralUtil@customGetPageUrl(page)}#comments</result>
                  <result name="cancel-to-parent" type="redirect">${@com.atlassian.confluence.util.GeneralUtil@customGetPageUrl(page)}focusedCommentId=${parentId}#comment-${parentId}</result>
                  <result name="success" type="redirect">${@com.atlassian.confluence.util.GeneralUtil@customGetPageUrl(page)}focusedCommentId=${comment.id}#comment-${comment.id}</result>
                  <result name="preview" type="velocity">/pages/addcomment-preview.vm</result>
              </action>
      

              Unassigned Unassigned
              ivan@atlassian.com Ivan Benko [Atlassian]
              Votes:
              13 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: