Re: S2: possibly strange namespace use case

2008-07-31 Thread Andy Law
Jeromy Evans - Blue Sky Minds wrote: > > > True. The Struts 2 in Action book goes into the next level detail: > > http://www.manning.com/dbrown/excerpt_contents.html > > but still doesn't cover exactly what you're trying to do. I know others > works are in progress but not the details or sc

Re: S2: possibly strange namespace use case

2008-07-31 Thread Jeromy Evans
Andy Law wrote: There's nothing better than a good book though. That's agreed! What do you recommend? I have Kurniawan's "Struts 2 Design and Programming" and Roughley's "Practical Apache Struts2 Web 2.0 projects" and "Starting Struts 2". None of them go into any kind of detail about th

Re: S2: possibly strange namespace use case

2008-07-31 Thread Andy Law
Jeromy Evans - Blue Sky Minds wrote: > > >> A short follow-up. Can you point me towards a description of where/when >> the >> Action object gets created and where Interceptors fit into the process. >> > > The architect's guide is a good place to start. > > http://struts.apache.org/2.0.11.2/d

Re: S2: possibly strange namespace use case

2008-07-30 Thread Jeromy Evans
Andy Law wrote: Jeromy, That's enormously helpful - thanks. A short follow-up. Can you point me towards a description of where/when the Action object gets created and where Interceptors fit into the process. The architect's guide is a good place to start. http://struts.apache.org/2.

Re: S2: possibly strange namespace use case

2008-07-30 Thread Andy Law
Jeromy Evans - Blue Sky Minds wrote: > > Andy Law wrote: >> >> e.g. >> /foo/Action1.action runs action1 passing in 'foo' and /bar/Action1.action >> runs the same action passing in 'bar'. >> >> How should I code/configure/build this kind of thing. >> > > > In Struts 2.0.x, you may be able to

Re: S2: possibly strange namespace use case

2008-07-28 Thread Jeromy Evans
Andy Law wrote: e.g. /foo/Action1.action runs action1 passing in 'foo' and /bar/Action1.action runs the same action passing in 'bar'. How should I code/configure/build this kind of thing. In Struts 2.0.x, you may be able to use wildcards in the namespace depending on how many variation

S2: possibly strange namespace use case

2008-07-28 Thread Andy Law
All, I have a usecase that I can't find any docs for in the usual places. Of course, it may just be that I'm not looking hard enough. However, I wonder if anyone else has done this kind of thing. My problem is this... I have a series of actions that map to distinct urls ... /Action1.action, /Ac