Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-20274

Make real request and response objects available during Word export

    XMLWordPrintable

Details

    • 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.

    Description

      Currently in the Word export, the request object is a stub that doesn't include the parameters which are passed to the Word servlet.

      We can improve this by setting the ServletActionContext request and response objects appropriately. These will be picked up by macros and other code using VelocityUtils in the page rendering.

      A patch for Confluence 3.0 and later is attached. To install it, put ExportWordPageServer.class and ExportWordPageServer$1.class into confluence/WEB-INF/classes/com/atlassian/confluence/servlet/, creating that directory if it doesn't already exist.

      Attachments

        Activity

          People

            matt@atlassian.com Matt Ryall
            matt@atlassian.com Matt Ryall
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: