I have three checkboxes that I added to the page properties dialog that appears in the upper right hand corner of a template I created. It is structured like so...
[img]http://imgur.com/cuaiyUi[/img] Within a modelClass I created for an area, how do I retrieve the data values of the "category" checkbox using JCR? I have no issue getting back text box or other data that has a single value, but have no clue how to get back data that can have multiple values. I would like to use the following if possible. [code] def queryString = "SELECT * FROM [nt:base] WHERE ISCHILDNODE([/articles/article-1/])" def query = MgnlContext.getJCRSession("website").getWorkspace().getQueryManager().createQuery(queryString, "JCR-SQL2") def queryResult = query.execute() [/code] -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=04157a35-21b6-4b1d-abe1-e64df820953b ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
