tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Tanner <ttan...@astina.ch>
Subject [T5]: RESTful "File" Extensions (Multiple Templates per Page)
Date Wed, 03 Dec 2008 22:49:13 GMT

Hi All,

I have a question concerning T5 and RESTful URLs:
We'd like to create RESTful URLs with virtual "file" extension like:


It would be perfect to have just one page class (e.g.
pages/articles/Edit.java) and several templates like:

articles/Edit.tml or articles/Edit.html.tml

and the possibility to define handlers for the different content types, so
for example if the user wants to load 1.pdf the template Edit.pdf.tml gets
executed (and creates for example a xsl-fo xml) and before deliviering to
the browser a handler takes the xml and convert it with apache fop to PDF
and streams the result to the browser.

Is something like this possible with Tapestry 5? I'm quiet new to T5 but if
someone can give me a hint where to start, I appreciate to write an
extension and contribute it to the community.

Thanks a lot for your help!

View this message in context: http://www.nabble.com/-T5-%3A-RESTful-%22File%22-Extensions-%28Multiple-Templates-per-Page%29-tp20823443p20823443.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org

View raw message