Re: [Mav-user] how to get command name from Controller context?

2005-12-20 Thread Jeff Schnitzer
Another option would be to use an xsl that creates parameters to the controller with the name of the command. Jeff Dan Finkelstein wrote: here's what I use... I hope this helps, Dan /** * retrieve the maverick command */ public String getCommand() { // - this t

Re: [Mav-user] how to get command name from Controller context?

2005-12-20 Thread Dan Finkelstein
here's what I use... I hope this helps, Dan /** * retrieve the maverick command */ public String getCommand() { // - this technique was taken from Maverick's Dispatcher.extractCommandName() HttpServletRequest req = getCtx().getRequest(); String pa