Hello,
I have the following context node in the component controller with context binding:
RequestCreateIncident
---ResponseCreateIncident
------incidentHeader (cardinality 1:1)
------invPersons(cardinality 0:n)
------ResponseCreateIncident
----
In the view controller context I mapped this to the component controller context.
The node involvedPersons I fill in this way:
WDCopyService.copyElements(wdContext.nodeInjuredPersons(), wdContext.nodeInvPersons());
The nodes injuredPersons and invPersons are from same model class.
If I debug this the elements of injuredPersons will be copied to invPersons. But during the execution of RequestCreateIncident with wdContext.currentRequestCreateIncidentElement().modelObject().execute(); the invPersons didn't arrive in the EJB-method.
The method looks like this: public String createIncident(IncidentHeader incidentHeader, List<Person> invPersons)
But the incidentHeader will arrive.
What's the problem?
Regards,
Armin