You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2005/08/31 05:53:04 UTC
[jira] Created: (TAPESTRY-614) Provide access to PageRenderSupportImpl
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
Re: [jira] Commented: (TAPESTRY-614) Provide access to PageRenderSupportImpl
Posted by Geoff Longman <gl...@gmail.com>.
On 8/31/05, Jesse Kuhnert (JIRA) <ta...@jakarta.apache.org> wrote:
> [
> 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.
OMG, if you ever find that guy (perhaps his name is Tuttle) send him my way!
Geoff
--
The Spindle guy. http://spindle.sf.net
Get help with Spindle:
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates: http://spindle.sf.net/updates
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Resolved: (TAPESTRY-614) Provide access to PageRenderSupportImpl
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-614?page=all ]
Howard M. Lewis Ship resolved TAPESTRY-614:
-------------------------------------------
Resolution: Invalid
> 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Commented: (TAPESTRY-614) Provide access to PageRenderSupportImpl
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Commented: (TAPESTRY-614) Provide access to PageRenderSupportImpl
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-614?page=comments#action_12320790 ]
Jesse Kuhnert commented on TAPESTRY-614:
----------------------------------------
You can probably close this issue as invalid, I'm able to get access to it which is good enough for now. I'm sure whatever integration efforts are created will involve a lot more careful thought than this one tiny little ticket. ..
> 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Commented: (TAPESTRY-614) Provide access to PageRenderSupportImpl
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org