Sounds complicated. I don't use struts-layout so I don't know that I'm that interested in *fixing* struts-menu so it works with it. Maybe you should check with them and see why they don't support the latest struts-menu - and why they care what version of struts-menu you're using?
Matt > -----Original Message----- > From: Parag Pattewar [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 9:24 PM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: RE: Struts-Menu (Support URL Re-writing) > > > Hi Matt > > I am using JDK1.4 and Struts-Menu1.1. > I tried to do the same thing with struts-menu2.1 , but as I > am using struts-layout1.1 its not supporting struts-menu2.1 > Can you help me to get the compatible version of > Struts-Layout2.1 and struts-menu2.1.Which will support the > action and forward attribute for the <menu> and <item>. > > Thanks > Parag > > > -----Original Message----- > From: Matt Raible [mailto:H > Sent: Tuesday, January 20, 2004 7:32 PM > To: 'Struts Users Mailing List' > Subject: RE: Struts-Menu (Support URL Re-writing) > > > I need to know a couple things to help you with this problem. > > 1. What version of Struts Menu are you using? > 2. Which displayer are you using? > > > Also, knowing what platform (OS) and JDK version you're using > can't hurt. > > Matt > > > -----Original Message----- > > From: Parag Pattewar [mailto:[EMAIL PROTECTED] > > Sent: Monday, January 19, 2004 10:34 PM > > To: Struts Users Mailing List > > Cc: [EMAIL PROTECTED] > > Subject: RE: Struts-Menu (Support URL Re-writing) > > > > > > Hi > > > > If I change below location attribute to action attribute > for <Menu> as > > well as from <Item> then > > > > For menu link I am getting > > > > http://localhost:8080/cust/null/expandedMenu=CsrAccountInformation > > > > and For Item link I am getting > > > > http://localhost:8080/cust/null instead of > > http://localhost:8080/cust/personalDataLoad?expandedMenu=CsrAc > > countInformati > > on > > > > <Menu name="CsrAcctInfo" title="" action="/accountinfoview" > > > <Item name="AcctCon" title="Contact" > > action="/personalDataLoad?expandedMenu=CsrAccountInformation"/> > > <Item name="ClsAcct" title="Close" > > > action="/closeAccountPageRouter?expandedMenu=CsrAccountInformation"/> > > </Menu> > > > > Why this null is coming, is it coming bacause of some path > problem. I > > checked the entry of /accountinfoview and all actions > mentioned above > > in my struts-config.xml, the entries are there. > > > > Thanks in advance for the Help. > > > > Regards > > Parag > > > > -----Original Message----- > > From: Matt Raible [mailto:[EMAIL PROTECTED] > > Sent: Saturday, January 17, 2004 9:20 PM > > To: 'Struts Users Mailing List' > > Subject: RE: Struts-Menu (Support URL Re-writing) > > > > > > Change the "location" attribute to a "action" attribute, where the > > value of "action" matches the "path" of your action mapping. For > > example: > > > > <Menu name="CsrAccountInformation" title="" > > action="/accountinfoview"> > > > > If you are using 2.0, this should work. If it doesn't, let me know > > what displayer you're using and I'll fix it. > > > > Matt > > > > > -----Original Message----- > > > From: Parag Pattewar [mailto:[EMAIL PROTECTED] > > > Sent: Saturday, January 17, 2004 12:05 AM > > > To: Matt Raible; 'Struts Users Mailing List' > > > Subject: RE: Struts-Menu (Support URL Re-writing) > > > > > > > > > > > > Hi > > > I am having previous implementation of struts-menu as below > > > > > > <Menu name="CsrAccountInformation" title="" > > > location="accountinfoview.do" > > > > <Item name="act" title="Con" > > > location="personaldtd.do?expMenu=AcctInfo"/> > > > <Item name="cas" title="Clo Acct" > > > location="clsRouter.do?expMenu=AcctInfo"/> > > > </Menu> > > > > > > I have changed it as below, is it the correct way of using > > action and > > > forward attributes in struts-menu. > > > > > > <Menu name="CsrAccountInformation" title="" > > > location="accountinfoview.do" > > > > <Item name="act" title="Con" > > > action="personaldtd.do?expMenu=AcctInfo"/> > > > <Item name="cas" title="Clo Acct" > > > forward="clsRouter.do?expMenu=AcctInfo"/> > > > </Menu> > > > > > > > > > > > > -----Original Message----- > > > From: Matt Raible [mailto:[EMAIL PROTECTED] > > > Sent: Friday, January 16, 2004 8:44 PM > > > To: 'Struts Users Mailing List'; 'Parag Pattewar' > > > Subject: RE: Struts-Menu (Support URL Re-writing) > > > > > > > > > Struts Menu makes use of Struts classes to support "forward" and > > > "action" attributes. If you use those, you'll likely get the > > > re-writing you're looking for. I did this on a previous > > project and > > > did find that the "forward" attribute worked, but not the > "action" > > > attribute. I believe this is a bug in Struts since it should do > > > rewriting when looking up an Action's path. > > > > > > The one issue with re-writing is that if you're using a menu that > > > matches URLs (i.e. tabbed-menu) - they probably won't get > > matched up. > > > At a previous project, we were using URLs to highlight > the current > > > page we were on and we found that we had to use the > > "action" attribute > > > or the "page" attribute so that the jsessionid wasn't > appended. Of > > > course, we could've stripped this off in our Velocity > > template, but we > > > wen't with the quick, less-logic, way. > > > > > > To see this project, go to http://telluride.resortquest.com > > and drill > > > down a bit. The menu with highlight is on the right. BTW, > > this site > > > uses the Velocity displayer for both the top menu and the > side menu. > > > > > > If you're not familiar with struts-menu, checkout the demo at > > > http://raibledesigns.com/struts-menu. > > > > > > Matt > > > > > > > -----Original Message----- > > > > From: Edgar P Dollin [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, January 16, 2004 7:54 AM > > > > To: 'Parag Pattewar'; [EMAIL PROTECTED] > > > > Subject: RE: Struts-Menu (Support URL Re-writing) > > > > > > > > > > > > You have the source to struts and the source to > > > struts-menu, grab the > > > > code from struts and plug it into struts-menu and submit a > > > patch. You > > > > might need a menu-config.xml option to indicate that you > > > will be url > > > > rewriting. > > > > > > > > Edgar > > > > > > > > -----Original Message----- > > > > From: Parag Pattewar [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, January 16, 2004 7:21 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: Struts-Menu (Support URL Re-writing) > > > > > > > > > > > > Hi all > > > > > > > > How do I change Struts-Menu implemention, so it can support URL > > > > ReWriting for session tracking? > > > > > > > > Thanks and Regards > > > > Parag Pattewar > > > > Persistent Systems Private Limited > > > > "Bhageerath" > > > > 402, Senapati Bapat Road > > > > Pune 411016 > > > > India > > > > > > > > Tel: +91 (20) 2567 8900 extn. 2640 > > > > Fax: +91 (20) 2567 8901 > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]