-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
template-attribute-language.scroll
35 lines (30 loc) · 1.14 KB
/
template-attribute-language.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import ../code/conceptPage.scroll
id template-attribute-language
name Template Attribute Language
appeared 2007
tags template
fileType text
centralPackageRepositoryCount 0
example
<tal:if condition="context/itemlist">
</tal>
wikipedia https://en.wikipedia.org/wiki/Template_Attribute_Language
example
<html metal:define-macro="icing">
...
<metal:myslot define-slot="optional-form">
...
</html>
<html metal:use-macro="templates/page/macros/icing">
<form metal:fill-slot="optional-form" action="."
tal:attributes="action context/designator">
...
</form>
</html>
related html xml python java perl raku common-lisp thymeleaf
summary The Template Attribute Language (TAL) is a templating language used to generate dynamic HTML and XML pages. Its main goal is to simplify the collaboration between programmers and designers. This is achieved by embedding TAL statements inside valid HTML (or XML) tags which can then be worked on using common design tools. TAL was created for Zope but is used in other Python-based projects as well.
backlinksCount 19
pageId 10517358
created 2007
revisionCount 91
dailyPageViews 19