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
47e2e276
Commit
47e2e276
authored
Oct 15, 2001
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some stx quoting problems - argh it seems that stx quoting rules have changed
parent
d4e2806f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/python/Products/ZopeTutorial/tutorial.stx
lib/python/Products/ZopeTutorial/tutorial.stx
+4
-4
No files found.
lib/python/Products/ZopeTutorial/tutorial.stx
View file @
47e2e276
...
...
@@ -414,9 +414,9 @@ Lesson 6. Recent Elvis Sightings, cont.
Notice how each sighting now has a box drawn around it.
What's going on? The [<dtml-in>] tag iterates over a list of
objects. The
'<dtml-var sequence-item>'
tag inserts the
objects. The
<'dtml-var sequence-item'>
tag inserts the
current object. The 'expr="sightingsFolder.objectValues()"' part of
the
'<dtml-in>'
tags tells it how to get a list of objects. It
the
[<dtml-in>]
tags tells it how to get a list of objects. It
calls the 'objectValues' method of the 'sightingsFolder' folder.
'objectValues' returns all the objects contained by a folder.
...
...
@@ -427,7 +427,7 @@ Lesson 6. Recent Elvis Sightings, cont.
* [<dtml-in>] iterates over a list of objects.
*
'<dtml-var sequence-item>'
inserts the current object
*
<'dtml-var sequence-item'>
inserts the current object
when looping over a list of objects.
* You can get the contents of a folder by calling its
...
...
@@ -772,7 +772,7 @@ Lesson 11. The Elvis Files
to edit it.
Notice that the sightings are generated by iterating over the
'sightings' ZSQL Method with the
'<dtml-in>'
tag.
'sightings' ZSQL Method with the
[<dtml-in>]
tag.
2. Add a line between each sighting by changing the contents of
the 'sightings' DTML Document to::
...
...
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