Printer-friendly using tiles
Hi,
Using Tiles a template is made for displaying a general menubar, some user-credential data and a banner area. An 'empty' area is filled with the requested info each time a user initiates some action. When hitting the 'print' button I don't want to print all the 'general' stuff, but only the requested information and a small 'this info is comming from...' banner above and beneath.
What's the best way of taggling this issue ?
From the controller it's possible to examine some request parameter (e.g. ?print) and return a ModelView which uses a 'print' template or the 'normal' template when the parameter is not present. This would result in each page examining the request and determing the correct view.. while I was hoping for a more general solution; not having to alter flow logic and have the print-layout switch in e.g. Tiles.