Author: michiel Date: 2010-03-30 11:48:43 +0200 (Tue, 30 Mar 2010) New Revision: 41662
Modified: mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/relatednodes-search.jspx Log: body can be used for more constraints Modified: mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/relatednodes-search.jspx =================================================================== --- mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/relatednodes-search.jspx 2010-03-30 09:46:15 UTC (rev 41661) +++ mmbase/trunk/applications/searchrelate/example-webapp/src/main/webapp/relatednodes-search.jspx 2010-03-30 09:48:43 UTC (rev 41662) @@ -11,7 +11,11 @@ type="news" orderby="posrel.pos" sortable="true" role="posrel" > <jsp:attribute name="searcher"> - <mm-srt:pathsearch path="mags,news" create="true" /> + <mm-srt:pathsearch path="mags,news" create="true"> + <!-- you could constraint the query further + <mm:constraint field="news.title" operator="LIKE" value="%a%" /> + --> + </mm-srt:pathsearch> </jsp:attribute> </mm-srt:relatednodes> </mm:node> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs