on 11-14-2014 9:15 AM
Hi,
in my Webdynpro component, i have two views and i would like to decide which view to display from one parameter recovered in method HANDLEDEFAULT of the main window.
By default, the main view is displayed, but i need to display detail view in somes cases.
Thanks for your help.
Hi Eric,
Simple way of handling your requirement is to use navigation plugs.
Directly, you can define navigation links to views from window outbound plug. and can trigger to target view based on parameter.
Other way,your requirement can be achieved as below
WD_COMP_CONTROLLER->GV_PARAMETER = LV_URL_PARAMETER
if wd_comp_controller->gv_parameter = 'V_ONE'.
WD_THIS->FIRE_OUT_TO_ONE_PLG( ).
ELSE.
WD_THIS->FIRE_OUT_TO_TWO_PLG( ).
ENDIF.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.