Author: michiel
Date: 2010-05-17 14:06:15 +0200 (Mon, 17 May 2010)
New Revision: 42183

Modified:
   
mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/pathsearch.jspx
Log:
some examples for using fragments and bodys

Modified: 
mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/pathsearch.jspx
===================================================================
--- 
mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/pathsearch.jspx
       2010-05-17 12:03:35 UTC (rev 42182)
+++ 
mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/pathsearch.jspx
       2010-05-17 12:06:15 UTC (rev 42183)
@@ -18,10 +18,16 @@
   </script>
 
   <p>Straight forward two step searcher, also indicated role. Finds news.</p>
-  <mm-sr:pathsearch path="mags,posrel,news" />
+  <mm-sr:pathsearch path="mags,posrel,news">
+    <jsp:attribute name="intro">Choose a magazine, than a news 
article</jsp:attribute>
+    <mm:sortorder field="mags.number" direction="down" />
+    <mm:sortorder field="news.number" direction="down" />
+  </mm-sr:pathsearch>
 
   <p>Straight forward two step searcher, not indicated role, finding people</p>
-  <mm-sr:pathsearch path="news,people" pagesize="100" />
+  <mm-sr:pathsearch path="news,people" pagesize="100">
+    <mm:sortorder field="news.number" direction="down" />
+  </mm-sr:pathsearch>
 
   <p>Straight forward three step searcher to find people</p>
   <mm-sr:pathsearch path="mags,news,people" />

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to