Issue Details (XML | Word | Printable)

Key: SM-105
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Matt Raible
Reporter: Anurag Rana
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Struts Menu

Tabbed Menu is not working with Struts URL rewriting

Created: 30/Jan/10 04:41 PM   Updated: 30/Jan/10 04:41 PM
Component/s: Displayers
Affects Version/s: 2.4.3
Fix Version/s: None

File Attachments: 1. Zip Archive bug_screens.zip (25 kB)

Environment: Windows Vista Business Edition


 Description  « Hide
I created a Tabbed menu similar to http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp and made all necessary changes in menu-config.xml

The problem now is if I call my JSP directly through the browser (http://localhost:8080/Vishesh/pages/templates/TopNavMenu.jsp) it gets displayed properly, but if I use Struts URL rewriting via struts-config.xml (http://localhost:8080/Vishesh/ShowMenu.do) the tabbed menu gets displayed as a bulleted list. Refer screenshots for better understanding.

I have added this action in my struts-config

<action path="/ShowMenu"
         type="org.apache.struts.actions.ForwardAction"
         forward="/pages/templates/TopNavMenu.jsp"/>

which should redirect to my JSP if a call is made directly to http://localhost:8080/Vishesh/ShowMenu.do, it should display the tabbed menu without any issues but the tab menu gets converted into a list.

I am not sure if this is an issue or I m doing something worng.



There are no entries against this issue.