Update of /var/cvs/applications/searchrelate/examples
In directory james.mmbase.org:/tmp/cvs-serv28126
Modified Files:
example1.jspx
Log Message:
Using fragems to add titlte
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.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- example1.jspx 7 Apr 2008 16:35:35 -0000 1.6
+++ example1.jspx 8 Apr 2008 09:24:44 -0000 1.7
@@ -5,7 +5,9 @@
xmlns:mm-sr="http://www.mmbase.org/tags/mm/searchrelate"
class="drawer">
<!--
+
xmlns:mm-sr="urn:jsptagdir:/WEB-INF/tags/mm/searchrelate/"
+
-->
<jsp:output omit-xml-declaration="true" />
<h1><a href="#example1">Example1</a></h1>
@@ -17,7 +19,10 @@
</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"/>
+ <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>
+ </mm-sr:relate>
</div>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs