WebSphere Portal Server - Auto collapsible - Context sensitive menus

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > July 2005 > Auto collapsible - Context sensitive menus





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Auto collapsible - Context sensitive menus

2005-07-06, 5:53 pm

I have need to develop left hand navigatio with auto collapsible context sensitive menus in WPS v5.1.1

The layout is
MainPage1
Label-A
Page-A1
Page-A2
Label-B
page-b1
page-b2
Label-C
Label-c1
page-c1.1
page-c1.2
Main Page 2
Page D
Page-d1
page-d2

What I want to do is build a navigation tree like above with auto collapsible feature. Active node should be expanded and all other nodes are collapsed. Example: when user clicks on page-A1, Label-A is exapnded where as all other are in collapsed state.

I made changes to the LayeredContainer.jsp with Object Model API. It works pefect for navigation with pages (multiple level), does not work with Label.

The code below returns null, when a Label is selected,
if (wpsSelectionModel.isNodeInSelectionPath(wpsNavNode)){

So How to detect a label has been selected or it is in the slection path. I will appreciate if you can share some thoughts on this.

Sanjay
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com