Forums Register Login

Websphere v6.1 question

+Pie Number of slices to send: Send
Hi,
I hope I've landed in the right place-hopefully it'll be more use than the InfoCenter

I've added a few pages under a label (the label has a unique name). In topnav.jspf I have the following navigation code....


This works fine, ie just the pages under the Label are shown in the topnav. However when I select one of the pages, the page shows it's siblings in the sidenav -which is not what I want to happen. Setting the pages' navigation theme in Portal Admin doesn't make any difference. So, I'm trying to find a way to tweak sideNav.jspf to not show a menu if a page is a child of the Label with the uniqueName. Trouble is I can't find an easy way to do it

using I can ascertain if the parent node is a label or not but then how do I retrieve the scopeUniqueName from the Label ???

[ November 16, 2007: Message edited by: Mike Halford ]
[ November 16, 2007: Message edited by: Mike Halford ]
+Pie Number of slices to send: Send
Were you able to solve it.. I can give a try if you still have problem.. mail me your requirement and what you tried till now..
+Pie Number of slices to send: Send
 

Originally posted by Sanjay Kannan:
Were you able to solve it.. I can give a try if you still have problem.. mail me your requirement and what you tried till now..



Hi, I ended up editing sideNav.jspf and stepping over the side nav code if the parent of the current node is the relevant label eg:


...

[ November 27, 2007: Message edited by: Mike Halford ]
Alas, poor Yorick, he knew this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2613 times.
Similar Threads
finding the jsp
Checking for error messages
Need help with customization problem...
Need help with a JSP problem i just ran into involving loops...
multiple portlet config in WSAD
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:50:32.