PageRenderInitializer was refactored in 5.0.9, I believe. There is now a service, MarkupRenderer, with a filter you can contribute into:
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/services/MarkupRenderer.html On Mon, Mar 3, 2008 at 12:46 AM, Janko Muzykant <[EMAIL PROTECTED]> wrote: > > hi, i have a number of compilation errors after my upgrade from T5.0.5 to > T5.0.10. some of them were trivial to resolve, but i have no idea how to fix > all of these from AppModule.java: > > 1. in following i have now no reference to 'response' object. previously it > was given as argument in renderResponse(..) signature. > > public static PageResponseRenderer decoratePageResponseRenderer( ... ) { ... > return new PageResponseRenderer() { ... > public void renderPageResponse(Page page) throws IOException { ... > PrintWriter pw = response.getPrintWriter("text/html; > charset=UTF-8"); > > > 2. Here, there is no PageRenderInitializer and PageRenderCommand now: > > public PageRenderInitializer buildMyPageRenderInitializer( > final List<PageRenderCommand> configuration, > final Environment environment) { > return new PageRenderInitializer() { ... > > 3. No PageRenderCommand class again: > > public void contributeMyPageRenderInitializer(...) { > configuration.add("PageRenderSupport", new PageRenderCommand() { ... > > is there any documentation what has changed since T5.0.5 or how new services > should be now contributed in AppModule? > > cheers, > jm. > > -- > View this message in context: > http://www.nabble.com/-T5--AppModule-upgrade-to-5.0.10-tp15799756p15799756.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]