<?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 How to override PathSegmentServiceDefault ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326756#M13757</link>
    <description>&lt;P&gt;Reading the question &lt;STRONG&gt;&lt;A href="http://answers.nuxeo.com/questions/5304/document-name-what-is-the-max-characters-number-for-path"&gt;Document name : what is the max characters number for path ?&lt;/A&gt;&lt;/STRONG&gt; I understood that in order to change the 24 char limit of the document name, I have to derive the class &lt;CODE&gt;PathSegmentServiceDefault&lt;/CODE&gt; and providing it as a new contribution to the &lt;CODE&gt;PathSegmentService&lt;/CODE&gt;. Deriving the &lt;CODE&gt;PathSegmentServiceDefault&lt;/CODE&gt; is easy, but adding the contribution is what I'm not getting right. I am sure I am missing something in the extension part, but not sure what. It would be great if someone that has succeeded in this task can show me the right way ... Thank You in advance.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2014 16:49:43 GMT</pubDate>
    <dc:creator>Hari_</dc:creator>
    <dc:date>2014-01-27T16:49:43Z</dc:date>
    <item>
      <title>How to override PathSegmentServiceDefault ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326756#M13757</link>
      <description>&lt;P&gt;Reading the question &lt;STRONG&gt;&lt;A href="http://answers.nuxeo.com/questions/5304/document-name-what-is-the-max-characters-number-for-path"&gt;Document name : what is the max characters number for path ?&lt;/A&gt;&lt;/STRONG&gt; I understood that in order to change the 24 char limit of the document name, I have to derive the class &lt;CODE&gt;PathSegmentServiceDefault&lt;/CODE&gt; and providing it as a new contribution to the &lt;CODE&gt;PathSegmentService&lt;/CODE&gt;. Deriving the &lt;CODE&gt;PathSegmentServiceDefault&lt;/CODE&gt; is easy, but adding the contribution is what I'm not getting right. I am sure I am missing something in the extension part, but not sure what. It would be great if someone that has succeeded in this task can show me the right way ... Thank You in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 16:49:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326756#M13757</guid>
      <dc:creator>Hari_</dc:creator>
      <dc:date>2014-01-27T16:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to override PathSegmentServiceDefault ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326757#M13758</link>
      <description>&lt;P&gt;Show us what you've tried.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 17:56:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326757#M13758</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-01-27T17:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to override PathSegmentServiceDefault ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326758#M13759</link>
      <description>&lt;P&gt;Ok, it happened that I was doing a mistake with my *-contrib.xml file, I solved that and it works quite fine now. Thankyou anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2014 14:56:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326758#M13759</guid>
      <dc:creator>Hari_</dc:creator>
      <dc:date>2014-01-28T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to override PathSegmentServiceDefault ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326759#M13760</link>
      <description>&lt;P&gt;Besides implementing the &lt;CODE&gt;PathSegmentService&lt;/CODE&gt; interface and customizing my &lt;CODE&gt;PathSegmentServiceCustom&lt;/CODE&gt; class to my needs, to contribute to PathSegmentService, all that is needed is to provede an xml file with the following name pattern :&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;name-of-your-choice-&lt;/CODE&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;CODE&gt;contrib.xml&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;and with the following content:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="org.nuxeo.edrms.custom.pathsegment.PathSegmentServiceCustom"&amp;gt;
   &amp;lt;extension target="org.nuxeo.ecm.core.api.pathsegment.PathSegmentService"
	           point="pathSegmentService "&amp;gt;
	     &amp;lt;service class="org.nuxeo.edrms.custom.pathsegment.PathSegmentServiceCustom" /&amp;gt;
   &amp;lt;/extension&amp;gt;
&amp;lt;/component&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;with &lt;CODE&gt;org.nuxeo.edrms.custom.pathsegment.PathSegmentServiceCustom&lt;/CODE&gt; being the customized PathSegmentServiceDefault alternative.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2014 15:19:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-override-pathsegmentservicedefault/m-p/326759#M13760</guid>
      <dc:creator>Hari_</dc:creator>
      <dc:date>2014-01-28T15:19:52Z</dc:date>
    </item>
  </channel>
</rss>

