Hi, nt:file does not allow residual properties (ie. arbitrarily named properties, aka unstructured content) itself, so you could either add a mixin at runtime that introduces a * property definition (or a strict "roles" property if you only want that one) or create a new node type that extends from nt:file and adds the "roles" or * property. If you want to store a list of strings, a multi-value STRING property, ie. a String[], is probably exactly what you need.
For more on node types see http://jackrabbit.apache.org/node-types.html Regards, Alex On Tue, Oct 21, 2008 at 5:55 PM, vlad_v <[EMAIL PROTECTED]> wrote: > > is there a possibility to add a list of strings to a property of a node? > ( there is the need to store "roles" for each file in the repository, > and the roles are read, write for a list of users) > > i obtain the repository object with rmi, > and i didn't find a property that can store this for nt:file or > nt:folder > > thank you for any ideas > > vlad > -- > View this message in context: > http://www.nabble.com/node-types-tp20093458p20093458.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > > -- Alexander Klimetschek [EMAIL PROTECTED]
