on 01-20-2012 7:11 PM
Hi All,
I am trying to modify the AFP layout war file com.sap.portal.navigation.afp.layout.war to restrict the width of the AFP framework page to 1040 px. I have downloaded the war file and imported into NWDS and started seeing lot of errors in /com.dc.portal.navigation.afp.layout/WebContent/WEB-INF/jsp/afpFrameworkLayout.jsp, can anyone help me how to resolve these errors? I know that I have to find the respective jar files for following import errors and add to my project. I've no clue on how to find the JAR files required for following import errors.
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>
<%@ page import="com.sapportals.portal.pb.layout.taglib.variabledef.RunMode" %>
<%@ page import="com.sapportals.portal.prt.resource.IResource" %>
<%@ page import="com.sapportals.portal.useragent.IUserAgent" %>
<%@ page import="com.sapportals.portal.useragent.IUserAgentConstants" %>
<%@ page import="com.sapportals.portal.navigation.POMInspector" %>
<%@ page import="com.sap.portal.navigation.jjs.JJSArray" %>
<%@ page import="com.sapportals.portal.navigation.NavigationEventsHelperService"%>
<%@ page import="com.sapportals.portal.navigation.fpm.util.AFPPhaseConfiguration"%>
<%@ page import="com.sapportals.portal.navigation.INavigationConstants"%>
Please help me locate the necessary JARs for above imports.
Thanks,
seshu.
Hi Seshu,
Please find the jar files, with their paths.
com.sapportals.portal.pb.layout.taglib.variabledef.RunMode - com.sap.portal.pagebuilder_api.jar
path:
j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.pagebuilder\lib\com.sap.portal.pagebuilder_api.jar
com.sapportals.portal.prt.resource.IResource - prtapi.jar
path:
j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\lib\prtapi.jar
com.sapportals.portal.useragent.IUserAgent - com.sap.portal.useragent_api.jar
path:
j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.useragent\lib\com.sap.portal.useragent_api.jar
com.sapportals.portal.navigation.NavigationEventsHelperService - com.sap.portal.navigation.helperservice_api.jar
path:
j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.navigation.helperservice\lib\com.sap.portal.navigation.helperservice_api.jar
com.sapportals.portal.navigation.INavigationConstants - com.sap.portal.navigation.api_service_api.jar
path:
j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.dkv.masthead\lib\com.sap.portal.navigation.api_service_api.jar
Hope this helps.
Thanks, Ansar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Ansar. I am able to resolve all the errors with the jars you mentioned (thanks a bunch) except the below two
1) Can not find the tag library descriptor for "prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" LShapeLayout.jsp /com.dc.portal.navigation.afp.layout/WebContent/WEB-INF/jsp line 6 JSP Problem
2) epPageVariables cannot be resolved LShapeLayout.jsp /com.dc.portal.navigation.afp.layout/WebContent/WEB-INF/jsp line 25 JSP Problem
Any pointers?
Thanks,
Seshu.
Ansar, I've checked those links already, if you see link2 they also strucked at the same issue - not able resolve the error for <%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>.
As I understand we dont have to refer any particular jar file for this but still I am missing something, I am getting error saying can not find the tag library. Below is the code from my JSP and Portalapp.xml.
In afpFrameworkLayout.jsp
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>
In Portalapp.xml
<property name="PrivateSharingReference" value="SAPJ2EE::library:com.sapportals.htmlb, com.sap.portal.navigation.api_service, com.sap.portal.pagebuilder, com.sap.portal.useragent, com.sap.portal.navigation.helperservice, com.sap.portal.navigation.afp.helperservice, com.sap.portal.pcm.admin.pcdimplservice, com.sap.tcepbcprt~api, com.sap.portal.core.utils"/>
<property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
<property name="com.sap.portal.reserved.layout.TemplateFile" value="LShapeLayout.jsp"/>
Would appreciate if you have any ideas here.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.