Re: alias or reference?

2010-11-05 Thread sam lee
I made a node, foo, mix:sharable. Copied foo to bar. I did NOT use workspace.clone() as the spec said. This CMS that I'm using comes with a gui repo browser. And, I could not find .clone() functionality. So, editing foo did not change bar. :P I was too lazy to write up a Java program to clone the

Re: alias or reference?

2010-11-05 Thread Justin Edelson
Was there some reason that shareable nodes didn't work? Or are you simply opposed to them because mix:shareable can't be removed? Multi-valued sling:alias support was added in SLING-1332 and will be in the next release of the JCR Resource bundle. Justin On 11/5/10 3:25 PM, "sam lee" wrote: >Ah

Re: alias or reference?

2010-11-05 Thread sam lee
Ah, Thank you. I see. I hope sling:alias could be String[]. Even if I set sling:alias = {png, gif, tiff}.. only the first entry, png, is used. For example, /some/path/jpeg (sling:alias = {png, gif, tiff}) then, GET /some/path/jpeg.json ==> good GET /some/path/png.json ==> good GET /some/path/g