On Thu, Mar 4, 2010 at 15:30, Felix Meschberger <[email protected]> wrote:
>  * Have the JCR Property representation ScriptableProperty be an
>    EcmaScript array, allowing indexed access to the values and allowing
>    for EcmaScript Array API.
>
>     Example: add a value to the property
>        node.propName.push("new value");
>
>    Critical here is that the ScriptableProperty would have to cope
>    with the multi-value issues around this.
>
>  * Allow for direct node assignment to set property values.
>
>      Example: set a property to a new value (array possible)
>         node.propName = "single value";
>         node.anotherProp = [ "value1", "value2" ];

+1

On Thu, Mar 4, 2010 at 15:58, Justin Edelson <[email protected]> wrote:
> I like this idea. I've been meaning to find/create something similar for
> Groovy. As long as you can continue to the use the formal JCR API, I
> don't see anything wrong with supporting informal language-specific idioms.

+1

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to