| Home | Trees | Index | Help |
|---|
|
|
DT_String.String --+
|
HTML
HTML Document Templates
HTML Document templates use HTML server-side-include syntax,
rather than Python format-string syntax. Here's a simple example:
<!--#in results-->
<!--#var name-->
<!--#/in-->
HTML document templates quote HTML tags in source when the
template is converted to a string. This is handy when templates
are inserted into HTML editing forms.
|
|||
| tagre(self) | |||
|
parseTag(self,
match_ob,
command=None,
sargs='')
Parse a tag using an already matched re Return: tag, args, command, coname where: tag is the tag, args is the tag's argument string, command is a corresponding command info structure if the tag is a start tag, or None otherwise, and coname is the name of a continue tag (e.g. |
|||
| SubTemplate(self, name) | |||
| varExtra(self, match_ob) | |||
|
manage_edit(self,
data,
REQUEST=None)
edit a template |
|||
| quotedHTML(self, text=None, character_entities=((('&'),'&'), (("<"),'<'), ((">"),'>'), (('"'),'"'))) | |||
| errQuote(self, text=None, character_entities=((('&'),'&'), (("<"),'<'), ((">"),'>'), (('"'),'"'))) | |||
| __str__(self) | |||
|
management_interface(self)
Hook to allow public execution of management interface with everything else private. |
|||
|
manage_editForm(self,
URL1,
REQUEST)
Display doc template editing form |
|||
|
manage(self,
URL1,
REQUEST)
Display doc template editing form |
|||
|
manage_editDocument(self,
URL1,
REQUEST)
Display doc template editing form |
|||
|
Inherited from Inherited from |
|||
|
|||
|
Parse a tag using an already matched re
Return: tag, args, command, coname
where: tag is the tag,
args is the tag's argument string,
command is a corresponding command info structure if the
tag is a start tag, or None otherwise, and
coname is the name of a continue tag (e.g. else)
or None otherwise
|
|
|
|
|
|
|
|
|
|
|
|
|||
tagre__roles__
|
parseTag__roles__
|
SubTemplate__roles__
|
varExtra__roles__
|
manage_edit__roles__
|
quotedHTML__roles__
|
errQuote__roles__
|
management_interface__roles__
|
manage_editForm__roles__
|
manage_editDocument__roles__
|
manage__roles__
|
_manage_editForm
|
document_template_edit_footer
|
document_template_edit_header
|
document_template_edit_width
|
document_template_form_header
|
editConfirmation
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:30 2007 | http://epydoc.sf.net |