Setting value is multi values property through java code
Hi,
I am trying to set values to one string[] multi valued property in the CQ page. i am doing it through remote java application not in CQ environment.
Here is the code that i am using
Value[] values = new Value[10];
values[0] = session.getValueFactory().createValue("NewValue-one");
values[1] = session.getValueFactory().createValue("NewValue-two");
while(nodeIter.hasNext())
{
Node myNode= nodeIter.nextNode();
myNode.getName();
myNode.setProperty("cq:tags", values);
}
I am not getting any exceptions while setting the property but after setting the values to the property, i looked into the properties tab in the CRXDE and i am seeing the values are not set and it's empty.
Here is the screenshot of properties tab in the CRXDE

Can someone help me on this? Let me know if you need anymore info.
