> -----Original Message----- > From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] > > > --- Joe Germuska <[EMAIL PROTECTED]> wrote: > > > > > What is your antecedent for "this"? Having an > > ActionCommand > > interface? Using an IoC container as an > > ActionFactory? Having a > > ThreadLocal store the current ActionContext? > > action factory going to IoC container for actions > exists already. ( Pico/Nanocontainer ) > > I even looked at the possibility to obtain tuile > controllers from IoC, but it's really difficult... > > regards, >
What is the use-case of obtaining TilesController from IoC container? It does not make sense to me. If Struts or other MVC container keeps a record of the TilesController (or Actions, ActionForm etc) then the component can be retrieved from Struts through the API at the correct invocation time. ==////== Usually I think it is the other way around. Inside your TilesController (or Action, ActionForm) you want to look up a service bean from a IoC assembler. -- Peter Pilgrim Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 ============================================================================== This message is for the sole use of the intended recipient. If you received this message in error please delete it and notify us. If this message was misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains and monitors electronic communications sent through its network. Instructions transmitted over this system are not binding on CSFB until they are confirmed by us. Message transmission is not guaranteed to be secure. ============================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]