Author: sdeboer
Date: 2010-03-31 09:30:52 +0200 (Wed, 31 Mar 2010)
New Revision: 41694
Modified:
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
Log:
added searchdirs attribute
Modified:
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
===================================================================
---
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
2010-03-31 07:20:30 UTC (rev 41693)
+++
mmbase/trunk/applications/searchrelate/src/main/resources/META-INF/tags/mm/searchrelate/pathsearch.tagx
2010-03-31 07:30:52 UTC (rev 41694)
@@ -17,6 +17,8 @@
<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 +45,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