David, Doing so is probably possible but is not recommended. It will lead to lots of small problems that won't be worth the trouble. It would be like renaming Microsoft Word files to use a ".txt" extension and changing your OS to open .txt files with MS Word. You might get it to work, but you just *know* that headaches will ensue.
The "tml" extension is defined as an internal constant (TapestryConstants.TEMPLATE_EXTENSION) rather than a configurable Symbol, so you can't just make a quick configuration change. That constant is used in several places in Tapestry. That said, if you are really determined, you *might* be able to override or decorate the following services to achieve what you want: http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/internal/services/PageSource.html http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/internal/services/PageLoader.html http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/internal/services/ComponentTemplateSource.html You'll need to spend some time reading the Tapestry sources of those files, and searching for TapestryConstants.TEMPLATE_EXTENSION in the sources. You'll also have to contribute to the ResourceDigestGenerator service to ensure that Tapestry won't directly exposed .html template sources to the browser. On Thu, Feb 21, 2013 at 10:39 AM, dkeenan <david_siedle...@yahoo.co.uk> wrote: > Hi. Is there a reasonably easy way to configure T5 so that it uses .html > files as page templates rather than .tml files? > > Thanks. > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Change-Page-template-file-extentions-to-HTML-tp5720147.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org