Yep!
public class PageWithoutTemplate {
void beginRender(MarkupWriter writer) {
writer.element("html");
writer.defineNamespace(
"http://tapestry.apache.org/schema/tapestry_5_1_0.xsd",
"t");
writer.element("body");
writer.writeRaw("Hello, World!");
writer.end();
writer.end();
}
}
On Sat, Jul 25, 2009 at 3:43 PM, Angelo Chen <[email protected]>wrote:
>
> Hi,
>
> I have quite a number of page classes that simply returns a
> TextStreamResponse in onActivate, is there a way to omit the tml file?
> Thanks,
>
> Angelo
> --
> View this message in context:
> http://www.nabble.com/t5%3A-page-class-without-tml-file-tp24658062p24658062.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Best regards,
Igor Drobiazko