Re: Interceptor Stack config
You certainly have accomplished that with however, Li is right; you did not need to redefine that stack, as it's in the default xml file in struts-core. Now then, you will only see this stack associated with actions in *this* package or it's sub-pacakges and I don't see any actions defined therein. You are likely browsing actions defined in the config-browser itself. Peace, Scott On Thu, Nov 18, 2010 at 6:32 AM, RogerV wrote: > > > > Li Ying wrote: > > > > Why you define "paramsPrepareParamsStack" again? > > > > I believe it is already defined in the default configuration file, > > > > you can just use it. > > > > That's what I think I'm trying to do with the struts.xml ; > > > > > > > value="org.apache.struts2.spring.StrutsSpringObjectFactory" /> > > > > > > > > > > >dojo\..*,^struts\..* > > > > > > > > > >dojo\..*,^struts\..* > > > >input,back,cancel,browse > > >input,back,cancel,browse > > > > > > > > > > > > > -- > 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-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Re: Interceptor Stack config
Li Ying wrote: > > Why you define "paramsPrepareParamsStack" again? > > I believe it is already defined in the default configuration file, > > you can just use it. > That's what I think I'm trying to do with the struts.xml ; dojo\..*,^struts\..* dojo\..*,^struts\..* input,back,cancel,browse input,back,cancel,browse -- 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-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Interceptor Stack config
Why you define "paramsPrepareParamsStack" again? I believe it is already defined in the default configuration file, you can just use it. 2010/11/18 RogerV : > > Hi > > I'm setting up a new Struts 2 project - the first time I've started from > scratch in ages. I think it must be age, but I seem to have forgotten a lot > of the basics :( > > Could someone look at my struts.xml and tell me why the config-browser > plugin shows that I'm using the default stack rather than the > prepareParamsPrepare stack as intended. > > Regards. > > > > > > > value="org.apache.struts2.spring.StrutsSpringObjectFactory" /> > > > > > > > > > > > dojo\..*,^struts\..* > > > > > > > > > > dojo\..*,^struts\..* > > > > input,back,cancel,browse > > > 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 archive at Nabble.com. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Interceptor Stack config
li wei-4 wrote: > > 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 > It lists the interceptors in the order that 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.com/Interceptor-Stack-config-tp30239747p30247174.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Interceptor Stack config
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 from scratch in ages. I think it must be age, but I seem to have forgotten a lot of the basics :( Could someone look at my struts.xml and tell me why the config-browser plugin shows that I'm using the default stack rather than the prepareParamsPrepare stack as intended. Regards. dojo\..*,^struts\..* dojo\..*,^struts\..* input,back,cancel,browse input,back,cancel,browse - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Interceptor Stack config
Hi I'm setting up a new Struts 2 project - the first time I've started from scratch in ages. I think it must be age, but I seem to have forgotten a lot of the basics :( Could someone look at my struts.xml and tell me why the config-browser plugin shows that I'm using the default stack rather than the prepareParamsPrepare stack as intended. Regards. dojo\..*,^struts\..* dojo\..*,^struts\..* input,back,cancel,browse 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 archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org