cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed width AFP framework page

seshu_yaramala
Explorer
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

seshu_yaramala
Explorer
0 Kudos

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.

Former Member
0 Kudos

Hi Seshu,

Not sure if you have checked the [link1|http://forums.sdn.sap.com/thread.jspa?threadID=2126663&tstart=0] and [link2|http://forums.sdn.sap.com/thread.jspa?threadID=2120365&tstart=0]

Hope this helps.

Thanks, Ansar

seshu_yaramala
Explorer
0 Kudos

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.

Former Member
0 Kudos

Hi Seshu,

Check this [How to Use the Tag Library|http://help.sap.com/saphelp_tm80/helpdata/de/42/efdb279a563ee7e10000000a1553f7/frameset.htm] link.

Ansar.