Re: can we access REQUEST object in page template?
Tino Wildenhain <[email protected]> Thu, 03 Nov 2005 07:34:21 +0100
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
Am Donnerstag, den 03.11.2005, 10:07 +0530 schrieb ajit mote: > > > On 11/3/05, Tino Wildenhain <[email protected]> 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)