Author: lektran
Date: Sun Nov 22 23:52:25 2009
New Revision: 883192
URL:
http://svn.apache.org/viewvc?rev=883192&view=revLog:
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="<@ofbizUrl>createPortalPagePortlet</@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}