on 03-04-2009 11:36 PM
Hello All,
I have created our own DC for ESS Personal Data Application ( We dont want to use sap delivered DC for personal data). DC created is fine and its working.
Now i wanted to Add Exit button in my DC and when i click that it should goto Personal Information Sub Area.
Now i did the following:
Added Used DC pcui_gp/xssfpm and pcui_gp/xssutils.
Implemented IVAC to my Webdynpro Component.
Added this code in Init method:
this.fpm = fpm;
//fpm.attachComponentToUsage(wdThis.wdGetAPI().getComponent(), wdThis.wdGetFcNavigationComponentUsage());
fpm.attachComponentToUsage(wdThis.wdGetAPI().getComponent(), wdThis.wdGetFcNavigationComponentUsage());
fpm.registerContext(wdContext);
Added this code in Exit Method:
fpm.navigate(wdThis.wdGetFcNavigationInterface().getNavigationTargetExitApplication());
The following properties are added into the application:
sap.xss.configurationComponentName - com.sap.pcuigp.xssutils.ccpcd.CcXssPcd
sap.xss.configurationComponentDC - sap.com/pcui_gp~xssutils
com.sap.tc.webdynpro.portal.oal.iViewListProviderDCName - sap.com/pcui_gp~xssutils
com.sap.tc.webdynpro.portal.oal.iViewListProviderImpl - com.sap.pcuigp.xssutils.java.XssIViewListProviderImpl
In my DC i dont have any CC (configuration component).
Basically i dont want any road map for my application. I just need Exit button and it should go to sub area page.
But my application is not working and i am getting the following Exception:
java.lang.NullPointerException
at com.sap.xss.config.FPMRepository$RepositoryKey.hashCode(FPMRepository.java:46)
at java.util.HashMap.hash(HashMap.java:261)
at java.util.HashMap.get(HashMap.java:317)
at com.sap.xss.config.FPMRepository.retrieveObjectInternal(FPMRepository.java:79)
at com.sap.xss.config.FPMRepository.retrieveObject(FPMRepository.java:66)
Any input on this is highly appreciated.
Thanks in Advance.
REgards
Vj
Hi Vijay,
On click of Exit button why don't you use WDPortalNaviagtion api's to navigate to go to personal information sub area. You can use the following api in the action handler of you Exit button.
WDPortalNavigation.
navigateAbsolute("path to iview",
WDPortalNavigationMode.SHOW_INPLACE,
WDPortalNavigationHistoryMode.NO_HISTORY,
"input parameters");
eg
WDPortalNavigation.
navigateAbsolute("ROLES://portal_content/com.aq.test.sv.WPM_SV/com.pg.test.aq923.Iview_ZCALL_TRANS",
WDPortalNavigationMode.SHOW_INPLACE ,
WDPortalNavigationHistoryMode.NO_HISTORY,
"P_INPUT=XYZ");
Regards,
Sanyev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
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.