on 12-14-2004 12:35 PM
Hello,
I would appreciate if anyone would please let me know whether <b>its possible to create Tabbed Pages/iViews in Portal?</b>
My requirement is that I would like to create pages/iviews like we have the Overview Tab page or iview that appears when we login into SAP Portal.
I searched a lot on the net as well as on help pages but failed to find any useful information.
Please help me as I to snwer my senior on the same by tomorrow.
Thanks and Warm Regards,
Milind
Hi - well, your error message tells you what to do: put surrounding form-tags around the tabstrips - I also noticed, that some htmlb-items require form-tags - look at this:
<htmlb:form id ="a" method = "post">
<htmlb:tabStrip id = "myTabStrip1">
...
...
</htmlb:tabStrip>
</htmlb:form>
kind regards, Matthias Kasig
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
iViews:
You can create easily "tabbed pages" by using th HTMLB-Framework for the GUI. That's the developer way.
Just look at the docu (if You have installed the PDK on Your EP) or http://devnetmedia.sap.com/html/submitted_docs/htmlbManuals/tabstrip.html
EP6 after login:
The 1st and 2nd level navigation is created as tabbed pages (more or less visible). But this makes no sense for the 3rd level navigation which is build as tree.
OK????
Walter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Walter,
Thank you for your reply.
I tried using the code that was given using the link but I was unable to get the output.
I got an error as
" Portal Runtime Error
An exception occurred while processing a request for :
iView : JSPPAGE.default
Component Name : JSPPAGE.default
Component myTabStrip1 of class com.sapportals.htmlb.TabStrip cannot be used without a surrounding form..
Exception id: 04:32_15/12/04_0017
See the details for the exception ID in the log file "
And this is how I used the code:
<%@ taglib uri="tagLib" prefix="hbj" %>
<hbj:content id="MyContent">
<hbj:page title="PageTitle">
<hbj:form id="MyForm">
<hbj:tabStrip
id="myTabStrip1"
bodyHeight="100"
width="200"
horizontalAlignment="CENTER"
verticalAlignment="TOP"
selection="1"
tooltip="Tooltip for myTabStrip1"
>
<hbj:tabStripItem
id="myTabStripItem1"
index="1"
height="80"
width="160"
onSelect="myTabStripItem1OnSelect"
title="Tab 1"
tooltip="My Tooltip for Tab 1"
>
<hbj:tabStripItemBody>
<hbj:textView text="TextView on Tab 1" />
</hbj:tabStripItemBody>
</hbj:tabStripItem>
</hbj:tabStrip>
</hbj:form>
</hbj:page>
</hbj:content>
Also tried adding the tabStrip codes in <body> tags but did not work either.
I would appreciate if you can please help me.
Thanks and Warm Regards,
Ritu R Hunjan
Hi Ritu,
I copied the JSP in a testapplication - without any error.
Are You on EP6 ?
If yes, please check your portalapp.xml
<component name="ValidatorTest">
<component-config>
<property name="ClassName" value="test.ValidatorTest"/>
<property name="SecurityZone" value="com.sap.portal.ep50/ep50_safety"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
<property name="inheritance" value="final"/>
</property>
</component-profile>
</component>
The Taglib has to be defined properly
Walter
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.