<?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 The column's header not is displayed in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230241#M183371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I customized the browse.jsp page to display some custom metadata, so far so good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However the column's header not is displayed because a conditional that i did.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;a:column id="cnpj" style="text-align:left" rendered="#{(BrowseBean.browseViewMode == 'details' || BrowseBean.browseViewMode == 'icons') &amp;amp;&amp;amp; r.properties['custom:cnpj_contratante'] != null}"&amp;gt;&lt;BR /&gt;&amp;lt;f:facet name="header"&amp;gt;&lt;BR /&gt;&amp;lt;a:sortLink id="cnpj-sort" label="CNPJ" value="custom:cnpj_contratante" styleClass="header" /&amp;gt;&lt;BR /&gt;&amp;lt;/f:facet&amp;gt;&lt;BR /&gt;&amp;lt;h:outputText id="cnpj-txt" title="CNPJ" value="#{r.properties['custom:cnpj_contratante']}" /&amp;gt;&lt;BR /&gt;&amp;lt;/a:column&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The last conditional in a rendered property, "r.properties['custom:cnpj_contratante'] != null", makes the header disappear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some body have some idea about it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards, Achilles Fróes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 19:34:06 GMT</pubDate>
    <dc:creator>achilles_froes</dc:creator>
    <dc:date>2010-07-22T19:34:06Z</dc:date>
    <item>
      <title>The column's header not is displayed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230241#M183371</link>
      <description>Hi everybody,I customized the browse.jsp page to display some custom metadata, so far so good.However the column's header not is displayed because a conditional that i did.Like this:&amp;lt;a:column id="cnpj" style="text-align:left" rendered="#{(BrowseBean.browseViewMode == 'details' || BrowseBean.brows</description>
      <pubDate>Thu, 22 Jul 2010 19:34:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230241#M183371</guid>
      <dc:creator>achilles_froes</dc:creator>
      <dc:date>2010-07-22T19:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: The column's header not is displayed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230242#M183372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(BrowseBean.browseViewMode == 'details' || BrowseBean.browseViewMode == 'icons') &amp;amp;&amp;amp; r.properties['custom:cnpj_contratante'] != null}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try to do only r.properties['custom:cnpj_contratante'] != null to see if this works first. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then add other part.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 21:41:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230242#M183372</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-07-22T21:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: The column's header not is displayed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230243#M183373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for you reply savic.prvoslav, i tried your suggestion, however happened the same thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If i remove the "r.properties['custom:cnpj_contratante'] != null" clause, the column appears, but in all views. This is not the intention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, i would like to know how make a condition by a custom metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed, looks like that the collection referenced by "r" variable is not filled yet, because i tried put "r.properties['custom:cnpj_contratante'] == null" and then the header appeared, but not the informations.&amp;nbsp;&amp;nbsp; :?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 14:04:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230243#M183373</guid>
      <dc:creator>achilles_froes</dc:creator>
      <dc:date>2010-07-23T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: The column's header not is displayed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230244#M183374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can overide browse bean and do this conditin in java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bu adding property resolover inside getcontent method and do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;org.alfresco.web.bean.repository.Node&amp;gt; cont = super.getContent();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;for…&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cont.get(i).addPropertyResolver("propname", propname);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt; public NodePropertyResolver propname= new NodePropertyResolver() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static final long serialVersionUID = -1280702397805414147L;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public Object get(Node node) {&lt;BR /&gt;if( check your condition) return true; else return false;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and in jsp you acces this with #{r.propname}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this works 100%. hope it helps/.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jul 2010 12:12:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230244#M183374</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-07-24T12:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: The column's header not is displayed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230245#M183375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello savic.prvoslav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm so sorry for the big delay, thank you very much for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, i don't know how override the BrowseBean class.&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There are some tutorial?&amp;nbsp; &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more time, thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 19:06:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230245#M183375</guid>
      <dc:creator>achilles_froes</dc:creator>
      <dc:date>2010-08-09T19:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: The column's header not is displayed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230246#M183376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well you need to learn that &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;see in SDK you have downloaded example custom Login ( something like that). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; in this example LoginBean is being overriden, you shoud do same thing but for BrowseBean.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 11:49:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230246#M183376</guid>
      <dc:creator>savic_prvoslav</dc:creator>
      <dc:date>2010-08-10T11:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: The column's header not is displayed</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230247#M183377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright. Once again, thanks!&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 20:13:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/the-column-s-header-not-is-displayed/m-p/230247#M183377</guid>
      <dc:creator>achilles_froes</dc:creator>
      <dc:date>2010-08-12T20:13:48Z</dc:date>
    </item>
  </channel>
</rss>

