Re: Interceptor Stack config

2010-11-18 Thread stanlick
> > > > > > > >dojo\..*,^struts\..* > > > >input,back,cancel,browse > >

Re: Interceptor Stack config

2010-11-18 Thread RogerV
-- View this message in context: http://old.nabble.com/Interceptor-Stack-config-tp30239747p30247343.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-uns

Re: Interceptor Stack config

2010-11-18 Thread Li Ying
t;                 >                 >                    input,back,cancel,browse >                 >                 >                    input,back,cancel,browse >                 >             >           >        

Re: Interceptor Stack config

2010-11-18 Thread RogerV
they are configured, so I would expect to see the parameter interceptor listed twice. In addition, placing breakpoints on the parameter setters and the prepare method in my action confirms that I am not using the paramPrepareParam stack. Regards -- View this message in context: http://old.nabble.co

Re: Interceptor Stack config

2010-11-18 Thread li wei
Hi RogerV I don't think config-browser plugin tells you which stack are you using, it just show you all of actions in namespaces you have configured, of course, including default namespace (2010/11/18 18:18), RogerV wrote: Hi I'm setting up a new Struts 2 project - the first time I've started

Interceptor Stack config

2010-11-18 Thread RogerV
input,back,cancel,browse -- View this message in context: http://old.nabble.com/Interceptor-Stack-config-tp30239747p30239747.html Sent from the Struts - User mailing list archiv

Re: Adding annotations to the interceptor stack

2010-07-26 Thread Kevin Jones
Thanks Lukasz, I found this out the hard way :) Kevin On 26 July 2010 09:31, Lukasz Lenart wrote: > defaultStack [1] already has validation interceptor defined, you > shouldn't duplicate it. > The best way is to create your own stack and play with interceptors - > not to refer to other stack. >

Re: Adding annotations to the interceptor stack

2010-07-26 Thread Lukasz Lenart
defaultStack [1] already has validation interceptor defined, you shouldn't duplicate it. The best way is to create your own stack and play with interceptors - not to refer to other stack. [1] http://struts.apache.org/2.x/docs/interceptors.html Regards -- Łukasz + 48 606 323 122 http://www.lenar

Adding annotations to the interceptor stack

2010-07-22 Thread Kevin Jones
I'm using the REST plugin and am trying to setup annotations. My package looks like this: This works in that I ge

RE: Interceptor stack

2010-05-19 Thread Martin Gainty
e sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 19 May 2010 02:30:31 -0700 > From: roger.var...@googlemail.com > To: user@struts.apache.org > Subject: Re: Interceptor stack > > > > > Paweł Wielgus wrot

Re: Interceptor stack

2010-05-19 Thread RogerV
Paweł Wielgus wrote: > > Hi, > try to follow this example: > > http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html > I was using config-browser - that's how I knew the interceptor stack didn't contain my custom interceptors. In the end, I

Re: Interceptor stack

2010-05-19 Thread Paweł Wielgus
;                 >                 >                 >                 >                  dojo\..*,^struts\..* >                 >                 >                 >                    input,back,cancel,browse >                 >                 >              

Interceptor stack

2010-05-18 Thread RogerV
input,back,cancel,browse -- View this message in context: http://old.nabble.com/Interceptor-stack-tp28592300p28592300.html Sent from the Struts - User mail

Re: Custom interceptor stack not working

2009-12-30 Thread Sanjay Patel
it looks ok to me, You can compare your solution to mine described here: > > http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html > > Pawel, great! I got it. I was missing this: and also this line in struts.properties: struts.convention.default.parent.package=default

Re: Custom interceptor stack not working

2009-12-30 Thread Paweł Wielgus
Hi Sanjay, it looks ok to me, You can compare your solution to mine described here: http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html Best greetings, Paweł Wielgus. 2009/12/30 Sanjay Patel : > Hi, > > I am using this simple interceptor configuration, just followi

Custom interceptor stack not working

