<?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: Advanced mode config : display mode : How to test empty field in EL #{} in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326256#M13257</link>
    <description>&lt;P&gt;The solution is in advanced mode configuration write, as example :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#{empty layoutValue.dc.nature?'hidden':'view'}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;with key word "empty"&lt;/P&gt;
&lt;P&gt;cf. &lt;A href="http://mvel.codehaus.org/Value+Tests"&gt;http://mvel.codehaus.org/Value+Tests&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2013 17:45:28 GMT</pubDate>
    <dc:creator>milonette_</dc:creator>
    <dc:date>2013-09-10T17:45:28Z</dc:date>
    <item>
      <title>Advanced mode config : display mode : How to test empty field in EL #{}</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326255#M13256</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to write about a newbie discover I did about test on "empty" value for advanced mode config tests as:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://doc.nuxeo.com/display/Studio/Control+the+display+mode+of+a+widget"&gt;http://doc.nuxeo.com/display/Studio/Control+the+display+mode+of+a+widget&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So the question was :&lt;/P&gt;
&lt;P&gt;How to not show a document field in a custom layout if it's empty ?&lt;/P&gt;
&lt;P&gt;Because I got I boring test such as :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#{layoutValue.dc.nature==null || layoutValue.dc.nature==''?'hidden':'view'}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Sep 2013 17:43:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326255#M13256</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-09-10T17:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced mode config : display mode : How to test empty field in EL #{}</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326256#M13257</link>
      <description>&lt;P&gt;The solution is in advanced mode configuration write, as example :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#{empty layoutValue.dc.nature?'hidden':'view'}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;with key word "empty"&lt;/P&gt;
&lt;P&gt;cf. &lt;A href="http://mvel.codehaus.org/Value+Tests"&gt;http://mvel.codehaus.org/Value+Tests&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 17:45:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326256#M13257</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-09-10T17:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced mode config : display mode : How to test empty field in EL #{}</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326257#M13258</link>
      <description>&lt;P&gt;Hi, note that this is not MVEL, this is EL&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 19:31:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326257#M13258</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-09-10T19:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced mode config : display mode : How to test empty field in EL #{}</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326258#M13259</link>
      <description>&lt;P&gt;Ok thank you very much Anahide !&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 10:29:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326258#M13259</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-09-11T10:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced mode config : display mode : How to test empty field in EL #{}</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326259#M13260</link>
      <description>&lt;P&gt;I will change the subject from "MVEL" ou "EL" to correct it in few minutes !&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326259#M13260</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-09-13T15:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced mode config : display mode : How to test empty field in EL #{}</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326260#M13261</link>
      <description>&lt;P&gt;I had this very good documentation that explain other function possible to use in this context as jstl tag lib&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:05:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/advanced-mode-config-display-mode-how-to-test-empty-field-in-el/m-p/326260#M13261</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-09-13T15:05:37Z</dc:date>
    </item>
  </channel>
</rss>

