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

Modified Files:
        relate.tagx 
Log Message:
Added customizedir as a parameter now everywhere since this prevented it from 
using it in the repository part.




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


Index: relate.tagx
===================================================================
RCS file: 
/var/cvs/applications/searchrelate/META-INF/tags/mm/searchrelate/relate.tagx,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- relate.tagx 10 Nov 2008 10:52:17 -0000      1.38
+++ relate.tagx 27 Nov 2008 09:52:54 -0000      1.39
@@ -6,7 +6,7 @@
     >
   <!--
       @author Michiel Meeuwissen
-      @version $Id: relate.tagx,v 1.38 2008/11/10 10:52:17 andre Exp $
+      @version $Id: relate.tagx,v 1.39 2008/11/27 09:52:54 andre Exp $
   -->
   <jsp:directive.tag
       example="See /mmexamples/searchrelate"
@@ -67,7 +67,8 @@
                            description="Whether to produce forms. Default to 
true, but since forms cannot be nested you may want to set this to false."/>
 
 
-  <jsp:directive.attribute name="customizedir"          
type="java.lang.String" />
+  <jsp:directive.attribute name="customizedir"        type="java.lang.String" 
+                           description="Enables the specification of the 
location of a directory with extra actions on nodes in the lists which will 
become visible in the td.action." />
 
 
   <mm:import externid="current" from="this" />
@@ -100,6 +101,7 @@
       $("#mm_related_${seq}").each(function() {
       if (this.relater != null) {
     <c:if test="${! empty fields}"> this.relater.setFields('${fields}'); 
</c:if>
+    <c:if test="${! empty customizedir}"> 
this.relater.setCustomizedir('${customizedir}'); </c:if>
     <c:if test="${! empty pagesize}"> this.relater.setPageSize(${pagesize}); 
</c:if>
     <c:if test="${! empty maxpages}"> this.relater.setMaxPages(${maxpages}); 
</c:if>
     <c:if test="${! empty context}"> this.relater.setContext('${context}'); 
</c:if>
@@ -143,7 +145,7 @@
               </mm:isgreaterthan>
             </mm:size>
           </mm:listnodescontainer>
-          <mm:include page="/mmbase/searchrelate/page.jspx" 
referids="customizedir?">
+          <mm:include page="/mmbase/searchrelate/page.jspx" 
referids="customizedir?,fields?">
             <c:if test="${! empty pagesize}">
               <mm:param name="pagesize" referid="pagesize" />
             </c:if>
@@ -153,9 +155,6 @@
             <c:if test="${!empty relations}">
               <mm:param name="relations" referid="relations" />
             </c:if>
-            <c:if test="${!empty fields}">
-              <mm:param name="fields" referid="fields" />
-            </c:if>
             <mm:param name="id">mm_related_${seq}_current</mm:param>
             <mm:param name="extraClass">implicit</mm:param>
           </mm:include>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to