[Petal] [BUG] xi:includes don't preserve set variables

Jean-Michel Hiver jhiver at mkdoc.com
Thu May 22 16:31:50 BST 2003


> Hi,
> 
> This is a bug report for Petal-0.92.  It looks like variables from 
> xi:includes are not being preserved across files.

This has been discussed on the list before. Basically there is a need
for a 'local' and a 'global' keyword to specify the scope of a variable.
This is what TALES does, unfortunately it's not yet implemented in
Petal. Another item on my TODO list...


> This makes factoring out common chunks of functionality very
> difficult.

Functionality? Did you say functionality? You're not using Petal for
anything else than presentational stuff I hope :)

Best Regards,
-- 
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com  - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/


More information about the Petal mailing list