Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23103

Make the publication tab more generic to allow both its customization and refresh automatically

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The publication tab can be customized and can refresh automatically
    • Backlog priority:
      300
    • Team:
      AT
    • Sprint:
      nxAT Sprint 9.3.7

      Description

      The goal is to customize a publication tab and still get it to refresh automatically:
      A Studio tab is created, made of a container containing a template (nuxeo/nuxeo-features/nuxeo-platform-rendition/nuxeo-platform-rendition-publisher/src/main/resources/web/nuxeo.war/incl/tabs/document_publish.xhtml copied as widgets/document_publish.xhtml) and a form layout.
      With this setup, one observes that the tab content is not refreshed upon publishing/depublishing the document.

      To ensure the tab content to be refreshed automatically upon publishing/unpublishing the document, one solution found is to replace in 3 places in nxserver/nuxeo.war/incl/tabs/document_publish_template.xhtml

      render=":publishTreeForm:publishingInfoList facesStatusMessagePanel"
      

      with

      render="@form facesStatusMessagePanel"
      

        Attachments

          Activity

            People

            • 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 - 20 minutes
                20m