On Jul 20, 2011, at 8:45 AM, <[email protected]> <[email protected]> 
wrote:

> Hello,
> 
> I want to support a checkbox control while its options have the following 
> properties:
> 
> - name = handle to a content node
> - value = xyz (unimportant as I want to save the name property to the 
> repository)
> 
> In a paragraph script, I plan to use the selected handles to show snippets of 
> the corresponding content nodes.
> 
> Does that setOptions() method in 
> http://documentation.magnolia-cms.com/cookbook/creating-a-custom-control.html 
> gain access to the Website JCR Browser via e.g. JCR Query, thereby getting 
> information about the content nodes (to set name and value property)?

Yes, you can access repository and execute queries and use the results to fil 
options as this code is executed inside of the filter chain. Try 
MgnlContext.getQueryManager("website");
> 
> I can't use an uuidLink control and set its repository=data since I don't 
> have a Data JCR browser (Magnolia 3.5.2 is deployed).

Are you sure? If you have the data module, then you have the data JCR Browser. 
Try http://your_magnolia/.magnolia/trees/data.html

HTH,
Jan

> 
> Thank you. Roger
> 
> Confidentiality Notice
> This message may contain privileged and confidential information, and if you 
> are not the addressee or the person responsible for delivering this to the 
> addressee, you may not copy, distribute or take action in reliance on it. If 
> you have received this e-mail in error, please notify us immediately by 
> returning the original message to the sender by e-mail and delete this 
> message from your system. Thank you for your cooperation!
> 
> 
> Noser Engineering lädt Sie herzlich zu folgenden Veranstaltungen ein:
> 
> Noser Engineering ist als Referent und Aussteller an der ECC, der Embedded 
> Computing Conference am 30. August in Winterthur präsent.
> 
> Melden Sie sich an. www.EmbeddedComputingConference.ch
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------




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

Reply via email to