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
4dcd2644
Commit
4dcd2644
authored
Oct 19, 2001
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed relative links.
parent
d88cd0e7
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
62 additions
and
62 deletions
+62
-62
lib/python/Products/PageTemplates/help/metal-define-macro.stx
...python/Products/PageTemplates/help/metal-define-macro.stx
+2
-2
lib/python/Products/PageTemplates/help/metal-define-slot.stx
lib/python/Products/PageTemplates/help/metal-define-slot.stx
+1
-1
lib/python/Products/PageTemplates/help/metal-fill-slot.stx
lib/python/Products/PageTemplates/help/metal-fill-slot.stx
+1
-1
lib/python/Products/PageTemplates/help/metal-use-macro.stx
lib/python/Products/PageTemplates/help/metal-use-macro.stx
+2
-2
lib/python/Products/PageTemplates/help/metal.stx
lib/python/Products/PageTemplates/help/metal.stx
+13
-13
lib/python/Products/PageTemplates/help/tal-content.stx
lib/python/Products/PageTemplates/help/tal-content.stx
+1
-1
lib/python/Products/PageTemplates/help/tal-replace.stx
lib/python/Products/PageTemplates/help/tal-replace.stx
+1
-1
lib/python/Products/PageTemplates/help/tal.stx
lib/python/Products/PageTemplates/help/tal.stx
+18
-18
lib/python/Products/PageTemplates/help/tales-path.stx
lib/python/Products/PageTemplates/help/tales-path.stx
+6
-6
lib/python/Products/PageTemplates/help/tales-string.stx
lib/python/Products/PageTemplates/help/tales-string.stx
+1
-1
lib/python/Products/PageTemplates/help/tales.stx
lib/python/Products/PageTemplates/help/tales.stx
+16
-16
No files found.
lib/python/Products/PageTemplates/help/metal-define-macro.stx
View file @
4dcd2644
...
...
@@ -27,6 +27,6 @@ metal:define-macro - Define a macro
See Also
"metal:use-macro":metal-use-macro.stx
"metal:use-macro":
../
metal-use-macro.stx
"metal:define-slot":metal-define-slot.stx
"metal:define-slot":
../
metal-define-slot.stx
lib/python/Products/PageTemplates/help/metal-define-slot.stx
View file @
4dcd2644
...
...
@@ -33,7 +33,7 @@ metal:define-slot - Define a macro customization point
See Also
"metal:fill-slot":metal-fill-slot.stx
"metal:fill-slot":
../
metal-fill-slot.stx
lib/python/Products/PageTemplates/help/metal-fill-slot.stx
View file @
4dcd2644
...
...
@@ -35,4 +35,4 @@ metal:fill-slot - Customize a macro
See Also
"metal:define-slot":metal-define-slot.stx
"metal:define-slot":
../
metal-define-slot.stx
lib/python/Products/PageTemplates/help/metal-use-macro.stx
View file @
4dcd2644
...
...
@@ -45,7 +45,7 @@ metal:use-macro - Use a macro
See Also
"metal:define-macro":metal-define-macro.stx
"metal:define-macro":
../
metal-define-macro.stx
"metal:fill-slot":metal-fill-slot.stx
"metal:fill-slot":
../
metal-fill-slot.stx
lib/python/Products/PageTemplates/help/metal.stx
View file @
4dcd2644
...
...
@@ -2,8 +2,8 @@ METAL Overview
The *Macro Expansion Template Attribute Language* (METAL) standard
is a facility for HTML/XML macro preprocessing. It can be used in
conjunction with or independently of "TAL":tal.stx and
"TALES":tales.stx.
conjunction with or independently of "TAL":
../
tal.stx and
"TALES":
../
tales.stx.
Macros provide a way to define a chunk of presentation in one
template, and share it in others, so that changes to the macro are
...
...
@@ -26,33 +26,33 @@ METAL Overview
METAL defines a number of statements:
* "metal:define-macro":metal-define-macro.stx - Define a macro.
* "metal:define-macro":
../
metal-define-macro.stx - Define a macro.
* "metal:use-macro":metal-use-macro.stx - Use a macro.
* "metal:use-macro":
../
metal-use-macro.stx - Use a macro.
* "metal:define-slot":metal-define-slot.stx - Define a macro
* "metal:define-slot":
../
metal-define-slot.stx - Define a macro
customization point.
* "metal:fill-slot":metal-fill-slot.stx - Customize a macro.
* "metal:fill-slot":
../
metal-fill-slot.stx - Customize a macro.
Although METAL does not define the syntax of expression
non-terminals, leaving that up to the implementation, a canonical
expression syntax for use in METAL arguments is described in
"TALES Specification":tales.stx.
"TALES Specification":
../
tales.stx.
See Also
"TAL Overview":tal.stx
"TAL Overview":
../
tal.stx
"TALES Overview":tales.stx
"TALES Overview":
../
tales.stx
"metal:define-macro":metal-define-macro.stx
"metal:define-macro":
../
metal-define-macro.stx
"metal:use-macro":metal-use-macro.stx
"metal:use-macro":
../
metal-use-macro.stx
"metal:define-slot":metal-define-slot.stx
"metal:define-slot":
../
metal-define-slot.stx
"metal:fill-slot":metal-fill-slot.stx
"metal:fill-slot":
../
metal-fill-slot.stx
lib/python/Products/PageTemplates/help/tal-content.stx
View file @
4dcd2644
...
...
@@ -31,4 +31,4 @@ tal:content - replace the content of an element
See Also
"'tal:replace'":tal-replace.stx
\ No newline at end of file
"'tal:replace'":../tal-replace.stx
\ No newline at end of file
lib/python/Products/PageTemplates/help/tal-replace.stx
View file @
4dcd2644
...
...
@@ -38,4 +38,4 @@ tal:replace - Replace an element
See Also
"'tal:content'":tal-content.stx
\ No newline at end of file
"'tal:content'":../tal-content.stx
\ No newline at end of file
lib/python/Products/PageTemplates/help/tal.stx
View file @
4dcd2644
...
...
@@ -30,24 +30,24 @@ TAL Overview
These are the tal statements:
- "tal:attributes":tal-attributes.stx - dynamically change
- "tal:attributes":
../
tal-attributes.stx - dynamically change
element attributes.
- "tal:define":tal-define.stx - define variables.
- "tal:define":
../
tal-define.stx - define variables.
- "tal:condition":tal-condition.stx - test conditions.
- "tal:condition":
../
tal-condition.stx - test conditions.
- "tal:content":tal-content.stx - replace the content of an
- "tal:content":
../
tal-content.stx - replace the content of an
element.
- "tal:omit-tag":tal-omit-tag.stx - remove an element, leaving
- "tal:omit-tag":
../
tal-omit-tag.stx - remove an element, leaving
the content of the element.
- "tal:on-error":tal-on-error.stx - handle errors.
- "tal:on-error":
../
tal-on-error.stx - handle errors.
- "tal:repeat":tal-repeat.stx - repeat an element.
- "tal:repeat":
../
tal-repeat.stx - repeat an element.
- "tal:replace":tal-replace.stx - replace the content of an
- "tal:replace":
../
tal-replace.stx - replace the content of an
element and remove the element leaving the content.
Expressions used in statements may return values of any type,
...
...
@@ -100,23 +100,23 @@ TAL Overview
See Also
"TALES Overview":tales.stx
"TALES Overview":
../
tales.stx
"METAL Overview":metal.stx
"METAL Overview":
../
metal.stx
"tal:attributes":tal-attributes.stx
"tal:attributes":
../
tal-attributes.stx
"tal:define":tal-define.stx
"tal:define":
../
tal-define.stx
"tal:condition":tal-condition.stx
"tal:condition":
../
tal-condition.stx
"tal:content":tal-content.stx
"tal:content":
../
tal-content.stx
"tal:omit-tag":tal-omit-tag.stx
"tal:omit-tag":
../
tal-omit-tag.stx
"tal:on-error":tal-on-error.stx
"tal:on-error":
../
tal-on-error.stx
"tal:repeat":tal-repeat.stx
"tal:repeat":
../
tal-repeat.stx
"tal:replace":tal-replace.stx
"tal:replace":
../
tal-replace.stx
lib/python/Products/PageTemplates/help/tales-path.stx
View file @
4dcd2644
...
...
@@ -44,12 +44,12 @@ TALES Path expressions
Since every path must start with a variable name, you need a set
of starting variables that you can use to find other objects and
values. See the "TALES overview"
for a list of built-in
variables. Since variable names are looked up first in locals,
then in globals, then in this list, these names act just like
built-ins in Python; They are always available, but they can be
shadowed by a global or local variable declaration. You can always
access the built-in names explicitly by prefixing them with
values. See the "TALES overview"
:../tales.stx for a list of
built-in variables. Since variable names are looked up first in
locals, then in globals, then in this list, these names act just
like built-ins in Python; They are always available, but they can
be shadowed by a global or local variable declaration. You can
a
lways a
ccess the built-in names explicitly by prefixing them with
*CONTEXTS*. (e.g. CONTEXTS/root, CONTEXTS/nothing, etc).
Examples
...
...
lib/python/Products/PageTemplates/help/tales-string.stx
View file @
4dcd2644
...
...
@@ -15,7 +15,7 @@ TALES String expressions
expression string is supplied the resulting string is *empty*. The
string can contain variable substitutions of the form '$name' or
'${path}', where 'name' is a variable name, and 'path' is a
"path expression":tales-path.stx.
"path expression":
../
tales-path.stx.
The escaped string value of the path expression is inserted into
the string. To prevent a '$' from being interpreted this way, it
must be escaped as '$$'.
...
...
lib/python/Products/PageTemplates/help/tales.stx
View file @
4dcd2644
TALES Overview
The *Template Attribute Language Expression Syntax* (TALES) standard
describes expressions that supply "TAL":tal.stx and
"METAL":metal.stx with data. TALES is *one* possible expression
describes expressions that supply "TAL":
../
tal.stx and
"METAL":
../
metal.stx with data. TALES is *one* possible expression
syntax for these languages, but they are not bound to this
definition. Similarly, TALES could be used in a context having
nothing to do with TAL or METAL.
...
...
@@ -36,17 +36,17 @@ TALES Overview
These are the TALES expression types supported by Zope:
* "path":tales-path.stx expressions - locate a value by its path.
* "path":
../
tales-path.stx expressions - locate a value by its path.
* "exists":tales-exists.stx expressions - test whether a path is valid.
* "exists":
../
tales-exists.stx expressions - test whether a path is valid.
* "nocall":tales-nocall.stx expressions - locate an object by its path.
* "nocall":
../
tales-nocall.stx expressions - locate an object by its path.
* "not":tales-not.stx expressions - negate an expression
* "not":
../
tales-not.stx expressions - negate an expression
* "string":tales-string.stx expressions - format a string
* "string":
../
tales-string.stx expressions - format a string
* "python":tales-python.stx expressions - execute a Python
* "python":
../
tales-python.stx expressions - execute a Python
expression
Built-in Names
...
...
@@ -97,19 +97,19 @@ TALES Overview
See Also
"TAL Overview":tal.stx
"TAL Overview":
../
tal.stx
"METAL Overview":metal.stx
"METAL Overview":
../
metal.stx
"exists":tales-exists.stx expressions
"exists":
../
tales-exists.stx expressions
"nocall":tales-nocall.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
"path":tales-path.stx expressions
"path":
../
tales-path.stx expressions
"python":tales-python.stx expressions
"python":
../
tales-python.stx expressions
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