on 01-24-2011 2:10 AM
Dear All expert,
I want to navigate from one view of a viewset to another compnent which defined in the usage. What kinds of steps I should take ?
Thansk for your information.
First you need to define an outbound Plug in the view from where you are navigating from.
In the outbound plug put the code
view_manager->navigate( source_rep_view = rep_view
outbound_plug = 'NavigationLinkName' ).
Define Event handler on which the navigation has to happen.
- Call the outbound plug name that you defined earlier
You need do the following
in the Runtime repository
- Define a Navigation Link with name 'NaviagtionLinkName
- Specify the soruce view and target viewset name
If you viewset is not display. Go to the Window in Runtime reportsitory and add the viewset to the available view.
Thanks
Shyam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks for your reply.I did the step and I debug the process. I already reached ACTIVATE_TARGET of the implementation class of the main window.But then I got error .It seems in activate_target.It did not get the controller of the target view.It just use the current controller of the main window as the controller.
I am navigating from z* component to BT146I_SRVM.
By the way, I redefined the method WD_USAGE_INITIALIZE but it never be processed.
Thanks in advance.
Edited by: Edward on Jan 24, 2011 1:30 PM
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.