Hi Sanath,
The issue is present in menuexpandable.js. When you click a menu the page is
loaded again and the 'id' for the menu tags generated gets changed. But
menuexpandable.js tries to open a menu whose id is the old one. So it is
unable to open the menu. So you have make sure that the menu is expanded
after the page has been loaded. I tried this way and it works.
Thanks
Ajay


Sanath wrote:
> 
> Hi Matt,
> thnx for the quick reply.
> My menu.jsp contains the following code including the "initializeMenus();
> "
> 
>       <menu:useMenuDisplayer name="ListMenu">
>       <menu:displayMenu name="MyProfile"/>
>       <menu:displayMenu name="ChangePassword"/>
>       <menu:displayMenu name="Assessments"/>
>       <menu:displayMenu name="Organizations"/>
>       <menu:displayMenu name="Employees"/>                    
>       </menu:useMenuDisplayer>
> <script type="text/javascript">
>     initializeMenus(); 
> </script>
> 
> 
> 
> 
> 
> Sanath wrote:
>> 
>> Hi All,
>>  I have used stuts menu using the menuExpandable.js for an appfuse
>> project to implement a Vertical menu. The sample implementation of the
>> menu keeps the menu item expanded when a new page is also opened but in
>> my implementation it always collapses the menu when a new page is opened.
>> I have enabled cookies in my browser .(It uses cookies to track the menu
>> status as I understood)
>> 
>> Can anyone pls help me to resolve this issue?
>> 
>> sanath
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-Menu-Expandable-tp17820439s2369p17877328.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to