Davide Gurgone wrote:

> I have to query JCR repository in a model class and load some data from 
> configuration repository and DAM, to be rendered in the template.
> 
> How can I do that? Is there an example?

Add a method to your model class to do the query using 
info.magnolia.cms.util.QueryUtil. You can then call this method on the model 
object in your template.

Nils.

----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to