1) You should be able do this, but some work is required. IIRC, each control gets passed it's storage node. From the storage node you can traverse to the parent node and check any property value you want. Based on the result you would then render different html in your property.
2) Yes, this is again custom control, but should be fairly trivial. Something like this used to be example exercise for control creation in older version of documentation. Maybe it is still around. Even if not, just look at the checkbox control class (info.magnolia.cms.gui.dialog.DialogButtonSet IIRC) and obtain options dynamically instead of reading them from the repo. ... writing all of the above from top of my head so you might have to crosscheck it with the docu and relevant classes. Quick google search for "magnolia custom control" returned for example also http://wiki.magnolia-cms.com/display/WIKI/Custom+Select+control+with+options+from+data+module link which seems fairly relevant. ;) Cheers, Jan -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=fd8a0dc0-1b0d-4ee3-bd07-005024d4bde2 ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
