Andreas Pardeike-2 wrote:
>
> On 17 mar 2009, at 10.06, luna_guo wrote:
>
>> Is this what you want?
>>
>> http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/PageDocumentGenerator.html
>
> Yes! Works very well. Two minor questions remain:
>
> 1) Can this be done with an activation context or another way to
> parameterize the page?
>
> 2) Can this be done with a component instead of a page?
>
> For (1) I can set some values in my session and render the page right
> after that. Seems
> a bit like a hack though.
>
> /Andreas Pardeike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
>
1)In the first version of this service(t5.0.14?),you must save the activate
context to a @Persist property. In Tapestry 5.1.0,i did a little test.It
works well without this problem.
2)Yes,but if you use it in a render lifecycle method.You cannot ask the page
which include this component.Because it will indirectly call itself.
luna
--
View this message in context:
http://www.nabble.com/How-to-get-a-page%27s-html-to-send-it-as-an-email--tp22540106p22571265.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org