[ZPT] can we access REQUEST object in page template?
Tino Wildenhain
tino at wildenhain.de
Thu Nov 3 01:34:21 EST 2005
Am Donnerstag, den 03.11.2005, 10:07 +0530 schrieb ajit mote:
>
>
> On 11/3/05, Tino Wildenhain <tino at wildenhain.de> wrote:
> Am Mittwoch, den 02.11.2005, 13:16 +0530 schrieb ajit mote:
> > can we access REQUEST object in page template?
>
> its request. See Zope-book about the variables
> and namespaces available.
>
> > hi
>
> i access the request object in template but by using python:
> namespace.....
> my prob was that can we do it purly in page template tag's...
Purly? What do you mean? You should always try to restrict
yourself to path expressions, meaning no string: or python:
prefix.
Do your logic _outside_ of your template. (By means of python
scripts)
More information about the ZPT
mailing list