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]

Reply via email to