Skip to Content
0
Former Member
Nov 13, 2009 at 12:06 AM

Custom Layout Template

39 Views

Hi, created a custom layout par file base on the com.sap.portal.layouts.default.par which uses two tabs.

Each of the tabs has a title e.g. my details or my reports. Example of the HTMLB code is below

<hbj:textView id="mytabText1" encode="false">

<% mytabText1.setText(tabText1);%>

</hbj:textView>

The portalapp.xml has also been created as such with a reference to the tab title

<property name="tabText1" value="Tab 1">

<property name="personalization" value="dialog"/>

<property name="inheritance" value="non-final"/>

<property name="type" value="String"/>

<property name="plainDescription" value="Tab 1"/>

<property name="longDescription" value="The first tab text"/>

</property>

To display the custom page layout, I create a new page template and base my page on that template, which works. However to change the title of the tab requires me to change the template. What I would like to do is inherit the title or description of the iViews which populate the page into the tab titles. Thanks for any help in advance. Brian