Hi,

I have created a many to many relation between Practice and Practitioner using 
a join table the previous mailing list was useful[1]

I am not able to create wicket view where one can relate more than one 
practitioners with a practice Like a multi select combobox where I can select 
the associated practices with a practitioner.

Currently my Create Practitioner Code has only one Practice and it working: 
public Practitioner create(
                @ParameterLayout(named="Practice") final Practice practice,
                    @ParameterLayout(named="Firstname") @Parameter(optionality 
= Optionality.MANDATORY) final String firstName, 
                    @ParameterLayout(named="MiddleName") @Parameter(optionality 
= Optionality.OPTIONAL) final String middleName,        
                    @ParameterLayout(named="LastName") @Parameter(optionality = 
Optionality.OPTIONAL) final String lastName,    
...   Other code omitted)

How Can make the below code work in wicket which allows to associate more than 
one practices with Practitioner ?

public Practitioner create(
                @ParameterLayout(named="Practice") final Set<Practice> 
practices,
                @ParameterLayout(named="Firstname") @Parameter(optionality = 
Optionality.MANDATORY) final String firstName,

I am using isis version 1.4 , improved the simple Object project to get this 
work.

Is multiple selection for entities supported or should I give a view for the 
association table to mange the many to many relation ?

[1] 
http://markmail.org/message/645sphqek3lmz5uw#query:+page:1+mid:vrdkbheoh6vaq27w+state:results


Regards
Nikhil

Reply via email to