cancel
Showing results for 
Search instead for 
Did you mean: 

Modify AFP Layout

Former Member
0 Kudos

Hi, I need to modify the layout of the AFP, so i download the file com.sap.portal.navigation.afp.layout, but when i import the proyect in the nwds 7.3, i have many errors with imports, many of whom could solve importing the respective jars but the are 3 that i could't solve:

com.sap.portal.navigation.jjs.JJSArray

com.sapportals.portal.pb.layout.taglib.variabledef.RunMode

prt:taglib:com.sap.portal.reserved.layout.TagLibLayout

Could someone tell me in whichs jars are?

Thanks.

Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

abdulbasit
Active Contributor
0 Kudos

Hi,

JJSArray is in

com.sap.portal.navigation.afp.helperservice\root\WEB-INF\lib\com.sap.portal.navigation.afp.helperservice_api.jar

Abdul.

seshu_yaramala
Explorer
0 Kudos

com.sapportals.portal.pb.layout.taglib.variabledef.RunMode is avaialable in 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

Former Member
0 Kudos

Thank you both for the responses, the only thing that remains is "prt:taglib:com.sap.portal.reserved.layout.TagLibLayout", regards.

abdulbasit
Active Contributor
0 Kudos

Hi,

You don't need to include any jar to use

"prt:taglib:com.sap.portal.reserved.layout.TagLibLayout"

I think you are trying to create a layout, just include the following line into your jsp :

<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout"
prefix="lyt"%>

and in the portalapp.xml file add the following property:

<property name="com.sap.portal.reserved.layout.TagLibLayout"
value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>

This will be enough to use Layout Tag Libraries...

Regards.

Abdul.

seshu_yaramala
Explorer
0 Kudos

True, I tried importing the standard AFP layout com.sap.portal.navigation.afp.layout.war into 7.3 developer studio and after adding the necessary jars all errors resolved except for the <%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>

Were you guys able to resolve it?

abdulbasit
Active Contributor
0 Kudos

Can you check your portalapp.xml file.

Probably you don't have "com.sap.portal.pagebuilder" in your SharingReference (or PrivateSharingReference) tag in your portalapp.xml file.

Abdul.