Being more precise I wanted to use DWR to re-generate my page once again via
XMLHttpRequest. It looks like this:
- javascript calls my ajax java method
- ajax method calls DWR's forwardToString(..) which is essentialy
getRequestDispatcher.forward and returns as a result html content.

and here i run into trouble because i'm notified that such a resource does
not exist. I'm not sure if there is no easier way to get (in my own servlet)
generated html result of  given page/component. something like "public
String TapestryFactory.generatePage(String path)"  would be helpful :)


On 6/8/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

Not sure why you would want to.

Inside a T5 application, Tapestry takes care of sending redirects.

From a JSP, a Tapestry page is simply the name of the page, i.e.

foo.jsp:

<a href="/menu">Back to the Tapestry Menu Page</a>

On 6/7/07, umrzyk <[EMAIL PROTECTED]> wrote:
> hi,
> as I noticed, it is not possible to call
> request.getRequestDispatcher("/my/superb/page").forward(...) as such a
page
> is not a "real" resource. all other resources like "/index.jsp" are
obviously
> recognized correctly. is it somehow possible to forward request to page
> generated by T5 ?
>
> regards,
> umrzyk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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


Reply via email to