Re: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Musachy Barroso
#action will give you a reference to the last executed action. musachy On Mon, May 12, 2008 at 12:10 PM, Allen, Daniel [EMAIL PROTECTED] wrote: Hi, all. I'm using Sitemesh decorators on my Struts2 project to create a generic header menu. However, I'd like to use a CSS class to highlight

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
-Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 12:45 PM To: Struts Users Mailing List Subject: Re: [s2] Getting the current Action name in a JSP? #action will give you a reference to the last executed action. musachy On Mon, May 12, 2008

Re: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Musachy Barroso
Subject: Re: [s2] Getting the current Action name in a JSP? #action will give you a reference to the last executed action. musachy On Mon, May 12, 2008 at 12:10 PM, Allen, Daniel [EMAIL PROTECTED] wrote: Hi, all. I'm using Sitemesh decorators on my Struts2 project to create

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
So that's what #action gets? That's really useful, thanks! ~DVA -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 1:52 PM To: Struts Users Mailing List Subject: Re: [s2] Getting the current Action name in a JSP? Under struts.actionMapping

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Dave Newton
:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 1:52 PM To: Struts Users Mailing List Subject: Re: [s2] Getting the current Action name in a JSP? Under struts.actionMapping there will be an object of type org.apache.struts2.dispatcher.mapper.ActionMapping with fields: extension, name, namespace

Re: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Musachy Barroso
Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, May 12, 2008 12:45 PM To: Struts Users Mailing List Subject: Re: [s2] Getting the current Action name in a JSP? #action will give you a reference to the last executed action. musachy

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
Subject: Re: [s2] Getting the current Action name in a JSP? %{#struts.actionMapping} -Action Mapping %{#action} - Last executed action musachy On Mon, May 12, 2008 at 3:05 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Allen, Daniel [EMAIL PROTECTED] wrote: So that's what #action gets? That's really

Re: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Musachy Barroso
:07 PM To: Struts Users Mailing List Subject: Re: [s2] Getting the current Action name in a JSP? %{#struts.actionMapping} -Action Mapping %{#action} - Last executed action musachy On Mon, May 12, 2008 at 3:05 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Allen, Daniel [EMAIL

RE: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Allen, Daniel
Oh, ok. I was just in the middle of poking around the debug info to see why that wasn't working. Thanks, ~DVA -Original Message- From: Allen, Daniel Sent: Monday, May 12, 2008 3:11 PM To: Struts Users Mailing List Subject: RE: [s2] Getting the current Action name in a JSP? Ok, thanks

Re: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Volker Karlmeier
, 2008 3:11 PM | To: Struts Users Mailing List | Subject: RE: [s2] Getting the current Action name in a JSP? | | Ok, thanks for the clarification. | | What is the Java type of #struts? I'd like to take a look at the docs to | see what else I can get out of that. | | ~DVA | | -Original Message