I've posted a solution based on the wiki last week sometime (based on 5.0.14).
Did 5.0.15 obviate that solution? or has anyone had problems with it? I wouldn't suggest it is complete as I am fairly new and there may be something I am missing - I just pulled a few resources together and it seemed to work for me. -Luther On Tue, Sep 23, 2008 at 8:31 AM, Andy Pahne <[EMAIL PROTECTED]> wrote: > > How do I make T 5.0.15 emit XHTML? > > The Howto at http://wiki.apache.org/tapestry/Tapestry5HowToXhtml is > outdated, because MarkupWriterFactory now has another method that is not > mentioned in the wiki: > > public MarkupWriter newMarkupWriter(String pageName); > > > > I tried the very same implementation that T5's MarkupWriterFactoryImpl > uses: > > > @Override > public MarkupWriter newMarkupWriter(String pageName) { > Page page = cache.get(pageName); > ContentType contentType = analyzer.findContentType(page); > return newMarkupWriter(contentType); > } > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >