[px] Made PX thread-safe.
This commit is contained in:
parent
086f93e845
commit
1d931cfb96
10 changed files with 2086 additions and 2037 deletions
|
@ -7,6 +7,7 @@ import appy.pod
|
|||
from appy.gen import Type, Search, Ref, String, WorkflowAnonymous
|
||||
from appy.gen.indexer import defaultIndexes
|
||||
from appy.gen.utils import createObject
|
||||
from appy.px import Px
|
||||
from appy.shared.utils import getOsTempFolder, executeCommand, \
|
||||
normalizeString, sequenceTypes
|
||||
from appy.shared.xml_parser import XmlMarshaller
|
||||
|
@ -26,6 +27,15 @@ class AbstractWrapper(object):
|
|||
'''Any real Appy-managed Zope object has a companion object that is an
|
||||
instance of this class.'''
|
||||
|
||||
pxTemplate = Px('''
|
||||
<html>
|
||||
<head><title>:self.title</title></head>
|
||||
<body>
|
||||
<x>:content</x>
|
||||
</body>
|
||||
</html>
|
||||
''', prologue=Px.xhtmlPrologue)
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Class methods
|
||||
# --------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue