Hello.If I understand you correctly you talking about WEB UI and you want to
add new column with version number of document, the simplest way is to
modify documents_table.xhtml in your plugin and add to table something like:
      <!--  Version number -->
      <h:column>
        <f:facet name="header">
          <h:panelGroup>
            <h:outputText
value="#{messages['label.content.header.versionLabel']}" />
          </h:panelGroup>
        </f:facet>

        <h:outputText value="#{versioningManager.getVersionLabel(row.data)}"
rendered="#{row.data.hasSchema('uid')}"/>

      </h:column>
Then version number will be visible in all documents list (not only in
workspace and section, but in folder, too)
In order to change view only for given "Folderish" you should filter tabs
like TAB_CONTENT for desired types and contribute new only for them - see
this 
/nuxeo-dm/nuxeo-platform-webapp-core/src/main/resources/OSGI-INF/actions-contrib.xml
:146

    <action id="TAB_CONTENT" link="/incl/tabs/document_content.xhtml"
order="10"
      label="action.view.content" icon="/icons/file.gif">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>view_content</filter-id>
      <filter-id>outSection</filter-id>
    </action>

    <action id="TAB_SECTION_CONTENT" link="/incl/tabs/section_content.xhtml"
      order="10" label="action.view.content" icon="/icons/file.gif">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>view_content</filter-id>
      <filter-id>inSection</filter-id>
    </action>

Good luck!


On Wed, May 27, 2009 at 12:42 AM, Carlos Barbiero
<[email protected]>wrote:

> Hi All,
>
> Its any way to show the versioning in the documents list of a
> workspace or a section? Actually show Modified, Author and state. How
> can I do this?
>
> Thanks All.
>
>
> --
> Lic. Carlos Barbiero
> IPCorp Software
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to