That is only partially useful, as the setting being asked about is actually the setting within Catalyst to specify which file will be used as the default wrapper for all responses.
xiaoyafeng, I would suggest using conditional logic in the wrapper template itself to override the default (i.e. most commonly used) behaviour by doing something like setting a flag in the stash.
It is the best I have been able come up with so far and I would be interested to hear about a more elegant solution if it is available.
|