I think that could work.
Thanks for the tip

On Mon, Feb 16, 2009 at 3:36 AM, Jonathan O'Connor <ninki...@eircom.net>wrote:

> Travis,
> I don't know Tap 4, so, I don't know if the approach I will describe can
> work.
>
> I was able to integrate Tapestry 5 with Struts 1. I followed the approach
> described by Kent Tong in his E-Book on Tapestry 4.
> 1. The main problem is setting up the session. As struts is a thin layer on
> top of the Servlet API, this is fairly easy. I reimplemented our login page
> in Tapestry 5, and part of that creates the old struts session object in the
> HttpSession. Tapestry 5, itself, creates its own session objects.
> 2. Any links from a Tapestry 5 page to a struts page and vice versa, are
> basically hard-coded.
>
>
>
> On 14/02/2009 04:22, Travis Romney wrote:
>
>> I've been upgrading an application from tapestry 4 to tapestry 5.
>> The application is quite large, so we're just migrate a few pages here and
>> there.
>> I've created some tapestry 5 services that depend on a Request.
>> I would like to be able to inject these services into a few tapestry 4
>> pages,
>> as we migrate.
>>
>>
>>
> You might want to rewrite your T5 services to use HttpServletRequest
> instead of Request. Then you could manually instanciate those objects in
> your T4 components.
>
> Hope these ideas help you,
> Jonathan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to