XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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>
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: