Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12293

Add support for Nested Documents in the Download Action

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Implementation note: We should stop having Actions do the parsing of the URL and instead use the already parsed reference which can be retrieved with:

      ResourceReference resourceReference = Utils.getComponent(ResourceReferenceManager.class).getResourceReference();
      EntityResourceReference entityResource = (EntityResourceReference) resourceReference;
      entityResource.getEntityReference()...
      

      Note that ideally the Actions would need to be rewritten by implementing ResourceReferenceHandler<EntityResourceAction>.

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h