Author: michiel Date: 2010-05-21 16:00:33 +0200 (Fri, 21 May 2010) New Revision: 42247
Modified: speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/block.tagx speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/blocks.tagx Log: Modified: speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/block.tagx =================================================================== --- speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/block.tagx 2010-05-20 14:53:27 UTC (rev 42246) +++ speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/block.tagx 2010-05-21 14:00:33 UTC (rev 42247) @@ -15,7 +15,7 @@ <os:cache refreshpolicyclass="${empty block.refreshpolicy ? 'org.mmbase.portal.refresh.Expires' : block.refreshpolicy}" refreshpolicyparam="${empty block.refreshpolicy and empty block.refreshpolicyparam ? '3600' : block.refreshpolicyparam}" - refresh="${param[flushparam] eq blockposrel.number}" + refresh="${param[flushparam] eq blockposrel.number or param[flushparam] eq 'all'}" scope="application" key="${group}/${blockposrel}" groups="${group}" @@ -25,7 +25,11 @@ <jsp:doBody /> </c:catch> <c:if test="${! empty e}"> - <mm:log>${e}</mm:log> + <mm:log jspvar="log"> + <mm:write referid="e" jspvar="exception" vartype="java.lang.Exception"> + <jsp:scriptlet>log.error(exception.getMessage(), exception);</jsp:scriptlet> + </mm:write> + </mm:log> <os:usecached /> </c:if> </os:cache> Modified: speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/blocks.tagx =================================================================== --- speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/blocks.tagx 2010-05-20 14:53:27 UTC (rev 42246) +++ speeltuin/mihxil/portal/trunk/src/main/resources/META-INF/tags/mm/portal/blocks.tagx 2010-05-21 14:00:33 UTC (rev 42247) @@ -5,7 +5,7 @@ version="2.0" > <jsp:directive.tag - description="Produces a div, and takes the current node (_node), and determing the related 'blocks' (using 'blockposrel). + description="Produces a div, and takes the current node (_node), and determing the related 'componentblocks' (using 'blockposrel). For each found node then a div is produced, with the proper css classes to position them. In the body the variables 'block' and 'blockposrel' are produced, which are the two MMBase Nodes which are relevant. These blockposrel variable can typically be put into the portal:block tag." _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs