AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
I'm sorry - found it.. Just ignore my last message! That will return an object of this type: http://struts.apache.org/2.0.11.1/struts2-core/apidocs/org/apache/struts 2/dispatcher/mapper/ActionMapping.html musachy On Thu, Jun 26, 2008 at 11:21 AM, Jan Froehlich <[EMAIL PROTECTED]> wrote: >

AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
Well, ok - found that already - but I got no Idea what method returns my desired action. That will return an object of this type: http://struts.apache.org/2.0.11.1/struts2-core/apidocs/org/apache/struts 2/dispatcher/mapper/ActionMapping.html musachy On Thu, Jun 26, 2008 at 11:21 AM, Jan Froehli

Re: Something like getCurrentAction(...)

2008-06-26 Thread Musachy Barroso
That will return an object of this type: http://struts.apache.org/2.0.11.1/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/ActionMapping.html musachy On Thu, Jun 26, 2008 at 11:21 AM, Jan Froehlich <[EMAIL PROTECTED]> wrote: > Can you give me a quick hint, how I can access what I need?

AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
Can you give me a quick hint, how I can access what I need? Not sure what I should search for Try this: http://struts.apache.org/2.x/docs/how-do-we-access-the-action-invocation -action-name-or-namespace-from-a-view.html On Thu, Jun 26, 2008 at 10:15 AM, Jan Froehlich <[EMAIL PROTECTED]> wrot

Re: Something like getCurrentAction(...)

2008-06-26 Thread Musachy Barroso
Try this: http://struts.apache.org/2.x/docs/how-do-we-access-the-action-invocation-action-name-or-namespace-from-a-view.html On Thu, Jun 26, 2008 at 10:15 AM, Jan Froehlich <[EMAIL PROTECTED]> wrote: > Something I forgot to tell > > I already tried the way using the but as > I use a default

AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
Something I forgot to tell I already tried the way using the but as I use a default action for most of my calls its not a possibility... Hi all, As I am not sure if I can explain the whole context of my problem just a short description of what I got and what I want: I got an Action extend

Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
Hi all, As I am not sure if I can explain the whole context of my problem just a short description of what I got and what I want: I got an Action extending ActionSupport where I added a getCurrentAction() method. public String getCurrentAction() { String sRequestURL = getR