Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
7d2517ec
Commit
7d2517ec
authored
Oct 02, 2001
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fixes
parent
c320b345
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lib/python/Products/PageTemplates/help/tal-define.stx
lib/python/Products/PageTemplates/help/tal-define.stx
+1
-1
lib/python/Products/PageTemplates/help/tal-repeat.stx
lib/python/Products/PageTemplates/help/tal-repeat.stx
+3
-3
No files found.
lib/python/Products/PageTemplates/help/tal-define.stx
View file @
7d2517ec
...
@@ -39,7 +39,7 @@ define - Define variables
...
@@ -39,7 +39,7 @@ define - Define variables
tal:define="global company_name string:Zope Corp, Inc."
tal:define="global company_name string:Zope Corp, Inc."
Defining two varibles, where the second depends on the first::
Defining two vari
a
bles, where the second depends on the first::
tal:define="mytitle template/title; tlen python:len(mytitle)"
tal:define="mytitle template/title; tlen python:len(mytitle)"
...
...
lib/python/Products/PageTemplates/help/tal-repeat.stx
View file @
7d2517ec
...
@@ -9,7 +9,7 @@ repeat - Repeat an element
...
@@ -9,7 +9,7 @@ repeat - Repeat an element
Description
Description
The 'tal:repeat' statement replicates a subtree of your document
The 'tal:repeat' statement replicates a sub
-
tree of your document
once for each item in a sequence. The expression should evaluate
once for each item in a sequence. The expression should evaluate
to a sequence. If the sequence is empty, then the statement
to a sequence. If the sequence is empty, then the statement
element is deleted, otherwise it is repeated for each value in the
element is deleted, otherwise it is repeated for each value in the
...
@@ -26,7 +26,7 @@ repeat - Repeat an element
...
@@ -26,7 +26,7 @@ repeat - Repeat an element
You use repeat variables to access information about the current
You use repeat variables to access information about the current
repetition (such as the repeat index). The repeat variable has
repetition (such as the repeat index). The repeat variable has
the same name as the local variable, but is only accessible
the same name as the local variable, but is only accessible
through the builtin variable named 'repeat'.
through the built
-
in variable named 'repeat'.
The following information is available from the repeat variable:
The following information is available from the repeat variable:
...
@@ -61,7 +61,7 @@ repeat - Repeat an element
...
@@ -61,7 +61,7 @@ repeat - Repeat an element
Examples
Examples
Iterating over a sequece of strings::
Iterating over a seque
n
ce of strings::
<p tal:repeat="txt python:'one', 'two', 'three'">
<p tal:repeat="txt python:'one', 'two', 'three'">
<span tal:replace="txt" />
<span tal:replace="txt" />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment