Hi,
On Sun, Jul 1, 2012 at 11:33 PM, Raghu Sengar <[email protected]>wrote:
> You should be able to pass in a array with your values. It should work. Are
> you getting any errors?
>
> For example,
>
> String[] values = {"Value1", "Value2"}
>
> node.setProperty("mypropname", values);
>
This is a JCR API method. What I want is to do this with Sling using an
http request.
Thanks.
--Bhathiya
>
> On Sun, Jul 1, 2012 at 4:06 AM, Bhathiya Jayasekara
> <[email protected]>wrote:
>
> > Hi all,
> >
> > I want to save a String array as a value of a property in a node. What is
> > the format I should send it?
> >
> > To be clear, the related method in Jackrabbit is *public Property
> > setProperty(String name, String[] values)*
> >
> > Thank you.
> >
> > --Bhathiya
> >
>