[ http://issues.apache.org/jira/browse/TAPESTRY-1012?page=all ]

Andreas Andreou reopened TAPESTRY-1012:
---------------------------------------

      Assignee: Andreas Andreou  (was: Jesse Kuhnert)
             
I propose changing interface ResponseBuilder and adding a new parameter 
(IMarkupWriter) to
methods: beginBodyScript, writeImageInitializations, writeBodyScript, 
endBodyScript, writeInitializationScript.

All calls to this interface are from PageRenderSupportImpl.writeBodyScript 
which already holds
a reference to the IMarkupWriter, so changes will be minimal.

Only DefaultResponseBuilder will make use of this writer.

This change fixes issues when one wraps @Body with a custom component and
renders it (the @Body) with a custom writer, i.e. a nested writer.

Objections?

> PageRenderSupportImpl.writeInitializationScript(IMarkupWriter) does not use 
> the "writer" parameter
> --------------------------------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1012
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1012
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.1
>            Reporter: Norbert Sándor
>         Assigned To: Andreas Andreou
>
> Is it purposeful?
> One of my Tap4.0 components does not work correctly because of this...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

Reply via email to