[ZPT] Moving scripts to center stage

Evan Simpson evan@digicool.com
Thu, 31 May 2001 15:21:14 -0500


From: "Wade Leftwich" <wade@lightlink.com>
> Here's my question. Is there a straightforward way to add an object to
the
> template's 'here' when I call it? That way the template could work the
same
> way whether it was called from a script or via a Url. If not, maybe
the best
> way to do this is with some logic at the top of the template, that
looks for
> an object named 'pagedict', first in REQUEST, then in 'here', and
finally by
> calling a script. Or maybe templates do something like that already,
and I
> haven't noticed it yet?

Hard to say; What is this 'pagedict' object that would you add to
'here'?  Is it a container for the sort of data for which people have
suggested adding PropertySheets to ZPT?

Cheers,

Evan @ digicool