On Feb 17, 2010, at 7:02 AM, Will Scheidegger wrote:

> 
> On 17.02.2010, at 02:43, Paul Fitchett wrote:
>> I believe that Magnolia does not support multi-value attributes,...
> 
> It does and it does it well.
> Use the "checkBox" control (see [1]). If you add a checkBox control named 
> categories to your product dialog and configure it with your categories as 
> options you can simply check the categories you want. You will then end up 
> with a data structure like this for example:
> 
> - product
>       - name: Product A
>       - price: 33.99
>       - categories:
>               - 0: categoryA
>               - 1: categoryB

There's also some level of support for actual multi-value properties (which 
should be easier to query), but it's fairly limited a gui-level at the moment 
(as far as I remember, you still have to write or hook up a save handler)

-g



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

Reply via email to