Hi everyone. I am trying to incorporate cmsu simplesearch functionality into 
our site. but even the easiest queries fail for me. 
the query I'm trying to use looks like this
[code]
[#assign cmsu=JspTaglibs["cms-util-taglib"]]

[@cmsu.simpleSearch query="SELECT * FROM nt:base" itemType="mgnl:content" 
var="results" useSimpleJcrQuery=true /]

[#list results as result]
<br>
${result.title}
[/#list]

[/code]
If I run the query in the jcr browser it returns all of the content. The 
expected output for me would be to print out titles of all the nodes, or at 
least make a new line for each result. However the page turns out empty 
(without new lines or anything). Any idea what I'm doing wrong? thanks for your 
help

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=f4ca103f-37ed-4f45-b9d5-813d9e23b049


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

  • [magnolia-user] How to forg... Magnolia Forums (on behalf of Stano Marcinko)

Reply via email to