• Post Reply Bookmark Topic Watch Topic
  • New Topic

Programmatically expand or collapse t:panelNavigation2  RSS feed

 
Amit Nair
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Team

I am stuck in a problem.
In my application I have got two menus. The one which is on the top[acts as a global menu through out the application] & one on the left side of the pages. The top menu is built using javascript & h:commandLink. Left menu is tomahawk t:panelNavigation2. So now my requirement is on the click of global menu some page should open & the same should be reflected in the left menu too ie left menu must expand or collapse accordingly. Since the user is not clicking the left panel so it is not expanding. So how can we expand or collapse t:panelNavigation2 programmatically�.

I have tried using the �active� attribute of t:commandNavigation2, but it is just showing the menu selected. The sub content of menu is not seen.

Thanks in Advance
Amit Nair
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!