2009-12-29 Thread Sanjay Patel
Hi, I am using this simple interceptor configuration, just following http://struts.apache.org/2.1.8/docs/interceptor-configuration.html : /WEB-INF/content/index.jsp

Re: Convention plugin with custom interceptor stack

2009-04-10 Thread Ryan Chichirico
ckage, and your actions are getting mapped in Convention into another package. To fix this you need to either: make convention put your actions in the package where the interceptor stack is defined (using @ParentPackage, or setting "struts.convention.default.parent.package"), or if

Re: Convention plugin with custom interceptor stack

2009-04-09 Thread Musachy Barroso
: make convention put your actions in the package where the interceptor stack is defined (using @ParentPackage, or setting "struts.convention.default.parent.package"), or if you really need your actions to be on a different package, you can create a new one in xml, that extends the one tha

Convention plugin with custom interceptor stack

2009-04-09 Thread Ryan Chichirico
ationManager.java:55) ... 15 more I noticed on the convention-plugin page that there is a reference to using a default interceptor stack and a custom interceptor but not a custom interceptor stack. I assumed you could use either. @InterceptorRefs({ @InterceptorRef("interceptor-1"),

Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-11-16 Thread Nils-Helge Garli Hegvik
> Did what you told but now i have got an really odd behaviour. > I am using this strus config: > > >/WEB-INF/view/jasper.jsp > >/WEB-INF/view/jasper.jsp > > >

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-11-13 Thread Torsten Krah
On Friday 24 October 2008 09:57:18 Nils-Helge Garli Hegvik wrote: > If you can, I would suggest that > you re-organize your application so that every event (usually a post) > is followed by a redirect (using the redirect action result type). > That way, the "RenderDirect" action is never used. Did

[S2] ParentPackage does not properly configure the interceptor stack

2008-11-05 Thread Leonard Broman
I'm using struts 2.0.11.2 with codebehind. I have defined three different abstract packages to be able to select the interceptor stack for different actions. I configure the action using the @ParentPackage annotation selecting different packages. This, however, does not work. It seems tha

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-24 Thread Nils-Helge Garli Hegvik
> However, PRG does allow transfering objects in the session (ActionErrors, > Messages and FieldErrors for example have to be put there to show them on the > next action - have to be "handwritten" interceptor or something). > The default portlet interceptor stack already h

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-24 Thread Torsten Krah
Nvm, forget what i said - there it is: getRequest() instead of using getActionRequest ... thanks Nils pointing this to me, i think this should work. -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html Really, I'm not out

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-24 Thread Torsten Krah
Am Freitag, 24. Oktober 2008 11:09:43 schrieb Torsten Krah: > PortletActionContext.getActionRequest().getPortletSession() Some more thoughts about this. I think this is a design error in struts2. public static ActionRequest getActionRequest() { if (!isEvent()) { throw new

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-24 Thread Nils-Helge Garli Hegvik
> But the "redirectAction" is used in renderPhase and there i can't get the > ActionRequest. > > ActionRequest cannot be obtained in render phase Correct, but why do you need it in the render phase? Maybe you can decouple your action so that it completely separates the state change logic from the

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-24 Thread Torsten Krah
Am Freitag, 24. Oktober 2008 09:57:18 schrieben Sie: > If you can, I would suggest that > you re-organize your application so that every event (usually a post) > is followed by a redirect (using the redirect action result type). I still can but i don't see how it would work. If i use "redirectActi

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-24 Thread Nils-Helge Garli Hegvik
tag, 24. Oktober 2008 07:35:18 schrieben Sie: >> Is this what you're looking for? >> >> http://struts.apache.org/2.0.12/docs/interceptors.html#Interceptors-Interce >>ptorParameterOverriding >> >> Nils-H > > That won't work. > I need to overwrite

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-24 Thread Torsten Krah
Am Freitag, 24. Oktober 2008 07:35:18 schrieben Sie: > Is this what you're looking for? > > http://struts.apache.org/2.0.12/docs/interceptors.html#Interceptors-Interce >ptorParameterOverriding > > Nils-H That won't work. I need to overwrite the "defaultStack&q

Re: Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-23 Thread Nils-Helge Garli Hegvik
Is this what you're looking for? http://struts.apache.org/2.0.12/docs/interceptors.html#Interceptors-InterceptorParameterOverriding Nils-H On Thu, Oct 23, 2008 at 1:09 PM, Torsten Krah <[EMAIL PROTECTED]> wrote: > I am using my own Stack and wonder why parameter setting fails although i did > ex

Portlet, DirectRenderFromEventAction - how to change the interceptor stack?

2008-10-23 Thread Torsten Krah
I am using my own Stack and wonder why parameter setting fails although i did exclude them: dojo\..*,d-.*-(p|s|o),^struts\..* I debugged a little bit and the fault is the "renderDirect" Acti

accessing interceptor stack for static resource

2008-09-29 Thread zakary melvin
Is it possible to invoke the default interceptor stack for a static resource?  I want to use an interceptor to protect resources, but so far the only way I can prevent users from directly accessing a html or jsp is by forcing all requests through a servlet filter.  I would like to get away from

Re: default interceptor stack

2008-05-11 Thread KonTiki
(This is really "theorizing with insufficient data" but) have you checked what your packages extend from, via the "extends" property... Gabriel Belingueres-2 wrote: > > 2008/5/9, David Harland <[EMAIL PROTECTED]>: >> Is it possible to set a different

Re: default interceptor stack

2008-05-10 Thread Gabriel Belingueres
2008/5/9, David Harland <[EMAIL PROTECTED]>: > Is it possible to set a different default interceptor stack per package using > default-interceptor-ref? Yes. I have split my struts configuration into mutiple files each with a different package name. I have set the default in the fi

default interceptor stack

2008-05-09 Thread David Harland
Is it possible to set a different default interceptor stack per package using default-interceptor-ref? I have split my struts configuration into mutiple files each with a different package name. I have set the default in the first file and the default for the second in the second file but the

interceptor-stack and param problem

2008-04-10 Thread Tomasz Pankowski
Hi I have something like this: aaa bbb And the problem is, that only parmB is set, parmA have default value. To have both params set properly I must set all param on stack or on action, but how to mix it? Im usin

Interceptor Stack Help

2007-06-24 Thread Sarr, Nathan
Hello, I have been having a little trouble with the interceptor stack but I have quite a bit of info, so I'm hoping someone can help me out. Here it goes: I created my own interceptor stack with the following:

problems with file upload parameters and custom interceptor stack

2007-05-17 Thread Allen Gilliland
i am having a strange problem with doing file uploads using a custom interceptor stack. basically, if my custom interceptor stack does not directly reference the defaultStack then i am not getting request parameters from my multipart requests. the easiest way to describe it is by showing

Tiles Interceptor Stack

2007-05-17 Thread stanlick
What is a typical interceptor-stack for a Tiles app? I'm extending tiles-default now and things work okay. However, it seems awful slow! How much of this performance problem might have to do with struts.devMode = true? -- Scott [EMAIL PROTECTED]

Re: [struts 2] Simplifying the interceptor stack

2007-02-08 Thread Tom Schneider
I can confirm these results based on my own webwork profiling experience. I wouldn't worry too much about interceptors that you don't use--the penalty is very minimal. David H. DeWolf wrote: mraible wrote: Also, are there any performance reasons to have separate stacks for display only

Re: [struts 2] Simplifying the interceptor stack

2007-02-08 Thread David H. DeWolf
mraible wrote: Also, are there any performance reasons to have separate stacks for display only (list) screens vs. forms (crud)? I recently went through a series of performance monitoring and tuning and found that standard interceptors that are NOT executed are logged as taking 0ms. So, wha

[struts 2] Simplifying the interceptor stack

2007-02-08 Thread mraible
cks for display only (list) screens vs. forms (crud)? Thanks, Matt -- View this message in context: http://www.nabble.com/-struts-2--Simplifying-the-interceptor-stack-tf3196039.html#a8874246 Sent from the Struts - User mailing list a