Author: sdeboer
Date: 2010-03-31 09:20:30 +0200 (Wed, 31 Mar 2010)
New Revision: 41693
Modified:
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
Log:
added searchdirs attribute
Modified:
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
===================================================================
---
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
2010-03-30 16:58:06 UTC (rev 41692)
+++
mmbase/branches/MMBase-1_9/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
2010-03-31 07:20:30 UTC (rev 41693)
@@ -18,6 +18,9 @@
<jsp:directive.attribute name="path" type="java.lang.String"
required="true"
description="Node types to search. This is
equivalent to the path attribute of an mm:listnodescontainer" />
+ <jsp:directive.attribute name="searchdirs" type="java.lang.String"
+ description="This is equivalent to the searchdirs
attribute of an mm:listnodescontainer" />
+
<jsp:directive.attribute name="element" type="java.lang.String"
description="This is equivalent to the element
attribute of an mm:listnodescontainer, but it defaults to the _last_ element."
/>
@@ -43,7 +46,7 @@
</c:if>
- <mm:listnodescontainer path="${path}" element="${element}" id="query"
jspvar="q">
+ <mm:listnodescontainer path="${path}" element="${element}"
searchdirs="${searchdirs}" id="query" jspvar="q">
<c:if test="${empty element}">
<jsp:scriptlet>q.setNodeStep(q.getSteps().get(q.getSteps().size() -
1));</jsp:scriptlet>
</c:if>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs