Update of /var/cvs/applications/searchrelate/examples
In directory james.mmbase.org:/tmp/cvs-serv2615/examples
Modified Files:
example1.jspx index.jspx
Log Message:
moved tempates, because then they are put to correct location by ant install
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.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- example1.jspx 8 Apr 2008 09:24:44 -0000 1.7
+++ example1.jspx 8 Apr 2008 16:31:20 -0000 1.8
@@ -2,11 +2,12 @@
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="http://www.mmbase.org/tags/mm/searchrelate"
+ xmlns:mm-sr="urn:jsptagdir:/WEB-INF/tags/mm/searchrelate/"
class="drawer">
<!--
- xmlns:mm-sr="urn:jsptagdir:/WEB-INF/tags/mm/searchrelate/"
+ xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate"
+
-->
<jsp:output omit-xml-declaration="true" />
@@ -17,8 +18,11 @@
<mm:relatednodescontainer role="posrel" type="news" id="current">
<mm:sortorder field="posrel.pos" />
</mm:relatednodescontainer>
+
<mm:listnodescontainer type="news" id="repository" />
+
<a id="submit1" class="submit">Submit</a>
+
<mm-sr:relate repository="${repository}" current="${current}"
submit="#submit1" pagesize="3">
<jsp:attribute name="currentTitle"><h1>Currently
Related</h1></jsp:attribute>
<jsp:attribute name="repositoryTitle"><h1>All nodes of type
news</h1></jsp:attribute>
Index: index.jspx
===================================================================
RCS file: /var/cvs/applications/searchrelate/examples/index.jspx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- index.jspx 8 Apr 2008 08:25:29 -0000 1.7
+++ index.jspx 8 Apr 2008 16:31:20 -0000 1.8
@@ -42,7 +42,6 @@
<mm:hasnode number="$mag">
<mm:node number="$mag">
<h1>Using node ${_node}</h1>
-
<mm:include page="example1.jspx" />
<mm:include page="example2.jspx" />
<mm:include page="example3.jspx" />
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs