Is there any way to access Tapestry pages from other frameworks in the same
web applications? My web app is part struts, part tapestry. Sometimes I
really would like to make this kind of code in my struts action:

TapestryUtils.getPage(pageNameString,
httpServletRequest).setMyProperty(myValue);

Is this possible? I guess the natural solution would be to use the
HttpServletRequest or some other context object in the utility method to
reach the Tapestry context and get the RequestCycle.

On 9/7/06, Dan Williams <[EMAIL PROTECTED]> wrote:

Thanks for your input guys.
I appreciate your reasoning - I guess I just had a different conceptual
idea of
how Tapestry works!
I had already implemented the dummy page solution, but just didn't really
like
it - it seemed a little messy against the backdrop of the rest of
Tapestry.

If you look through the Tapestry object graph both Pages and Components
inherit
from AbstractComponent, implementing both IComponent and IRender
interfaces
(amongst others).  I just thought that given this, they were both intended
to be
'components' yet indepentantly renderable and differ only in the sense
that
Pages are user accessible whereas Components are not, but instead are
descrete,
reusable parts.

rgds,
Dan



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to