<?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 Creating customised browse.jsp for a folder type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-customised-browse-jsp-for-a-folder-type/m-p/235707#M188837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a new custom space type (inheriting from cm:folder), and I want to display my own view onto that space when a user navigates into it. To this end, I've copied and modified browse.jsp (currently it just hides the space and content view, leaving the custom view to display a presentation template).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've placed the following configuration into web-client-config-custom.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code xml&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;config evaluator="node-type" condition="centrom:database"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;navigation&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;override from-view-id="/jsp/browse/browse.jsp" to-view-id="/centrom/jsp/database.jsp" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/navigation&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/config&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a user navigates into a space of our content type, the new database.jsp view is displayed as expected, and this works just fine. However, when the user navigates out of that space (by clicking on the breadcrumb, or in the navigation sidebar) our custom view is retained - Alfresco doesn't switch back to using browse.jsp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I missing? Not being an expert on JSF, I would have expected the above configuration to only kick in if displaying our content type, and the default browse.jsp to be reverted to when the user leaves our content type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the documentation I've found so far seems to concentrate on overriding the details page of a content type, rather than the browse view, so doesn't seem to cover this scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2009 11:21:55 GMT</pubDate>
    <dc:creator>samuel_penn</dc:creator>
    <dc:date>2009-08-21T11:21:55Z</dc:date>
    <item>
      <title>Creating customised browse.jsp for a folder type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-customised-browse-jsp-for-a-folder-type/m-p/235707#M188837</link>
      <description>Hi all,I've created a new custom space type (inheriting from cm:folder), and I want to display my own view onto that space when a user navigates into it. To this end, I've copied and modified browse.jsp (currently it just hides the space and content view, leaving the custom view to display a present</description>
      <pubDate>Fri, 21 Aug 2009 11:21:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-customised-browse-jsp-for-a-folder-type/m-p/235707#M188837</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-08-21T11:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating customised browse.jsp for a folder type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-customised-browse-jsp-for-a-folder-type/m-p/235708#M188838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sam,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find a resolution to this issue?&amp;nbsp; I am trying to implement a similar thing, but have had no luck with faces navigation customizations, the web-client-config-custom.xml or anything else I've tried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric Harper&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2009 22:46:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-customised-browse-jsp-for-a-folder-type/m-p/235708#M188838</guid>
      <dc:creator>eharper</dc:creator>
      <dc:date>2009-12-11T22:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating customised browse.jsp for a folder type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-customised-browse-jsp-for-a-folder-type/m-p/235709#M188839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I find the solution, but I'm no longer working for the company where I had the problem, so checking to see what the solution was is no longer possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sam.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Dec 2009 22:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-customised-browse-jsp-for-a-folder-type/m-p/235709#M188839</guid>
      <dc:creator>samuel_penn</dc:creator>
      <dc:date>2009-12-13T22:07:43Z</dc:date>
    </item>
  </channel>
</rss>

