Hi all,

I have an HTML form with

<input ... name="a/b" value="..." >

POSTing this form the first time, apache sling will create a child node of type nt:unstructured, and a string property b. Sending it subsequently, sling will mutate the string type into string[], and add the respective value at b[n].

Now, that's nice, but not really what I wanted. I really need b single-valued and overwrite its value in JCR with the latest POST value.

What will do the trick?

Thanks,
Jurg

Reply via email to