you could download sources of richfaces-demo and check how that achieved for left main menu.
thnaks a lot for your reply,
can you plz tell where i will get this demo for download.
and i think they might be using Panel bar not Panel menu and have one solution i got it from Max kartz blog but it's for static menu. he is passing Id of panel menu group in value expression of menugroup like
where 'group1' is id of menugroup & this functions maintains the state of menugroups. but i am using c:foreach to iterate for different menugroup & menuitems & even i can not use dynamic id of menu group item like
it gives me el expression error.
i am really stucked at this error and i am tryind to solve it from last 2 days.
any help will be appreciated.