<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Replace by another field the title in the tree navigation in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/replace-by-another-field-the-title-in-the-tree-navigation/m-p/317397#M4398</link>
    <description>&lt;P&gt;If you want to test quickly :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Start a nuxeo&lt;/LI&gt;
&lt;LI&gt;Enable the development profile (Admin Center &amp;gt; Update Center &amp;gt; Studio &amp;gt; Click on the button)&lt;/LI&gt;
&lt;LI&gt;Restart&lt;/LI&gt;
&lt;LI&gt;In the file $NUXEO_HOME/nxserver/nuxeo.war/incl/tree_explorer.xhtml&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Replace line 47 the following content&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;h:outputText value="#{nxd:titleOrId(node.document)}" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;by the that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;h:outputText value="#{node.document.dublincore.creator}" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you are satisfied :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://doc.nuxeo.com/x/cYKE"&gt;create a bundle project&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;in the src/main/resources/web/nuxeo.war/incl/ copy the modified file&lt;/LI&gt;
&lt;LI&gt;and create a file name deployment-fragment.xml with the following content&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here is the content of the file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;fragment version="1"&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.ecm.webapp.ui&amp;lt;/require&amp;gt;

  &amp;lt;install&amp;gt;
    &amp;lt;!--  unzip the war template --&amp;gt;
    &amp;lt;unzip from="${bundle.fileName}" to="/" prefix="web"&amp;gt;
      &amp;lt;include&amp;gt;web/nuxeo.war/**&amp;lt;/include&amp;gt;
    &amp;lt;/unzip&amp;gt;
  &amp;lt;/install&amp;gt;

&amp;lt;/fragment&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 23 Aug 2013 20:41:54 GMT</pubDate>
    <dc:creator>Benjamin_Jalon1</dc:creator>
    <dc:date>2013-08-23T20:41:54Z</dc:date>
    <item>
      <title>Replace by another field the title in the tree navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/replace-by-another-field-the-title-in-the-tree-navigation/m-p/317396#M4397</link>
      <description>&lt;P&gt;In my application Title is really long and I don't want to expose it into the tree navigation and use my field expressed into the schema mySchema and the field called shortTitle.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2013 20:32:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/replace-by-another-field-the-title-in-the-tree-navigation/m-p/317396#M4397</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2013-08-23T20:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Replace by another field the title in the tree navigation</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/replace-by-another-field-the-title-in-the-tree-navigation/m-p/317397#M4398</link>
      <description>&lt;P&gt;If you want to test quickly :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Start a nuxeo&lt;/LI&gt;
&lt;LI&gt;Enable the development profile (Admin Center &amp;gt; Update Center &amp;gt; Studio &amp;gt; Click on the button)&lt;/LI&gt;
&lt;LI&gt;Restart&lt;/LI&gt;
&lt;LI&gt;In the file $NUXEO_HOME/nxserver/nuxeo.war/incl/tree_explorer.xhtml&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Replace line 47 the following content&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;h:outputText value="#{nxd:titleOrId(node.document)}" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;by the that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;h:outputText value="#{node.document.dublincore.creator}" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you are satisfied :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://doc.nuxeo.com/x/cYKE"&gt;create a bundle project&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;in the src/main/resources/web/nuxeo.war/incl/ copy the modified file&lt;/LI&gt;
&lt;LI&gt;and create a file name deployment-fragment.xml with the following content&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here is the content of the file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;fragment version="1"&amp;gt;

  &amp;lt;require&amp;gt;org.nuxeo.ecm.webapp.ui&amp;lt;/require&amp;gt;

  &amp;lt;install&amp;gt;
    &amp;lt;!--  unzip the war template --&amp;gt;
    &amp;lt;unzip from="${bundle.fileName}" to="/" prefix="web"&amp;gt;
      &amp;lt;include&amp;gt;web/nuxeo.war/**&amp;lt;/include&amp;gt;
    &amp;lt;/unzip&amp;gt;
  &amp;lt;/install&amp;gt;

&amp;lt;/fragment&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Aug 2013 20:41:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/replace-by-another-field-the-title-in-the-tree-navigation/m-p/317397#M4398</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2013-08-23T20:41:54Z</dc:date>
    </item>
  </channel>
</rss>

