-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Using Pyramid 1.4....and trying to use the slots mechanism of ZPT through Chameleon as documented here:
http://chameleon.repoze.org/docs/latest/ I have a simple view @view_config(route_name='home', renderer='templates/foo.pt') def my_foo(request): return {'project':'pp-demo'} with foo.pt <html metal:use-macro="load: main.pt"> <p metal:fill-slot="content"> <div> hello world default title </div> <p/> </html> and a main.pt file: <html xmlns="http://www.w3.org/1999/xhtml"> <body> Content goes below... <hr/> <div id="content"> <metal:content define-slot="content" > dummy default content </metal:content> </div> <hr/> Content goes above... </body> </html> However the rendered HTML does not contain the "hello world..." text injected in foo.pt. Why not? - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGUBAEBAgAGBQJQklHtAAoJEADcfz7u4AZjbP0Lv18Y0nMqHWaGzNk+ABZ5mxRX dfYg8MHlF/KA9APm0aDZFMUTwHWWH3xo5XsvWilpWIBHxmwUFabZOj/vXaaM+Y2Z y2Q2GMUvLHfZElrjw7hXlftWW8UnrFK3GiuZ5Xr63kcYD0F+elqgEj5Tw3H6XlKf 5vDSCeAOjAxp1Oa06qRBNXXbI0aaqIp9Fu4eVGAQruoLBeafymzMilflbLWt47wz 9vj9x9d1NBOTcnASfGQzdBSR5Jq2Xt7oH6AykyjEgb9n2E1n3OY9wrX3zSIk4Ium AHbeK1r6SDyQKh9eEF9+YgFg8TUvUNFRevX+vmRDX+ecbO76mIT7VzTuNS8NgZy6 r+zc6lQFTpqzCjL3jc4JY9yXoDMLPIs9gw+whDg44+Wgl7urZBfIg5/2f4mfOpKO uOCffsKMG6WdcFu16H2Z2MFEWVJ2DqKW5kCgGMbgLG3+KWbsop59q1vA7eC1cWr/ Mk/gsH7G1b91zDJ/fVjQO2h0wyHjgNU= =IaxJ -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
<<attachment: lists.vcf>>
