But with User.members -> groups is a link to the Group Directory.
For example:
<xs:schema targetNamespace="http://www.nuxeo.org/ecm/schemas/user/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:nxs="http://www.nuxeo.org/ecm/schemas/user/">
<xs:include schemaLocation="base.xsd" />
...
<xs:element name="petnames" type="nxs:stringList"/>
</xs:schema>
I would then want a User and Petnames table created with the Petnames
having 2 columns, USER_ID and PETNAME. There would be no directory
called Petname.
[email protected] wrote:
This is the way the relation members->groups are done. Look at the
reference and inverserReference properties of the user and groups
directories for a sample.
I'm not sure if the foreign key is set at creation automatically (i
think not).
Le 12 févr. 09 à 11:29, Sean Radford a écrit :
Hi,
I think I already know the answer to this question is no, but thought
I'd ask it anyway.
Is there are way to define a simple 'collection' type property for a
Directory? e.g. a simple StringList but where the list of Stings does
not represent a lookup into another Directory. Or to put it another
way, a 2-table one-to-many relationship with a foreign key constraint
from the child to the parent.
?
Regards,
Sean
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Damien METZLER
SIF - Leroy Merlin France - Tel : 03 28 80 89 03
Ce message et toutes les pièces jointes sont établis à l'attention
exclusive de leurs destinataires et sont confidentiels. Si vous
recevez ce message par erreur, merci de le détruire et d'en avertir
immédiatement l'expéditeur. L'internet ne permettant pas d'assurer
l'intégrité de ce message, le contenu de ce message ne représente en
aucun cas un engagement de la part de Leroy Merlin.
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm