You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/04 16:00:35 UTC
[Tapestry Wiki] Update of "Tapestry5HowToStreamAnExistingBinaryFile" by
thobson
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by thobson:
http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile
The comment on the change is:
Added a note about calling the event handler from an expansion
------------------------------------------------------------------------------
}
}}}
+ === Calling the event handler from a page template ===
+
+ The event handler can be called using an actionLink e.g. <t:actionLink id="streamPDF">download pdf</t:actionlink> but the event handler can can also be called from an expansion, for example if you want to embed a dynamically generated/retrievd image in a page - ${embedImage()}. When the page renders the event handler will be called
+
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org