Commit d380a9c3 authored by Amos Latteier's avatar Amos Latteier

changed no-call to nocall

parent 9d57e3e8
TALES No-call expressions TALES Nocall expressions
Syntax Syntax
No-call expression syntax:: Nocall expression syntax::
nocall_expression ::= 'no-call:' expression nocall_expression ::= 'nocall:' expression
Description Description
No-call expressions avoid rendering the results of another Nocall expressions avoid rendering the results of another
expression. expression.
An ordinary path expression tries to render the object that it An ordinary path expression tries to render the object that it
...@@ -22,13 +22,13 @@ TALES No-call expressions ...@@ -22,13 +22,13 @@ TALES No-call expressions
Examples Examples
Using no-call to get the properties of a document:: Using nocall to get the properties of a document::
<span tal:define="doc nocall:here/aDoc" <span tal:define="doc nocall:here/aDoc"
tal:content="string:${doc/getId}: ${doc/title}"> tal:content="string:${doc/getId}: ${doc/title}">
Id: Title</span> Id: Title</span>
Using no-call expressions on a functions:: Using nocall expressions on a functions::
<p tal:define="join nocall:modules/string/join"> <p tal:define="join nocall:modules/string/join">
......
...@@ -38,7 +38,7 @@ TALES Overview ...@@ -38,7 +38,7 @@ TALES Overview
* "exists":tales-exists.stx expressions - test existence of a value * "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 * "not:tales-not.stx expressions - negate a value
...@@ -104,9 +104,9 @@ TALES Overview ...@@ -104,9 +104,9 @@ TALES Overview
"exists":tales-exists.stx expressions "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 "string":tales-string.stx expressions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment