Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in Layout Jsp component (pageId or jspName not available)

Hi,

I'm trying to create custom layout. When trying to give the Layout to Page it gaves the error in the subject "Error in Layout Jsp component (pageId or jspName not available)"

Thanks for help!

-


sample.jsp

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

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

<%@ page import="com.sapportals.portal.pb.layout.taglib.variabledef.RunMode" %>

<lyt:template>

<hbj:content id="myContext" >

<hbj:page title="Portal Page">

<table width="100%" height="*" border="2">

<TR>

<TD width="50%" valign="top" align="center" ><lyt:container id="search" /></TD>

<TD valign="top" width="50%" align="center"><lyt:container id="contentarea" /></TD>

</TR>

<TR>

<TD width="100%" valign="top" align="center" colspan="2"><lyt:container id="result" /></TD>

</TR>

</table>

</hbj:page>

</hbj:content>

</lyt:template>

-


portlapp.xml

<?xml version="1.0" encoding="utf-8"?>

<application>

<application-config>

<property name="Vendor" value="sap.com"/>

<property name="SecurityArea" value="NetWeaver.Portal"/>

<property name="SharingReference" value="com.sap.portal.htmlb,com.sap.portal.pagebuilder"/>

</application-config>

<components>

<component name="Sample">

<component-config>

<property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>

<property name="ResourceBundleName" value="pagebuilder_nls"/>

<property name="SafetyLevel" value="no_safety"/>

</component-config>

<component-profile>

<property name="ComponentType" value="com.sapportals.portal.layout"/>

<property name="com.sap.portal.pcm.Title" value="Custom Layout"/>

<property name="com.sap.portal.pcm.Description" value="Layout of two rows where the second column has been merged"/>

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

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

<property name="com.sap.portal.reserved.layout.TemplateFile" value="sample.jsp"/>

<property name="AuthScheme" value="anonymous"/>

<property name="com.sap.portal.reserved.layout.Cont1" value="search">

<property name="title" value="Search Area"/>

<property name="orientation" value="vertical"/>

<property name="designClass" value="prtlHeaderCon"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont2" value="result">

<property name="title" value="Results to Display"/>

<property name="orientation" value="vertical"/>

</property>

<property name="com.sap.portal.reserved.layout.Cont3" value="contentarea">

<property name="title" value="Content to Display"/>

<property name="orientation" value="vertical"/>

</property>

</component-profile>

</component>

</components>

<services/>

</application>

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question