You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Rusty Phillips <rp...@edats.com> on 2005/12/29 22:56:23 UTC

How does one control rendering?

Pardon the possibly newbish question, but I can't seem to find a simple
way to do this relatively simple thing.

 

I would very much like to get the entire contents of a page in already
rendered format (i.e. a string, or an output buffer, or a response
object of some kind), transform it, and then send it to the browser.
This is ultimately alluding to in my last e-mail.

 

Since this is ultimately a property of the type of page that I am using,
I would really like to do this using a class extended from IPage, or
from BasePage.

 

How does one go about this?

 

And if it's impossible, then is it possible to use this framework along
with servlet filters without screwing everything up totally?  Its
lower-level than I would like, but these should be able to do what I'm
looking for. 


Re: How does one control rendering?

Posted by Jorge Quiroga <jq...@pctltda.com>.
I'm newbie too, but until I can read you can:

1) Use insert component
2) Do a kind of component (.jwc) and a Java class that inherits from 
BasePage or implements IPage that serve you as a template to render HTML 
and do the transformations you need (at least at data level and until 
certain point to components inside see Block and RenderBlock -see the 
documentation for deeper info-) in descendant pages

I'm not sure if I undestood well your question but I hope this can help you

Jorge Quiroga

Rusty Phillips wrote:
> Pardon the possibly newbish question, but I can't seem to find a simple
> way to do this relatively simple thing.
> 
>  
> 
> I would very much like to get the entire contents of a page in already
> rendered format (i.e. a string, or an output buffer, or a response
> object of some kind), transform it, and then send it to the browser.
> This is ultimately alluding to in my last e-mail.
> 
>  
> 
> Since this is ultimately a property of the type of page that I am using,
> I would really like to do this using a class extended from IPage, or
> from BasePage.
> 
>  
> 
> How does one go about this?
> 
>  
> 
> And if it's impossible, then is it possible to use this framework along
> with servlet filters without screwing everything up totally?  Its
> lower-level than I would like, but these should be able to do what I'm
> looking for. 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org