[Zope] Fragmented DTML
Paul Zwarts
paz@oratrix.com
Thu, 16 Aug 2001 13:20:31 +0200
Eh... um... duh, thanks Steve, for reminding me that I have a brain and
i needs to be used...
Scuze me while I go eat my shoe for lunch. My colleagues went to a
restaurant while I stayed to ask stupid questions...
; _)
Paz
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
Steve Spicklemire
Sent: Thursday, August 16, 2001 1:15 PM
To: Paul Zwarts
Cc: Steve Spicklemire; zope@zope.org
Subject: Re: [Zope] Fragmented DTML
Hi Paul,
Maybe:
<dtml-call "REQUEST.set('data', SESSION.getSessionData())">
This essentially makes 'data' a global (and I might be tempted to use a
name other than 'data').
is what you're after?
-steve
On Thursday, August 16, 2001, at 05:54 AM, Paul Zwarts wrote:
> Hi all,
>
> Would it at all be possible that one were to fragment dtml code
between
> objects? Say you always use a header and footer, could you not enforce
a
> <dtml-let data="SESSION.getSessionData()"> </dtml-let>between the
header
> and footer? My thought is not as the developer is the only one that
> knows the header and footer are always executed in a chain. Just
thought
> maybe someone thought of it before and had some kind of product or a
> suggestion how to enforce the CoreSession presence without rewriting
> everypage to make the data param.
>
> Thanks,
> Paz
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )