[Zope-CMF] regarding REQUEST
robert rottermann
robert at redcor.ch
Wed Sep 12 02:52:28 EDT 2007
mrajasekhar schrieb:
> def fun1(self):
> REQUEST=self.REQUEST
> fun2=self.veiws.fun3
> return fun2(self,REQUEST=REQUEST)
>
> what is the meaning of REQUEST=self.REQUEST in the above function.what
> is it doing and iam returning fun2 to the browser
> please explain me in detail
> _______________________________________________
> Zope-CMF maillist - Zope-CMF at lists.zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>
this is such a basic question, that I higly recommend that you look at
http://www.plope.com/Books/2_7Edition
in short: the request is a dictionary like object that gives access to
all data pertaining to the communication between the client and the server.
you can easily have a detailed look at it with a page template like the
following:
<html>
<body>
<div tal:content=structure "context/REQUEST" />
</body>
</html>
hth
robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: robert.vcf
Type: text/x-vcard
Size: 211 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20070912/dcf30eb2/robert.vcf
More information about the Zope-CMF
mailing list