You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by le...@apache.org on 2009/11/23 00:52:26 UTC

svn commit: r883192 - /ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl

Author: lektran
Date: Sun Nov 22 23:52:25 2009
New Revision: 883192

URL: http://svn.apache.org/viewvc?rev=883192&view=rev
Log:
Prevent errors when no portlet description is available

Modified:
    ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl

Modified: ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl?rev=883192&r1=883191&r2=883192&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/portal/listPortalPortlets.ftl Sun Nov 22 23:52:25 2009
@@ -43,7 +43,7 @@
                     <form method="post" action="<@o...@ofbizUrl>" onSubmit="javascript:submitFormDisableSubmits(this)" name="createPortalPortlet_${portalPortlet.portalPortletId}"><input name="portalPortletId" value="${portalPortlet.portalPortletId}" type="hidden"/><input name="portalPageId" value="${parameters.portalPageId}" type="hidden"/><input name="columnSeqId" value="${parameters.columnSeqId}" type="hidden"/></form><a class="buttontext" href="javascript:document.createPortalPortlet_${portalPortlet.portalPortletId}.submit()">${uiLabelMap.CommonAdd}: ${portalPortlet.portletName}</a>
                   </div>
                   <div class="tabletext">
-                    ${portalPortlet.description}
+                    ${portalPortlet.description?if_exists}
                   </div>
                   <div class="tabletext">
                     ${parameters.portletCategoryId}