You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2010/10/17 18:47:23 UTC

[jira] Commented: (TAP5-1312) Suggestion for a new DOM node that provides a callback at toMarkup time providing the PrintWriter

    [ https://issues.apache.org/jira/browse/TAP5-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921868#action_12921868 ] 

Howard M. Lewis Ship commented on TAP5-1312:
--------------------------------------------

That's an interesting idea, very useful for cached portions of the page.

> Suggestion for a new DOM node that provides a callback at toMarkup time providing the PrintWriter
> -------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-1312
>                 URL: https://issues.apache.org/jira/browse/TAP5-1312
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.2.2
>            Reporter: Richard Kirby
>
> I would like a new org.apache.tapestry5.dom node that takes an interface which provides a callback method that is passed the PrintWriter being used when toMarkup is called.
> One usecase for this is where you want to insert a large chunk of raw text into a page that is coming from a streamable source (such as the output of a XSLT processor) and so is really not needed to be rendered into a String beforehand (which is what the MarkupWriter.writeRaw would require).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.