|
From: March, A. <am...@so...> - 2005-04-21 17:01:41
|
Thanks for the reply. I am interested in webflow but wow there is a lot of stuff in there. I was not sure that it was focused on multiple actions per request. I thought it was generally for multipage actions. Good to hear that it has that capability. I will take another look. It seems like a little overkill for what I need to do. Basically I just want to call 1-to-many service methods for a single request. I want to be able to configure this in the app-context preferably, so that I don't have to create a controller for every request. I opened SPR-871 to track this stuff. I attached some code that basically does what I want but is kinda ugly. =20 Then I thought it would be simpler if multiple controllers/handlers could be specified for each request. I could easily make a generic controller bean that would have a property to know which service method to call and would just stick the result in the model. At the end of all those, a final controller would return the ModelAndView. I guess it would be nice to use webflow if it already has this capability but I hope it is not too much trouble to set up. =20 Thoughts?=20 > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On Behalf > Of Seth Ladd > Sent: Wednesday, April 20, 2005 7:08 PM > To: spr...@li... > Subject: Re: [Springframework-developer] Any plans to add support for > multiple handlers per request >=20 > > Any plans to add support for multiple handlers per request? Any > > architectural reasons for not doing this? For what I'm doing, > interceptors > > really do not suit my needs. >=20 > Have you looked at Web Flows for this? It's quite easy to string > together many actions in a flow before you end up at your view state. >=20 > As for the MVC world, you could write a HandlerInterceptor that merely > delegates to a Controller (your handler). What part of the > interceptor is falling short of your needs? >=20 > Seth >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: New Crystal Reports XI. > Version 11 adds new functionality designed to reduce time involved in > creating, integrating, and deploying reporting solutions. Free runtime > info, > new features, or free trial, at: http://www.businessobjects.com/devxi/728 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer |