[ 
http://issues.apache.org/jira/browse/TAPESTRY-614?page=comments#action_12320682 
] 

Howard M. Lewis Ship commented on TAPESTRY-614:
-----------------------------------------------

You realize I haven't had the bandwidth to follow the work you've been doing.  
But I believe you are trying to render a portion of the overall page.

Could you not create and store your own PageRenderSupportImpl (see the methods 
in the TapestryUtils class) before rendering a portion of the page?  This is 
akin to what Portlet Tapestry does, to suppoprt JavaScript on the page w/o a 
Body component.

> Provide access to PageRenderSupportImpl
> ---------------------------------------
>
>          Key: TAPESTRY-614
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-614
>      Project: Tapestry
>         Type: Improvement
>   Components: Contrib
>  Environment: any
>     Reporter: Jesse Kuhnert

>
> In order to control the flow of what content gets written to where in the 
> output response of an ajax request, I need to be able to also allow the 
> addition of javascript content in the response, seperate from the conent of 
> the Body component, which requires working with PageRenderSupportImpl 
> directly. 
> I have been very naughty and gotten around this by subclassing Body via an 
> EnhancementWorker, which I was already doing for normal component 
> IMarkupWriter output capture/supression, and added in a Class.getDeclared() 
> sort of hack to give access to the field from the subclass...
> Unless there is another way to do 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