solution from stackoverflow:
public class MyPage
{
@Inject
private Response response
void onActivate() throws IOException {
PrintWriter writer = response.getPrintWriter("text/html");
writer.append("foobar");
writer.close();
}
}
this makes the page behave more like a servlet, but within the tapestry
environment.
Paul Stanton wrote:
If that is impossible, is it possible to expose the tapestry Ioc to a
servlet in the same app?
Paul Stanton wrote:
Hi All,
I've been looking but can't find the the documentation:
Is there a way to have a page render a response without the wrapping
HTML elements and just print whatever is provided in the body of the
tml or alternatively whatever is set in MarkupWriter.write during
@BeginRender?
I need a page that does some server side processing and returns pure
javascript for an external application to request.
Thanks, p.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org