On 06/01/2012 04:27 AM, Jacopo Cappellato (JIRA) wrote:

     [ 
https://issues.apache.org/jira/browse/OFBIZ-4916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287291#comment-13287291
 ]

Jacopo Cappellato commented on OFBIZ-4916:
------------------------------------------

Are you sure about:
{code}
<@loopSubContent contentId=contentIdx viewIndex=viewIdx viewSize=viewSz 
contentAssocTypeId="PUBLISH_LINK"
      pickWhen="purposes.contains(\"ARTICLE\")&&  
\"CTNT_PUBLISHED\".equals(content.get(\"statusId\"))"
      returnAfterPickWhen="purposes.contains(\"ARTICLE\")"
-    followWhen="contentAssocTypeId != null&&  contentAssocTypeId.equals(\"never 
follow\")">
+    followWhen="contentAssocTypeId??&&  contentAssocTypeId.equals(\"never 
follow\")">
{code}

Don't want this part of the jira issue, but...

Why can't freemarker do contentAssocTypeId?.equals(value)

Reply via email to