As far as I know, Struts Menu does not support what you're looking for. However, it does support JSTL expressions in location values, so you could try setting a variable and then reading it that way.
On Mon, Feb 21, 2011 at 2:25 PM, Tiago Farias <aerob...@gmail.com> wrote: > Hello! > > I have a menu with two items. The first one, say A, links to the action > /fisco/Search. The second one links to the action /admin/console. These > namespaces are important to protect the pages of the admin role. Admin users > can access the /fisco namespace but a fisco user can't access the /admin > namespace. The problem is that initially the namespace is set to /fisco > (always).Then when I login with the admin and try to access the item B, > struts tries to find the action 'console' inside the /fisco namespace. So it > says there's no 'console' action mapped to this namespace /fisco. But that's > because he is not changing the namespace that was set in the beggining! So > he's always looking for actions inside /fisco. > I'd like to know if there's a way to set the location attribute inside the > Item tag in the menu-config.xml in a way I can set the namespace manually. > Or any other suggestion would be very appreciated as well. =] > > Regards! > > > ------------------------------------------------------------------------------ > Index, Search & Analyze Logs and other IT data in Real-Time with Splunk > Collect, index and harness all the fast moving IT data generated by your > applications, servers and devices whether physical, virtual or in the > cloud. > Deliver compliance at lower cost and gain new business insights. > Free Software Download: http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > struts-menu-user mailing list > struts-menu-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/struts-menu-user > >
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ struts-menu-user mailing list struts-menu-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/struts-menu-user