[ZPT] CVS: Products/PageTemplates/help - tales-nocall.stx:1.1 tales.stx:1.3 tales-no-call.stx:NONE

Amos Latteier amos@zope.com
Tue, 25 Sep 2001 15:26:35 -0400


Update of /cvs-repository/Products/PageTemplates/help
In directory cvs.zope.org:/tmp/cvs-serv4609

Modified Files:
	tales.stx 
Added Files:
	tales-nocall.stx 
Removed Files:
	tales-no-call.stx 
Log Message:
changed no-call to nocall

=== Added File Products/PageTemplates/help/tales-nocall.stx ===
TALES Nocall expressions

  Syntax

    Nocall expression syntax::

      nocall_expression ::= 'nocall:' expression

  Description

    Nocall expressions avoid rendering the results of another
    expression.
    
    An ordinary path expression tries to render the object that it
    fetches.  This means that if the object is a function, Script,
    Method, or some other kind of executable thing, then expression
    will evaluate to the result of calling the object.  This is
    usually what you want, but not always.  For example, if you want
    to put a DTML Document into a variable so that you can refer to
    its properties, you can't use a normal path expression because it
    will render the Document into a string.

  Examples

    Using nocall to get the properties of a document::

      <span tal:define="doc nocall:here/aDoc"
            tal:content="string:${doc/getId}: ${doc/title}">
      Id: Title</span>

    Using nocall expressions on a functions::

      <p tal:define="join nocall:modules/string/join">

    This example defines a variable 'join' which is bound to the
    'string.join' function.


=== Products/PageTemplates/help/tales.stx 1.2 => 1.3 ===
     * "exists":tales-exists.stx expressions - test existence of a value
 
-    * "no-call":tales-no-call.stx expressions - don't call a value
+    * "nocall":tales-nocall.stx expressions - don't call a value
 
     * "not:tales-not.stx expressions - negate a value
   
@@ -104,9 +104,9 @@
 
     "exists":tales-exists.stx expressions
 
-    "no-call":tales-no-call.stx expressions
+    "nocall":tales-nocall.stx expressions
 
-    "not:tales-not.stx expressions
+    "not":tales-not.stx expressions
   
     "string":tales-string.stx expressions
 

=== Removed File Products/PageTemplates/help/tales-no-call.stx ===