on 03-31-2006 3:31 PM
Hi WebDyn Pro's,
I'm new to WebDynpro. I have a couple of basic questions about page navigation. I have simple requirements. I need to build an overview page with links to different portal roles/tabs.
I see many examples of page navigation, but I don't see how to exactly incorporate it into a WebDynpro. Where do you add this navigation code into a WebDynpro? Do you attach the code to a urlLink element somehow?
Thanks,
Kevin
Kevin,
You need to create LinkToAction controls, then action per every UI element, and, finally use Protal Eventing API to fire portal navigation events from corresponding action handlers.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answer.
I don't have it working yet, because I'm not able to fully understand all of your instructions I suppose. When I click on the link, nothing happens.
I added a LinkToAction control on my View. And I created the necessary WDPortalNavigation.navigate code in the new method created.
Here is the part I suppose I don't understand. How do I "use the Portal Eventing API to fire portal navigation events"? Can you describe that a little bit more detail?
Thanks,
Kevin
Kevin,
Try the following tutorial, it contains section on portal eventing:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial%20on%20integrating%20web%20dynpro%20in%20portal%20-%2019.htm">Integrating Web Dynpro in Portal (19)</a>
Valery Silaev
EPAM Systems
Hi Kevin,
If you need a concrete example how PortalNavigation code looks like, here it is:
WDPortalNavigation.navigateAbsolute(
PCD_ID,
WDPortalNavigationMode.SHOW_INPLACE,
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
null);
where PCD_ID looks as:
"ROLES://portal_content/other_vendors/specialist/<your company folderid>/roles/<your pcd role id>_showcase/<and here full path to the tab/page of PCD in your pcd role definition>"
Of course, in your case the structure of id might look different - according to your PCD.
You may copy the PCD_ID from PCD editor - just copy ID from the object reference in the role (just don't forget to add "ROLES://" in front of it)...
Best regards,
Nick
User | Count |
---|---|
93 | |
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.