What would be the best way to have two templates for a single page? Practical use would be an e-mail newsletter archive where the public views the newsletters using one template and where the alternative template is used by an e-mail sending service when it pulls the newsletter to send it. The alternative template should be accessible by appending a query string to the page's URL.
One idea on how to do this: in the newsletter page's controller, override something like handleAction() so that it changes the template used if the appropriate query string is present.
What do you think of this approach? Have another idea?
That sounds about right. But AFAIK you don't have to override "handleAction".
Let's assume you got 2 use-cases: Browsing the newsletter on the website and creating a page version to be sent by your mailing service.
For the newsletter-browsing you would simply call the URL directly, i.e.: http://www.bengribaudo.com/my-newsletter