[Catalyst] How use two wrapper?

Xiao Yafeng xyf.xiao at gmail.com
Sun Jun 6 04:41:51 GMT 2010

      I'm new to Catalyst. I'd like to use one wrapper to some templates,
the other wrapper to some other templates. But as

I can only define one wrapper like this:

        # Change default TT extension
        TEMPLATE_EXTENSION =3D> '.tt2',
        # Set the location for TT files
        INCLUDE_PATH =3D> [
                MyApp->path_to( 'root', 'src' ),
        # Set to 1 for detailed timer stats in your HTML as comments
        TIMER              =3D> 0,
        # This is your wrapper template located in the 'root/src'
        WRAPPER =3D> 'wrapper.tt2',

Thanks In advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100606/13732=

More information about the Catalyst mailing list