RE: using CompositeActionMapper

2009-07-02 Thread Martin Gainty
-0400 > From: d...@newfield.org > To: user@struts.apache.org > Subject: Re: using CompositeActionMapper > > rsilva wrote: > > I dont not understand very much about Struts2 inject process but I fixed my > > problem extending the compositeActionMapper with the following one: > >

Re: using CompositeActionMapper

2009-07-02 Thread Dale Newfield
rsilva wrote: I dont not understand very much about Struts2 inject process but I fixed my problem extending the compositeActionMapper with the following one: public class DebugCompositeActionMapper extends CompositeActionMapper { @Override @Inject

Re: using CompositeActionMapper

2009-07-01 Thread rsilva
Hi, I dont not understand very much about Struts2 inject process but I fixed my problem extending the compositeActionMapper with the following one: public class DebugCompositeActionMapper extends CompositeActionMapper { @Override @Inject(StrutsConstants.STRUTS_MAPPER_COMPOSITE

Re: using CompositeActionMapper

2009-07-01 Thread rsilva
) ... 53 more Caused by: java.lang.NullPointerException at org.apache.struts2.dispatcher.mapper.CompositeActionMapper.setActionMappers(CompositeActionMapper.java:108) ... 58 more It seems Struts 2 is not injecting Container reference on CompositeActionMapper. Really strange. I

Re: using CompositeActionMapper

2008-09-28 Thread Jeromy Evans
Allen Lee wrote: Hey there, Has anyone successfully gotten CompositeActionMapper to work and how? name="addressMapper" class="com.mycompany.actionmapper.CustomActionMapper" /> name="compositeMapper" class="org.apache.struts2.d

using CompositeActionMapper

2008-09-26 Thread Allen Lee
Hey there, I'm trying to get the CompositeActionMapper working with Struts 2.1.2 (combining the Restful2ActionMapper and our own custom action mapper to handle the default index page where the Action name is null in namespace "/", i.e., http://localhost/our-app/ <http://loca

Re: CompositeActionMapper

2008-01-30 Thread neha bhatt
I wish to use CompositeActionMapper to chain multiple Custom ActionMappers. in this case I get 'Http status 404'.. Any idea regarding? Thanks, Neha Bhatt Deryl Seale wrote: > > As an update, I can obviously use url-pattern's in my web.xml to more > finely co

Re: CompositeActionMapper

2007-04-06 Thread Skylark
/CompositeActionMapper-tf3433990.html#a9872738 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CompositeActionMapper

2007-04-03 Thread Deryl Seale
es, I tried that, and all I got was an exception when I started up the application saying that an ActionMapper with the name "struts" had already been loaded, presumedly from struts-default.xml. If there is a way to make Struts use CompositeActionMapper with some configuration entry in struts.xml

Re: CompositeActionMapper

2007-04-03 Thread Deryl Seale
up the application saying that an ActionMapper with the name "struts" had already been loaded, presumedly from struts-default.xml. If there is a way to make Struts use CompositeActionMapper with some configuration entry in struts.xml, it is not obvious to me how to do it (in spite of the do

Re: CompositeActionMapper

2007-03-29 Thread Darren Salomons
apper with the name "struts" > had already been loaded, presumedly from struts-default.xml. If > there is a way to make Struts use CompositeActionMapper with some > configuration entry in struts.xml, it is not obvious to me how to do > it (in spite of the documentation

Re: CompositeActionMapper

2007-03-20 Thread Dave Newton
--- Deryl Seale <[EMAIL PROTECTED]> wrote: > I am having some trouble getting the > CompositeActionMapper to work > properly. I have the following specified in my > struts.properties: > [...] Have you tried it like this in struts.xml? (I haven't; this is what'

Re: CompositeActionMapper

2007-03-20 Thread Deryl Seale
Yes, I tried that, and all I got was an exception when I started up the application saying that an ActionMapper with the name "struts" had already been loaded, presumedly from struts-default.xml. If there is a way to make Struts use CompositeActionMapper with some configuratio

CompositeActionMapper

2007-03-20 Thread Deryl Seale
I am having some trouble getting the CompositeActionMapper to work properly. I have the following specified in my struts.properties: struts.mapper.class=org.apache.struts2.dispatcher.mapper.CompositeAction Mapper struts.mapper.composite=org.apache.struts2.dispatcher.mapper.DefaultActi