Hi,
I have exactly the same issue using Magnolia's latest version 4.5.7.
Using the preceding example i tried that to prove my query was returning
something:
[#assign members = cmsfn.search("data" "select * from nt:base where jcr:path
like '/members/%' and firstName='Bob'" "sql" "nt:base") /]
[#list members as member]
<h2>${member}</h2>
${member.firstName}
[/#list]
This gave the same kind of error:
"Expression member.firstName is undefined on line 4, column 11 in
templates/components/listOfMembers.ftl."
firstName is indeed a node data for all members, but i am apperantly using an
incorrect syntax.
Adding "and firstName='Bob'" and seeing the error proves my that 'Bob' exists...
Any idea what,s going on? Any idea on how to get this data out?
FYI, I tried the query using JCR query and I'm 100% sure that the data exists...
Thanks!
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=92cc9fac-0e0e-48f6-b13d-d3b888f441bc
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------