You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Andreas Andreou (JIRA)" <ta...@jakarta.apache.org> on 2006/08/03 17:35:14 UTC

[jira] Reopened: (TAPESTRY-1012) PageRenderSupportImpl.writeInitializationScript(IMarkupWriter) does not use the "writer" parameter

     [ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org