Associations inside a database

1
I am creating a small app, but having problems when trying to implement a reference selector how I want it to work. In an entity, I have a the attributes 'CustomerName' and 'ProjectName' but I would like to put multiple projects to a customer, so when I open the reference selector and select a specific customer only the projects that are bound to that customer would be able to be selected. How would I bind one to the other? At the moment they are both Strings, but I can't find a way to have one a s a list. Cheers, Harry
asked
1 answers
4

You will need to set up your domain-model as to facilitate association between a CUSTOMER and a PROJECT object. Reference or reference set selectors work from that. Restricting choice-option is then done using XPATH constraints.

answered