Author: michiel
Date: 2010-03-16 18:40:03 +0100 (Tue, 16 Mar 2010)
New Revision: 41437
Modified:
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
Log:
add a warning when detected that the cloud is not on the session (probably
anonymous). That won't work.
Modified:
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
===================================================================
---
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
2010-03-16 17:24:48 UTC (rev 41436)
+++
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/relatednodes.tagx
2010-03-16 17:40:03 UTC (rev 41437)
@@ -333,6 +333,10 @@
<div id="${rid}" class="list ${parameters.query.nodeManager.name}
${pageContext.request.method}">
+ <c:if test="${empty mm:property('org.mmbase.cloud.sessionname')}">
+ <jsp:text>WARNING: mm-sr:relatednodes tag does not work for clouds not
in the session (<mm:cloudinfo type="rank" />/<mm:cloudinfo type="user" />).
</jsp:text>
+ </c:if>
+
<c:if test="${! empty idvar}">
<mm:write request="${idvar}" referid="rid" />
<jsp:doBody />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs