Update of /var/cvs/applications/searchrelate/examples
In directory james.mmbase.org:/tmp/cvs-serv16587

Modified Files:
        example1.jspx example3.jspx example4.jspx 
Log Message:
unrelating is possible now


See also: http://cvs.mmbase.org/viewcvs/applications/searchrelate/examples


Index: example1.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/examples/example1.jspx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- example1.jspx       10 Apr 2008 14:59:24 -0000      1.9
+++ example1.jspx       14 Apr 2008 15:52:40 -0000      1.10
@@ -2,12 +2,11 @@
     xmlns:jsp="http://java.sun.com/JSP/Page";
     xmlns:c="http://java.sun.com/jsp/jstl/core";
     xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
-    xmlns:mm-sr="urn:jsptagdir:/WEB-INF/tags/mm/searchrelate/"
+    xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate";
     class="drawer">
   <!--
 
-    xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate";
-
+    xmlns:mm-sr="urn:jsptagdir:/WEB-INF/tags/mm/searchrelate/"
 
     -->
   <jsp:output omit-xml-declaration="true" />


Index: example3.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/examples/example3.jspx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- example3.jspx       7 Apr 2008 16:35:35 -0000       1.7
+++ example3.jspx       14 Apr 2008 15:52:40 -0000      1.8
@@ -5,7 +5,7 @@
     class="drawer">
   <jsp:output omit-xml-declaration="true" />
   <h1><a href="#example3">Example3</a></h1>
-  <p>Unrelating should also be possible (but is not yet)</p>
+  <p>Unrelating is also possible</p>
   <div>
     <mm:relatednodescontainer role="posrel" type="news" id="current" >
       <mm:sortorder field="posrel.pos" />
@@ -15,6 +15,7 @@
       <mm:constraint field="number" operator="IN" referid="currentlyRelated" 
inverse="true" />
     </mm:listnodescontainer>
     <a id="submit3">Submit</a>
-    <mm-sr:relate repository="${repository}" current="${current}" 
submit="#submit3" unrelate="true" />
+    <mm-sr:relate repository="${repository}" current="${current}"
+                  submit="#submit3" unrelate="true" />
   </div>
 </div>


Index: example4.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/examples/example4.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- example4.jspx       10 Apr 2008 15:58:55 -0000      1.1
+++ example4.jspx       14 Apr 2008 15:52:40 -0000      1.2
@@ -2,10 +2,10 @@
     xmlns:jsp="http://java.sun.com/JSP/Page";
     xmlns:c="http://java.sun.com/jsp/jstl/core";
     xmlns:mm="http://www.mmbase.org/mmbase-taglib-2.0";
-    xmlns:mm-sr="urn:jsptagdir:/WEB-INF/tags/mm/searchrelate/"
+    xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate";
     class="drawer">
   <!--
-    xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate";
+    xmlns:mm-sr="urn:jsptagdir:/WEB-INF/tags/mm/searchrelate/"
 
     -->
   <jsp:output omit-xml-declaration="true" />
@@ -17,6 +17,6 @@
     two nodes are never related mode than once.
   </p>
 
-  <mm-sr:relatednodes type="news" role="posrel" fields="title" />
+  <mm-sr:relatednodes type="news" role="posrel" />
 
 </div>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to