Jeff Peterson wrote:
I have a page template that calls a couple of scripts at the beginning,
they are setting session objects and redirecting to a login screen if
certain session objects don't exist.
Why not just use PAS or Cookie Crumbler? ;-)
the content for this page. When the macro is rendered, the scripts fail
to operate properly (commented out they work perfectly).
I'll bet your doing something like:
<mytag tal:define="dummy here/myScript"
metal:use-macro="something">
...
The macro replaces the whole tag before the tal:define gets called.
Anyway, overarchingly, don't mix presentation and logic like this, 'cos
it causes these kind of problems ;-)
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
ZPT mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zpt