Em Fri, 15 May 2009 12:36:34 -0300, Andy Buckley
<andy.buck...@durham.ac.uk> escreveu:
Any replies to this (see below, or my previous mail in this thread)?
Specifically, can I use Tapestry components to link "bookmarkably" to
page events as a way of displaying the page in alternative formats (inc.
different MIME types)? And if this is an abuse of the events system,
what alternative approach do you recommend for (extensible) alternative
page formats?
Component events, IMHO, are abused to do what you wrote. On the other
hand, you can use page events (onActivate) to do this. Don't forget that
you can return a StreamResponse in onActivate() or any other event handler
method. ;) The URL would be something like
/page/parametername1/value1/parametername2/value2/format/pdf. Another
approach would be another page for another response format.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org