we have an implementation using the Data module where we store data in custom types. Some of those data types are mapped. I am currently trying to implement a search on those but don't get anywhere using JCR xpath queries (or SQL for that matter). We have a few types: Products, Offers and Categories. The Product type has a mapping to offers which is implemented with the DialogMultiSelect control in the data module dialog of the Product type. Now I can see the mapping in the JCR browser, the product having the child nodes of offers/0/offer1 and Offers/1/Offer2 what I need to retrieve is all the products that have a certain offer as a member. Obviously that would be quite straightforward if it was a normal property but the child nodes are stored as mgnl:contentNode and I can't seem to query on that at all. Hopefully I am just missing something but so far no luck.
Maybe you should look at this: http://wiki.magnolia-cms.com/display/WIKI/Hibernate%27s+Criteria-like+API+for+Magnolia-JCR HTH, Danilo. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
