-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.10
-
Component/s: Publishing, Seam / JSF UI
-
Release Notes Summary:The publication tab can be customized and can refresh automatically
-
Tags:
-
Backlog priority:300
-
Team:AT
-
Sprint:nxAT Sprint 9.3.7
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"