Yes, and also a related feature would be to be able to
programmatically render a block.
Maybe there should be a more general service that is able to render
blocks, and is able to render a page given a pageinstance, for setting
up parameters and such?

2008/8/1 Davor Hrg <[EMAIL PROTECTED]>:
> This is very nice.
>
> ...since the interface will recieve the logical page name,
> what is the prefered way for setting up the page (some activation parameters
> somehow)
> or to pull out everything from an ASO ?
>
>
> Davor Hrg
>
> On Fri, Aug 1, 2008 at 3:08 AM, Howard M. Lewis Ship (JIRA) <
> [email protected]> wrote:
>
>>
>>     [
>> https://issues.apache.org/jira/browse/TAPESTRY-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>>
>> Howard M. Lewis Ship closed TAPESTRY-2217.
>> ------------------------------------------
>>
>>       Resolution: Fixed
>>    Fix Version/s: 5.0.14
>>
>> > Add ability to render a page as a Document
>> > ------------------------------------------
>> >
>> >                 Key: TAPESTRY-2217
>> >                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2217
>> >             Project: Tapestry
>> >          Issue Type: New Feature
>> >    Affects Versions: 5.0.10
>> >            Reporter: Olivier Jacquet
>> >            Assignee: Howard M. Lewis Ship
>> >             Fix For: 5.0.14
>> >
>> >
>> > This is what I sent to the mailing list:
>> > Is it possible to access the rendered page result from within a page
>> without calling the actual http:// address?
>> > I would need this so that I can setup a page that generates xml (xsl-fo)
>> to be processed by fop [1] to convert it to pdf. That is much more readable
>> than generating the xml of pdf programmatically.
>> > So, basically, what I want is the following unless someone knows a better
>> way:
>> > class MyPage {
>> >   function onSubmit() {
>> >      FOPPage xml = new FOPPage();
>> >      String output = xml.render(); // or something like this
>> >      ...save the output to disk...
>> >      ...convert the output to pdf on disk with FOP...
>> >      ...send the generated pdf to the user...
>> >   }
>> > }
>> > MyPage.tml:
>> > Click the button to get the pdf:
>> > <t:form><input type="submit"></t:form>
>> > FOPPage.tml:
>> > <?xml version="1.0" encoding="iso-8859-1" ?>
>> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>> > ...
>> > Thank you for considering this.
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to