Update of /var/cvs/applications/taglib/META-INF/tags/mm/u
In directory james.mmbase.org:/tmp/cvs-serv1999

Modified Files:
        relation.tagx 
Log Message:
did not work propery because of change in behaviour of number='', hmm


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


Index: relation.tagx
===================================================================
RCS file: /var/cvs/applications/taglib/META-INF/tags/mm/u/relation.tagx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- relation.tagx       30 Jul 2008 12:22:38 -0000      1.1
+++ relation.tagx       13 Aug 2008 12:45:14 -0000      1.2
@@ -9,12 +9,12 @@
   <jsp:directive.attribute name="role" type="java.lang.String"  />
   <jsp:directive.attribute name="searchdir" type="java.lang.String"  />
   <jsp:directive.attribute name="notfound" type="java.lang.String"   />
-  <mm:listrelationscontainer role="${role}" type="object" 
searchdir="${searchdir}">
+  <mm:listrelationscontainer role="${role}" type="object" 
searchdir="${searchdir}" >
     <mm:addnode element="object" number="${to}" />
     <mm:listrelations>
       <mm:node id="thenode" />
     </mm:listrelations>
-    <mm:node number="${thenode}" notfound="${empty notfound ? 'skip' : 
notfound}" >
+    <mm:node number="${empty thenode ? -1 : thenode}" notfound="${empty 
notfound ? 'skip' : notfound}" >
       <jsp:doBody />
     </mm:node>
   </mm:listrelationscontainer>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to