on 09-22-2005 10:59 AM
Hi,
I have a requirement where, in my WebDynpro application I have two iViews. And these are to be provided as two seperate action links to user in the Portal browser,
leading to the possibility of user dynamically choosing any one of the shown two iViews.
My need is to initiate the WebDynpro application such that it shows the selected iView as the default one. For this I need to first send some parameter to the WebDynpro specifying the iView to be shown.
How can I do this.....?
Thanks in Advance,
Warm Regards,
Swapna Priya.
Hi Swapna,
Not sure if I can help you. From what I understand, I'll offer you a solution. As you are triggering the WD views through action links, you can pass a parmeter through your Url.
For the first view let your Url look like :-
http://....../<project_name>/<application name>?param=first
and the url for your second view be
http://....../<project_name>/<application name>?param=second
Now let First view be your default view. Create a plug from this view to the second view.
In the wdDoInit() of the first view read the url parameter like :
WDWebContextAdapter.getWebContextAdapter().getRequestParameter("param");
if the value received is "second" fire the plug to the second view.
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swapna Priya,
Do go through these links ::
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on inter-application-navigation - 15.htm
/people/jochen.guertler/blog/2004/11/23/web-dynpro-best-practices-how-to-navigate-between-different-web-dynpro-applications
U can very well do it using exit plugs but you will not be able to navigate back to your parent View or application i think.
There is one more way. U can go for EPCF eventing.
You will have one WebDynpro project where you will create different applications and components and then do this EPCF eventing so that you have the back navigation also.
Go through this urls they may be helpful::
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/po... integration of web dynpro applications.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on integrating web dynpro in portal - 19.htm
All the very best,
Regards,
Sirisha.R.S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Swapna Priya Neemkar,
You can pass parameters to dynpro application using inbound plugs parameters of interface view.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.