Update of /var/cvs/applications/searchrelate/META-INF/tags/mm/searchrelate
In directory james.mmbase.org:/tmp/cvs-serv6549

Modified Files:
        button.tagx delete.tagx 
Log Message:
implific support for framework provided tree/leaf


See also: 
http://cvs.mmbase.org/viewcvs/applications/searchrelate/META-INF/tags/mm/searchrelate


Index: button.tagx
===================================================================
RCS file: 
/var/cvs/applications/searchrelate/META-INF/tags/mm/searchrelate/button.tagx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- button.tagx 31 Jul 2008 11:21:26 -0000      1.2
+++ button.tagx 8 Aug 2008 14:29:20 -0000       1.3
@@ -6,7 +6,7 @@
     >
   <!--
       @author Michiel Meeuwissen
-      @version $Id: button.tagx,v 1.2 2008/07/31 11:21:26 michiel Exp $
+      @version $Id: button.tagx,v 1.3 2008/08/08 14:29:20 michiel Exp $
   -->
   <jsp:directive.tag
       example="See /mmexamples/searchrelate"
@@ -16,7 +16,16 @@
   <jsp:directive.attribute name="type"         required="true" />
   <jsp:directive.attribute name="alt"           />
 
-  <mm:import id="icons">${empty icondir ? '/mmbase/style/images' : 
icondir}</mm:import>
+  <mm:import id="icons">
+    <c:choose>
+      <c:when test="${empty icondir}">
+        <mm:treefile page="/mmbase/style/images" 
objectlist="${requestScope['org.mmbase.includePath']}" absolute="context" />
+      </c:when>
+      <c:otherwise>${icondir}</c:otherwise>
+    </c:choose>
+  </mm:import>
+
+
 
   <mm:haspage page="${icons}/${type}.jspx">
     <c:set var="alt"><mm:include page="${icons}/${type}.jspx" /></c:set>


Index: delete.tagx
===================================================================
RCS file: 
/var/cvs/applications/searchrelate/META-INF/tags/mm/searchrelate/delete.tagx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- delete.tagx 31 Jul 2008 13:00:05 -0000      1.6
+++ delete.tagx 8 Aug 2008 14:29:20 -0000       1.7
@@ -6,8 +6,10 @@
     version="2.0"
     >
   <!--
+
+
       @author Michiel Meeuwissen
-      @version $Id: delete.tagx,v 1.6 2008/07/31 13:00:05 michiel Exp $
+      @version $Id: delete.tagx,v 1.7 2008/08/08 14:29:20 michiel Exp $
   -->
   <jsp:directive.tag
       example="See /mmexamples/searchrelate"
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to