> Why not make this the default behaviour, without using the "magic > trailing slash": right.
> And we could use the @TypeHint if we want to store the file data in a > binary property, i .e: > > <form action="/home/tripod/profile" method="post" > enctype="multipart/form-data"> > <input type="file" name="./portrait" /> > <input type="hidden" name="./portrait/@TypeHint" value="jcr:Property"/> > </form> or: <input type="hidden" name="./[EMAIL PROTECTED]" value="BINARY"/> avoiding potential collision with node types. jcr:Property is more likely to be a node type than BINARY. and <input type="hidden" name="./[EMAIL PROTECTED]" value="nt:resource"/> would create just the resource node, right? -- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
