• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Programmatically expand or collapse t:panelNavigation2

Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic