Clear data bag, when change tab in top level navigation!?
Hi, i had search the forum, but i don't find an answer!
I have the following problem:
We have to clear the client data bag (EPCM), when the user change the tab,
but how can i do something, when the user change? Is there a event and i only must subscript on this event, or what can i do?
I would be lucky with some ideas or a solution!
Lars
Hi Lars,
IF u are using HTMLB tabstrip then there is event for tabitem change.
For instance :
<hbj:tabStrip
id="myTabStrip1"
bodyHeight="100"
width="200"
horizontalAlignment="CENTER"
verticalAlignment="TOP"
selection="3"
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:tabStripItem
id="myTabStripItem2"
index="2"
height="80"
width="160"
onSelect="myTabStripItem2OnSelect"
title="Tab 2"
tooltip="My Tooltip for Tab 2"
>
<hbj:tabStripItemBody>
<hbj:textView
text="TextView on Tab 2"
/>
</hbj:tabStripItemBody>
</hbj:tabStripItem>
So for the change in selection u can define an event and write your logic in this event handler in ur controller.
check all the controls of tabstrip in below pdf
<a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a41cee4-0601-0010-5fb3-d8e704f88817">EP pdf</a>
Thanks
Swathi
Do offer pts:-)
Similar Messages
-
Problem with switching tabs in top level navigation for Roles
Hi,
I've created two tabs (based on two roles) in the portal top level navigation menu. When clicking the first one it opens as it should. Then when clicking on the second tab it will not open, instead the first tab open up again, it sort of switches back automatically.These two roles are basically consists of worksets and iviews(accessing to r/3).
Does anyone have any expericene with this type of problem?
please suggest me
Thanks
AravindaHi Aravinda
Please check this link
Re: Problem with switching tabs in top level navigation
Regards
Geogi -
Tab in Top Level Navigation is not highlighted when clicked on
Hi guys,
We have 1 problem in EP 6.0:
I create 1 iview(testiview), and attached to the role(testrole), assigned to 1 user, then login with that user. In top level navigation, i am able to see the role(testrole) in top level navigation, but after i clicked, the tab for this role is not highlighted, but the content of iview is displayed,
Any one knows what happened?
Thanks!
Guo FengHi Guo
You have created one role and added one iView under it.
now can u tell which one you made as entry point.
if Role is the entry point are you getting the iView link in the DTN ?
If you made iView as entry point and then you r getting the content in content area and the iView link in the top.
i think the second one happens...
Check the role and iView properties .
Make the Role as entry point..
Cheers
Chinmaya
Reward for helpful answers -
Problem with switching tabs in top level navigation
Hi,
I've created two tabs (based on two roles) in the portal top level navigation menu. When clicking the first one it opens as it should. Then when clicking on the second tab it will not open, instead the first tab open up again, it sort of switches back automatically.
Does anyone have any expericene with this type of problem?
Best regards, Olof TrönnbergHi George
On startup of the role an iview was called which opened a gif file stored in the KM. This iview wasn't added to any page so I basically did just that; added it to a page. Now the problem seems to have gone away!
Thanks! -
Changing Colour of top level Navigation
Hi,
I want to change the colour of the top level navigation. By default, the top level navigation shows two colour, sky blue and white at the bottom part. Our requirement is to change the white colour at the bottom part, so that it displays sky blue and then new colour at the bottom. Is that feasible through theme editor.
We are using SAP Netweaver Portal 7.01 Enhancement Pack 1 SP 5.
Regards
DebSeems that TLN background properties are not supported by Theme Editor, at least I cannot find it in Theme Editor.
But I have got a workaround:
1. Download your theme through Theme import/export.
2. Unpack theme zip archive.
3. Then unpack portal.zip
4. Go to AFP > images > tln folder of unpacked portal.zip.
5. Replace BgTabArea00X.gif. with your image.
6. Repack your portal.zip and theme.
7. Import theme into portal.
8. Clear HTTP Service cache and browser's cache.
Hope it helps,
Aliaksandr -
Show/Hide tabs in top level navigation of a role based on assigned services
Hi,
I have an interesting requirement. I have created an overview page in abap web dynpro which has links to various services.
Based on the r3 roles assigned to the user, we need to show/hide the services in the overview page and top level navigation.
I can show/hide the views in the overview page but the links on top level navigation are created in the portal frontend by creating worksets, iviews, etc.
Is there a way I can show or hide these worksets which are defined in the role on top level navigation?
In a nutshell, can i update the visible/invisible property of a java workset from a call in abap web dynpro?
Regards,
SumeetPlease refer the framework page [http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/02/c7918e9fca44519701c47028a053fd/content.htm]
What i meant was that you can do a custom TLN like this
[http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/42/fd515a2aa95277e10000000a1553f7/content.htm]
Seems to me java/jsp is more appropriate than doing it via WDA.
ANother way that you might look into this is Application integrator which again java programming effort needed. -
We are designing that many roles are assigned to one user.
(about 7-8 roles per user)
When many roles are assigned to the user, tabs in top level navigation bar can not be displayed without scroll horizontally.
We want to display all roles at once, without scroll.
To realize the above, roles must be displayed on 2 records
in the one top level navigation bar.
Is ther someone who knows whether top level navigation can
be displayed at 2 records on a bar, or not.
Any help or information would be appreciated.
Thank you.
Mizuka Aoyama
SAP Japan Netweaver Consulting.Mizuka,
first, you might want to reorganize your roles and possibly have a look at the "merging" feature.
Next, you might change the portals theme to use a smaller font for the top level tabs.
If both options are unsuitable, you can develop your own top level navigation component by writing some java code. Then you can make it look whatever you like to (and I mean it, it's extremely flexible, I did it early in the time of EP6 SP 0 ramp-up, but definitely takes some time).
Regards,
Dominik -
Can we control the top level navigation in portal from a java application
Hello,
I am having a scenario where User logged in to portal and assigned with 2 roles (HOME , ISA(Java application)). When user opened a form in ISA (Java application) and tried to enter the data in form and moved to another tab (e.g. HOME) in top level navigation.
When user come back to ISA (Java application) TAB , we show the page where he left earlier. I would like to know if user click any other TAB in top level navigation (Role assigned to him) while working on a page in ISA(Java application) is there any way we can catch that event before he leaves from ISA (Java application JSP page) to other TAB?
How can we control the top level navigation events in the portal from a java application .Since Top level navigation is seperate par file.
Thanks,
RNDear Rajesh,
Top Level and detailed navigation values comes with iteration in the respective par file.
Please check the par file and based on the value (i.e tab name) selected, you can write your code.
Best Regards
Arun Jaiswal -
Top-Level Navigation Tab Image
In the top-level navigation it allows you to assign background colors for the tab colors when selected or not selected. However, you can reference an image with a unique path in this field. So when the top-level navigation renders it displays an image, gradient for example instead of a background color. I did this a while back but cannot locate this information. If someone has done this before and can provide this information that would be great.
--KALI just tested it, and did not manage to make it work.
I am in the Portal Outer Frame > Top-Level Navigation > Unselected Tabs of First Level > Background Color of Unselected Tabs
and this is the value I use :
background:url(http://<host>:port/irj/go/km/docs/documents/SDN/my_image.png)
Am I missing something ? Do I have to create a par file for this ?
Edited by: Fabien REVOL on Aug 6, 2010 9:28 AM -
Show portal top level navigation in tab format to a tree fromat
hi all,
whn i assign roles to the portal they are displayed in the top level navigation in the tab format.''
Inspite of showing it in the tab format i want to show it in left croner in the tree format
>role1
>attri1
>attri2
>role2
>attri1
>attri2
Please help me in this...Awaiting for your response.Hi, you can change the Look & Feel of Portal.
See link below to create a new Portal Desktop
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e549a890-0201-0010-3f8b-d3b852457ebd&overridelayout=true
Regards,
Edson Thomaz -
Hi,
The top level navigation is always displayed as TAB. Is there any way that we can change this to appear as tree level navigation.
If yes what are the steps required >?
<b>*To be delivered asap*
Cheers,
*RAJ*</b>Hi,
Thanks for the time being mah colleage got a solution. Created 2 dummy roles test1, test 2 . Assigned Test1 to Test2, and assigned other roles to those Test2.
Went to default frame work set Tool Area, Top-Level Navigation invisible.
Now the other roles that have been assigned to test role 2 appear on detail navigation as a tree.
Not recommended but works ;).
Thanks again.
<b>Cheers,
*RAJ*</b> -
Top-level navigation tabs shape
Hi,
I need to have rounded tabs in th top level navigation, can anyone tell me if there is a easy way to do this??
Thanks in advance,Hi Marysol,
Did you find the documentation? Do you have additional questions on the navigation tag library?
Also, when you first looked for the documentation, what was the problem that caused you not to find it? How would it be better to organize the documentation?
Daniel
P.S.: If Ankur's post helped you, please consider awarding points. Thanks. -
Alternative tooltip text shown when mouseover top level navigation?
Hi,
I've gotten a request about showing a tooltip when the user has his mouse over one of the top-level navigation menus.
For example on SDN if you hold the mouse over weblogs you would get the text : "The weblog section includes short informal rants"
The standard way of doing this is to include an alt attribute in the anchor and allow the browser to render the text as it wants (which is fine by me).
The major problem I see is where do you define this text ?
It has to be attached somehow be attached to a page and therefore probably stored in the PCD.
Has anyone done an implementation on this (or tried to do one) ?
Cheers
DagfinnGot it working on my own now.
Implemented it by using the text in the description field.
Create a new top level navigation using the existing class and retrieving the value using the method defined in How to retrieve the description of a role
Then some minor changes to the jsp and js classes.
Of course I might need to redo it after an upgrade, but I just have to live with that.
Cheers
Dagfinn -
Front panel of a vi pops up when i start my top level vi how can i stop this
i have a vi that whos front panel should display when the user clicks a front panel button(test instructions),
however this vi pops up when i run the top level vi. I can manually close the vi, but how do i stop this?
i tried modifying the Sub VI Set up properties, but that doesnt work.
Solved!
Go to Solution.Hi jknapp,
As egraham has pointed out, you can customize the window appearance of your sub VI from the VI Properties. If you go to File » VI Properties, then under Category select Window Appearance and then Customize..., you should be able to control how the sub VI appears. Hope this helps!
Taylor G.
Product Support Engineer
National Instruments
www.ni.com/support -
Top level navigation repeat tab
Hi Guys,
Simple one here, just cant point my fingers to it. The top level navigation tab in my portal is repeating itsself. There are 1 additional set of tabs. HOw do i sort this out? thanks
regards,
johanFor more information on Merging Navigation Nodes and Defining the Sequence, check:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/53/89503ede925441e10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/53/89503ede925441e10000000a114084/frameset.htm</a>
Kind regards, Hilco
Maybe you are looking for
-
How can I create an HTML gallery for video? (in Lightroom..?)
Hi, I use Lightroom for photography and am able to create HTML and Flash web galleries using the Web module. I find this very useful. However, my day job requires I shoot video and needs a way to create HTML galleries that will play video (.mov) fil
-
How to add costume fields search help in BUPA collective Search Help
Hi, I need to add a new Tab in BUPA search help in transaction BPO business partner search help i need costume fields in the new search help tab, that costume fields are already added in the business partner table BUTOOO. Thanks, Harinath.
-
Hi all, I am reposting it as I was told to format the code and send it again. I am trying to parse a xml file using a jdom java code.This code works fine if I remove xmlns attribute in the root element. (I get the expected result) .If the "xmlns" att
-
DnD onto a Container (JInternalFrame)
I suspect this question must have been answered already but after much searching I've not found it. I have an JInternalFrame which contains many components. At the moment I've implemented drag and drop of data to a particular JTextArea within the JIn
-
Which PDF version to save/export to?
I'd been trying to research to find out what version Acrobat Reader version people are using. For example in 2011, according from research from AVAST, the Adobe Reader User Base was: Versions 3, 4, 5 = 3% Version 6 = 2% Version 7 = 6% Version 8 = 1