Hi Aleksandr 

Thanks a lot for your quick reply. activeOnViewId worked for me...

Regards
Amit



Aleksandr Mazur wrote:
> 
> Hi Amit
> 
> Using activeOnViewId attribute might be helpfull. 
> You can open menu item using toggleOpen() method.
> 
> Best regards,
> Aleksandr 
> 
> 
> 
> Amit Nair <[EMAIL PROTECTED]> 
> 02.02.2007 13:22
> Please respond to
> "MyFaces Discussion" <[email protected]>
> 
> 
> To
> [email protected]
> cc
> 
> Subject
> Programmatically expand or collapse t:panelNavigation2
> 
> 
> 
> 
> 
> 
> 
> 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
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Programmatically-expand-or-collapse-t%3ApanelNavigation2-tf3160128.html#a8764735
> 
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Programmatically-expand-or-collapse-t%3ApanelNavigation2-tf3160128.html#a8765413
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to