on 06-13-2007 8:54 AM
Hello All,
I have to go to next page on the click of button and also pass the value of the first view to the next view.
One more query as dynpro in MVc based. How we use the model class in the dynpro.
Regards
Harpreet
Hi Harpreet.
For this you have to add the node to the context controller's context.
Then map this node to your first view per drag and drop in the view controller.
In the next view do this mapping too. Then you can access the values set in the first view in the second view.
If you have the node in the component controller you can map this node to any view in the component and share it between the views.
Cheers,
Sascha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Harpreet,
Just create the node with that attribute in component controller and map the node in the two views which u are using.
first in the first view bind the value to the node and in the second view just read the node and u can get the values from the first page.
As of now model class is not supported in Webdynpro for ABAP>
CHeers,
Madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The second method is , pass the values throught plugs.which means , define the parameters in the inbound and outbound plugs and create a navigation link between them
Thanks
Anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Define all the data that you need to share across views in the component controller. You should create context nodes and attributes just as you do in the view. Then define a mapping between the component controller and the view's context. In the view's context, in the right side, you can see the component controller's context nodes. drag and drop the nodes you want to use.
This node can be now accessed as the view's node itself. When you want to pass data, do a set attribute from your first view, fire the outbound plug, do a get attribute in the next view. The same context node should be mapped in both views.
Hope this helps.
Regards
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.