[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Variables and Advanced DTML
webmaster@zope.org
webmaster@zope.org
Wed, 22 Jan 2003 11:25:12 -0500
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/AdvDTML.stx#2-56
---------------
For example, when you want to change the value of a property,
*animalName*, you are more interested in the effect of calling the
*manage_changeProperties* method than the return value the method
gives you. Here's an example::
<dtml-if expr="REQUEST.has_key('animalName')">
<dtml-call expr="manage_changeProperties(animalName=REQUEST['animalName'])">
<h1>The property 'animalName' has changed</h1>
<dtml-else>
<h1>No properties were changed</h1>
</dtml-if>
% Anonymous User - Jan. 22, 2003 11:25 am:
això no funciona, ninot !