on 01-23-2008 9:10 AM
Hi experts,
My web dynpro view would like to first retrieve some details such as name, user id and division informations, at the same time require user to input leave date, leave reason and so on.
Thus there is a webservice that has two services:
1) getUserDetails ( userid )
2) saveUserLeave (Leave Details)
where
(1) getUserDetails will return
UserDetails class that has
division Name
departmentName
and
(2) saveUserLeave
LeaveDetails class has:
userid
division Name
departmentName
leaaveDate
leaveReason
are to send as request : saveUserLeave
In the Mode context:
Request_UserDetails
*-> UserDetails
*-------> userid |
*-------> divisionName
*------> departmentName *Response | > ...
*-> UserDetails |
*-------> userid
*-------> divisionName |
*------> departmentName
*-------> leaaveDate |
*-------> leaveReason
I have problem doing the data binding for the context. This is because initially, I have map the context,
Request_UserDetails
*-> UserDetails
*-------> userid |
*-------> divisionName
*------> departmentName *Response | > ... and the view
*-> UserDetails |
*-------> userid
*-------> divisionName |
*------> departmentName
*Response
| -
> ...
Next I bind the layout of the field to the UserDetails to display layout.
The problem occur, when I want to map the Leave details since those field such as division Name and departmentName already map to UserDetail.
In this case, how would like map my component model context and subsequently my view context? can advise?
Thanks
Hi,
If I am not wrong then you are getting error while you try to drag your model node to the component controller.
If yes then while you get that error then just rename the names on the node (may be append 1) and then say OK and Finish.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.