RE: [Zope] assignment problems
However, you can lever the REQUEST object for this kind of thing: .... Now, 'Size' is found in the REQUEST object, and there the value of 'Size' can be modified.
Great! Is this in the docs? I found a very short article about dtml-call in DTML.7.html, but there's nothing about REQUEST.set... just a single example
<dtml-call "addDocument('hi','display a greeting','Hello world!')">
Maybe there are other things I can do with <dtml-call>?
Call does exactly the same as var, only it will ignore any values returned by the called expression or name. So <dtml-call standard_html_header> will usually have no effect whatsoever, except for waisting a few cycles, unless standard_html_header has side like manipulating the REQUEST object.
Call does exactly the same as var, only it will ignore any values
Thanks! I would like to learn more (or everything) about REQUEST. There is very sparse information in DTML.2.4.html. For instance i can't find any documentation about REQUEST.set you just mentioned... Are there any plans to populate Zope documentation with numerous examples? It would be so helpful to newbies... -- Milos Prudek
on 4. januar 2000 Milos Prudek wrote :
Call does exactly the same as var, only it will ignore any values
MP> Thanks! I would like to learn more (or everything) about REQUEST. There MP> is very sparse information in DTML.2.4.html. For instance i can't find MP> any documentation about REQUEST.set you just mentioned... MP> Are there any plans to populate Zope documentation with numerous MP> examples? It would be so helpful to newbies... Reading all the how-tos helped me a lot.. Even though it seems like you're reading something completely irrelevant, you syddenly discover something you didn't know that can be used elsewhere. The how-tos on Zclasses helped me discover the uses of dtml-call ... -- Geir B Hansen web-developer/designer geirh@funcom.com http://www.funcom.com
Reading all the how-tos helped me a lot.. Even though it seems like you're reading something completely irrelevant, you syddenly discover something you didn't know that can be used elsewhere.
The how-tos on Zclasses helped me discover the uses of dtml-call ...
Perfect. Well I think that Zope docs should be improved a little more. To pick up relevant info from random docs does not sound very attractive to me. I know it's darn inappropriate for a newbie like me to criticize. But maybe there are more people like me, who appreciate excellent mailing list support, but who are feeling quite helpless when offline... I'm longing to know if Pam will release any new/improved docs soon... -- Milos Prudek
hi milos, check the ZQR (Zope Quick Reference) at http://www.zope.org/Members/ZQR for more information about objects/methods available jens ---- Jens Vagelpohl jens@digicool.com Software Engineer www.digicool.com Digital Creations (888) 344-4332 Got Zope? ----
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Milos Prudek Sent: Tuesday, January 04, 2000 08:07 To: Martijn Pieters; zope@zope.org Subject: Re: [Zope] assignment problems
Call does exactly the same as var, only it will ignore any values
Thanks! I would like to learn more (or everything) about REQUEST. There is very sparse information in DTML.2.4.html. For instance i can't find any documentation about REQUEST.set you just mentioned...
Are there any plans to populate Zope documentation with numerous examples? It would be so helpful to newbies...
-- Milos Prudek
_______________________________________________ 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 )
participants (4)
-
Geir B Hansen -
Jens Vagelpohl -
Martijn Pieters -
Milos Prudek