You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by stanlick <st...@gmail.com> on 2007/06/27 20:08:54 UTC

Spring Injected Preparer

I am trying to discover a way to inject my Tiles "controllers" using Spring. 
My Struts 2 site is wired using Spring with the exception of the Tiles
objects.  Does anyone know if this is supported?  I'm not seeing much
traffic on the Tiles forum.

Thanks,
Scott
-- 
View this message in context: http://www.nabble.com/Spring-Injected-Preparer-tf3989965.html#a11329593
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Spring Injected Preparer

Posted by Antonio Petrelli <an...@gmail.com>.
2007/7/4, Sean Conlon <se...@gmail.com>:
>
> I have not read all the related posts, so this may have already been said,
> but the "Controller" concept is not specific to Struts-Tiles.  It is
> simply
> the "C" within the MVC pattern, which many technologies (i.e. Struts,
> Spring) use.



We were talking about the "Controller" class in Struts-Tiles, sorry if I
have been using the term "concept" instead of "class".

Antonio

Re: Spring Injected Preparer

Posted by Sean Conlon <se...@gmail.com>.
I have not read all the related posts, so this may have already been said,
but the "Controller" concept is not specific to Struts-Tiles.  It is simply
the "C" within the MVC pattern, which many technologies (i.e. Struts,
Spring) use.


On 7/2/07, Antonio Petrelli <an...@gmail.com> wrote:
>
> 2007/6/28, stanlick <st...@gmail.com>:
> >
> >
> > Does this work with Struts 2?
>
>
>
> Mmm... I don't think so... Controller is a concept of Struts-Tiles.
>
> Antonio
>

Re: Spring Injected Preparer

Posted by Antonio Petrelli <an...@gmail.com>.
2007/6/28, stanlick <st...@gmail.com>:
>
>
> Does this work with Struts 2?



Mmm... I don't think so... Controller is a concept of Struts-Tiles.

Antonio

Re: Spring Injected Preparer

Posted by stanlick <st...@gmail.com>.
Does this work with Struts 2?



mgainty wrote:
> 
> Hi Stan
> 
> Looks as if this is possible if you create your own ControllerSupport 
> classes (and config the classes as Spring Managed beans)
> http://forum.springframework.org/showthread.php?t=17091
> 
> Anyone else?
> M--
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
> 
> ----- Original Message ----- 
> From: "stanlick" <st...@gmail.com>
> To: <us...@struts.apache.org>
> Sent: Wednesday, June 27, 2007 2:08 PM
> Subject: Spring Injected Preparer
> 
> 
>>
>> I am trying to discover a way to inject my Tiles "controllers" using 
>> Spring.
>> My Struts 2 site is wired using Spring with the exception of the Tiles
>> objects.  Does anyone know if this is supported?  I'm not seeing much
>> traffic on the Tiles forum.
>>
>> Thanks,
>> Scott
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Spring-Injected-Preparer-tf3989965.html#a11329593
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Spring-Injected-Preparer-tf3989965.html#a11343662
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Spring Injected Preparer

Posted by Martin Gainty <mg...@hotmail.com>.
Hi Stan

Looks as if this is possible if you create your own ControllerSupport 
classes (and config the classes as Spring Managed beans)
http://forum.springframework.org/showthread.php?t=17091

Anyone else?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "stanlick" <st...@gmail.com>
To: <us...@struts.apache.org>
Sent: Wednesday, June 27, 2007 2:08 PM
Subject: Spring Injected Preparer


>
> I am trying to discover a way to inject my Tiles "controllers" using 
> Spring.
> My Struts 2 site is wired using Spring with the exception of the Tiles
> objects.  Does anyone know if this is supported?  I'm not seeing much
> traffic on the Tiles forum.
>
> Thanks,
> Scott
> -- 
> View this message in context: 
> http://www.nabble.com/Spring-Injected-Preparer-tf3989965.html#a11329593
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org