Re: Get Action method name in Struts 2.2.X

2011-08-10 Thread styl9090
Thanks Jason, I just figured that out before i see your response. -- View this message in context: http://struts.1045723.n5.nabble.com/Get-Action-method-name-in-Struts-2-2-X-tp4687277p4687436.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Get Action method name in Struts 2.2.X

2011-08-10 Thread styl9090
I am just able to get the answer.. You can get action name and method names using ActionProxy object. *ActionProxy.getActionName(), ActionProxy.getMethod()* -- View this message in context: http://struts.1045723.n5.nabble.com/Get-Action-method-name-in-Struts-2-2-X-tp4687277p4687431.html Sent from

RE: [struts-user] Get Action method name in Struts 2.2.X

2011-08-10 Thread Jason Pyeron
> -Original Message- > From: styl9090 > Sent: Wednesday, August 10, 2011 16:56 > Subject: [struts-user] Get Action method name in Struts 2.2.X > > Hi, > > I am migrating my application from Struts 2.0.X to 2.2.3. In > 2.0.x I used to get the struts action and method names using > *Act

Get Action method name in Struts 2.2.X

2011-08-10 Thread styl9090
Hi, I am migrating my application from Struts 2.0.X to 2.2.3. In 2.0.x I used to get the struts action and method names using *ActionContext.getContext().getName();*, this returns action along with method like "test!getUser", but in latest version getName() does not return method, it only returns

Re: Performing Shiro Authorization Checks inside a Struts2 Action Class

2011-08-10 Thread Maurizio Cucchiara
On 10 August 2011 16:49, wrote: > > Is my only option to use an interceptor that will process the shiro > annotations? IMHO The interceptor way is the best option, why do you consider it as the last one? Unfortunately I am not a Shiro guru, but AFAIU from here [1] you can integrate every Shiro's

Re: Performing Shiro Authorization Checks inside a Struts2 Action Class

2011-08-10 Thread Dave Newton
On Wed, Aug 10, 2011 at 10:49 AM, wrote: > Struts will ignore the shiro annotations which is expected . > Not sure what that means. >@RequiresPermissions("account:create") >public String createAccount(){ > > Is it possible to get configure struts to process the annotation? > P

Performing Shiro Authorization Checks inside a Struts2 Action Class

2011-08-10 Thread mmckenzie
Hello, I've been tasked with implementing the shiro authorization framework in struts2. Struts will ignore the shiro annotations which is expected . Example: public class AccountAction extends ActionSupport { ... @RequiresPermissions("account:create") public String createAcco

DISC test

2011-08-10 Thread Frans Thamura
hi all can check? http://m.mervpolis.com, our psychological test apps, using jqm, server s2-spring-hibernate if u using non web, will be redirect to full page web, at www.mervpolis.com, we still not ready to make the mobile user people, redirect from www to m. stay tune :0 we also create REST f

Re: Using s:actionerror

2011-08-10 Thread Christian Grobmeier
Hello Maurizio, thanks for your kind help. But it was all my fault. I used validation annotations for fields but missed the fact I need instead of . Now the difference is clear and everything works as expected. Sorry for the noise :-) Cheers, Christian On Tue, Aug 9, 2011 at 5:35 PM, Maurizio C