Skip to Content
0
Former Member
Jun 09, 2009 at 09:59 AM

Working with Collections while importing Java bean Model in a Webdynpro Prj

27 Views

My WebDynpro Java application is using EJB as the business logic. We are trying to implement the Java bean model to invoke the EJB (Command Bean Pattern) and map the result to our component controller variables directly. so that lot of coding can be avoided.

I was successfull in inserting, updating and deleting data to database using this mechanism.

This was a good link

/people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes

But when I try to retrieve a collection of objects, its not working . The model relations are also given

correctly.

For example:

Name Source Role Target Role Model Class

DestinationModel.DestinationList DestinationList.untitled(0..1) DestinationList(0..n) DestinationDTO

The result values are coming till the java bean model but its not getting populated in the component or view controller context variables.

Can anybody help me on this ? A fast response will be highly appreciated...