[ http://issues.apache.org/jira/browse/TAPESTRY-614?page=comments#action_12320706 ]
Jesse Kuhnert commented on TAPESTRY-614: ---------------------------------------- OMG....I kept ignoring the little voice in my head that kept telling me to go look at the portlet code because I rememered reading something about being able to render different response types to different portions of a page. That's what I get for being lazy.. Is it really that easy? I've already been calling cycle.renderPage() from my rendering service, what's to stop the Body component from stealing the script outputs that I want? Doesn't it create it's own pagerendersupport in it's prepareForRender() regardless? Is there something funny going on in the portlet code that prevents the Body component from being inserted into the rendering process? I understand the bandwidth issues :) I thought actually working on an open-source project would solve the mystery of how all of these people find the time/resources to contribute to them so much. I think I sort of imagined a secret billionare-ish philanthropist running around the world sprinkling money into the pocketbooks of the developers, but that doesn't seem to be the case. > 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]
