{"id":601,"date":"2012-10-18T11:33:43","date_gmt":"2012-10-18T11:33:43","guid":{"rendered":"http:\/\/www.bestcoder.net\/?p=601"},"modified":"2012-10-18T11:33:43","modified_gmt":"2012-10-18T11:33:43","slug":"xpages-expression-language-el-some-useful-links-sample","status":"publish","type":"post","link":"http:\/\/www.bestcoder.net\/?p=601","title":{"rendered":"XPages &#8211; Expression Language (EL) &#8211; Some Useful Links &#038; Sample"},"content":{"rendered":"<p><a href=\"http:\/\/www.ibm.com\/developerworks\/java\/library\/j-jstl0211\/index.html\" target=\"_blank\">A JSTL primer, Part 1: The expression language<\/a><\/p>\n<p><a href=\"http:\/\/www.softwareengineeringsolutions.com\/thoughts\/frameworks\/JSF.Techniques-ELResolvers.htm\" target=\"_blank\">JSF Techniques \u2013 EL Resolvers<\/a><\/p>\n<p>Simple If &#8211; Then for <strong>rendered<\/strong> properties in table &#8211; tr using <strong>view column data<\/strong>.<\/p>\n<blockquote><p><strong><em>[Column value of GorusTipi equals &#8220;Zorunlu&#8221;] AND [Column value of UygunlukDurumu IS NOT EMPTY<strong><em>]<\/em><\/strong><\/em><\/strong><\/p>\n<p>&lt;xp:this.rendered&gt;&lt;![CDATA[#{viewEntry[&#8220;GorusTipi&#8221;] eq &#8220;Zorunlu&#8221; &amp;&amp; !empty viewEntry[&#8220;UygunlukDurumu&#8221;]}]]&gt;&lt;\/xp:this.rendered&gt;<\/p><\/blockquote>\n<p><strong>Table 2. The EL operators<\/strong><\/p>\n<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\n<tbody>\n<tr valign=\"top\">\n<td><strong>Category<\/strong><\/td>\n<td><strong>Operators<\/strong><\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>Arithmetic<\/td>\n<td><code>+<\/code>,\u00a0<code>-<\/code>,\u00a0<code>*<\/code>,\u00a0<code>\/<\/code>\u00a0(or\u00a0<code>div<\/code>),\u00a0<code>%<\/code>\u00a0(or\u00a0<code>mod<\/code>)<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>Relational<\/td>\n<td><code>==<\/code>\u00a0(or\u00a0<code>eq<\/code>),\u00a0<code>!=<\/code>\u00a0(or\u00a0<code>ne<\/code>),\u00a0<code>&lt;<\/code>\u00a0(or\u00a0<code>lt<\/code>),\u00a0<code>&gt;<\/code>\u00a0(or\u00a0<code>gt<\/code>),\u00a0<code>&lt;=<\/code>\u00a0(or\u00a0<code>le<\/code>),\u00a0<code>&gt;=<\/code>\u00a0(or\u00a0<code>ge<\/code>)<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>Logical<\/td>\n<td><code>&amp;&amp;<\/code>\u00a0(or\u00a0<code>and<\/code>),\u00a0<code>||<\/code>\u00a0(or\u00a0<code>or<\/code>),\u00a0<code>!<\/code>\u00a0(or\u00a0<code>not<\/code>)<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td>Validation<\/td>\n<td><code>empty<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>A JSTL primer, Part 1: The expression language JSF Techniques \u2013 EL Resolvers Simple If &#8211; Then for rendered properties in table &#8211; tr using view column data. [Column value of GorusTipi equals &#8220;Zorunlu&#8221;] AND [Column value of UygunlukDurumu IS NOT EMPTY] &lt;xp:this.rendered&gt;&lt;![CDATA[#{viewEntry[&#8220;GorusTipi&#8221;] eq &#8220;Zorunlu&#8221; &amp;&amp; !empty viewEntry[&#8220;UygunlukDurumu&#8221;]}]]&gt;&lt;\/xp:this.rendered&gt; Table 2. The EL operators Category Operators &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3,28],"tags":[60,61,30],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-development","category-lotusnotesdevelopment","category-xpages","tag-el","tag-expression-language","tag-xpages-2","entry"],"_links":{"self":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=601"}],"version-history":[{"count":1,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/601\/revisions"}],"predecessor-version":[{"id":602,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/601\/revisions\/602"}],"wp:attachment":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}