Package Products :: Package PageTemplates :: Module ZopePageTemplate :: Class ZopePageTemplate
[show private | hide private]
[frames | no frames]

Type ZopePageTemplate

                      Cacheable --+
                                  |
                 object --+       |
                          |       |
                       Base --+   |
                              |   |
                     Historical --+
                                  |
                 object --+       |
                          |       |
                       Base --+   |
                              |   |
                   PageTemplate --+
                                  |
                 object --+       |
                          |       |
                       Base --+   |
                              |   |
               Node --+       |   |
                      |       |   |
                Element --+   |   |
                          |   |   |
      ElementWithAttributes --+   |
                              |   |
                PropertyManager --+
                                  |
               Bindings --+       |
                          |       |
                 BindingsUI --+   |
                              |   |
         object --+           |   |
                  |           |   |
               Base --+       |   |
                      |       |   |
     object --+       |       |   |
              |       |       |   |
           Base --+   |       |   |
                  |   |       |   |
         CopySource --+       |   |
                      |       |   |
           Node --+   |       |   |
                  |   |       |   |
            Element --+       |   |
                      |       |   |
     object --+       |       |   |
              |       |       |   |
           Base --+   |       |   |
                  |   |       |   |
              Owned --+       |   |
                      |       |   |
     object --+       |       |   |
              |       |       |   |
           Base --+   |       |   |
                  |   |       |   |
EtagSupport --+   |   |       |   |
              |   |   |       |   |
   LockableItem --+   |       |   |
                  |   |       |   |
           Resource --+       |   |
                      |       |   |
     object --+       |       |   |
              |       |       |   |
           Base --+   |       |   |
                  |   |       |   |
               Tabs --+       |   |
                      |       |   |
        Traversable --+       |   |
                      |       |   |
     object --+       |       |   |
              |       |       |   |
           Base --+   |       |   |
                  |   |       |   |
        UndoSupport --+       |   |
                      |       |   |
                   Item --+   |   |
                          |   |   |
         object --+       |   |   |
                  |       |   |   |
               Base --+   |   |   |
                      |   |   |   |
         object --+   |   |   |   |
                  |   |   |   |   |
         Persistent --+   |   |   |
                      |   |   |   |
             Persistent --+   |   |
                          |   |   |
         object --+       |   |   |
                  |       |   |   |
               Base --+   |   |   |
                      |   |   |   |
        RoleManager --+   |   |   |
                      |   |   |   |
            RoleManager --+   |   |
                          |   |   |
         object --+       |   |   |
                  |       |   |   |
               Base --+   |   |   |
                      |   |   |   |
               Acquirer --+   |   |
                          |   |   |
                 SimpleItem --+   |
                              |   |
                         Script --+
                                  |
                    Traversable --+
                                  |
                                 ZopePageTemplate

Known Subclasses:
Report

Zope wrapper for Page Template using TAL, TALES, and METAL
Method Summary
  __init__(self, id, text, content_type)
  __setstate__(self, state)
  document_src(self, REQUEST, RESPONSE)
Return expanded document source.
  get_size(self)
  getSize(self)
  manage_FTPget(self)
Get source for FTP download
  manage_FTPput(self, REQUEST, RESPONSE)
Handle HTTP PUT requests
  manage_historyCompare(self, rev1, rev2, REQUEST, historyComparisonResults)
  om_icons(self)
Return a list of icon URLs to be displayed by an ObjectManager
  PrincipiaSearchSource(self)
Support for searching - the document's contents are searched.
  pt_changePrefs(self, REQUEST, height, width, dtpref_cols, dtpref_rows)
Change editing preferences.
  pt_editAction(self, REQUEST, title, text, content_type, expand)
Change the title and document.
  pt_getContext(self)
  pt_setTitle(self, title)
  pt_source_file(self)
Returns a file name to be compiled into the TAL code.
  pt_upload(self, REQUEST, file, charset)
Replace the document with the text in file.
  PUT(self, REQUEST, RESPONSE)
Handle HTTP PUT requests
  write(self, text)
  ZScriptHTML_tryParams(self)
Parameters to test the script with.
Inherited from Script: ZScriptHTML_tryAction
Inherited from Item: __len__, __repr__, getId, manage_afterAdd, manage_afterClone, manage_beforeDelete, manage_editedDialog, manage_FTPlist, manage_FTPstat, objectIds, objectItems, objectValues, raise_standardErrorMessage, this, title_and_id, title_or_id, tpURL, tpValues
Inherited from Resource: COPY, dav__init, dav__simpleifhandler, dav__validate, DELETE, HEAD, listDAVObjects, LOCK, manage_DAVget, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, TRACE, UNLOCK
Inherited from LockableItem: wl_clearLocks, wl_delLock, wl_getLock, wl_hasLock, wl_isLocked, wl_lockItems, wl_lockmapping, wl_lockTokens, wl_lockValues, wl_setLock
Inherited from EtagSupport: http__etag, http__parseMatchList, http__processMatchHeaders, http__refreshEtag
Inherited from CopySource: cb_isCopyable, cb_isMoveable, cb_userHasCopyOrMovePermission
Inherited from Tabs: class_manage_path, filtered_manage_options, manage_workspace, tabs_path_default, tabs_path_info
Inherited from Traversable: absolute_url, absolute_url_path, getPhysicalPath, restrictedTraverse, unrestrictedTraverse, virtual_url_path
Inherited from Element: getAttribute, getAttributeNode, getChildNodes, getElementsByTagName, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getParentNode, getPreviousSibling, getTagName
Inherited from Node: getAttributes, getNodeValue, getOwnerDocument, hasChildNodes
Inherited from Owned: changeOwnership, getOwner, getOwnerTuple, getWrappedOwner, manage_fixupOwnershipAfterAdd, owner_info, userCanTakeOwnership
Inherited from UndoSupport: get_request_var_or_attr, manage_undo_transactions, undoable_transactions
Inherited from Persistent: __class_init__, __getattribute__, bobobase_modification_time, locked_in_version, modified_in_version
Inherited from Persistent: __delattr__, __getstate__, __new__, __reduce__, __setattr__
Inherited from RoleManager: ac_inherited_permissions, access_debug_info, acquiredRolesAreUsedBy, get_local_roles, get_local_roles_for_userid, get_valid_userids, has_local_roles, manage_access, manage_defined_roles, manage_editRoles, manage_role, permission_settings, permissionsOfRole, possible_permissions, rolesOfPermission, userdefined_roles, users_with_local_role, valid_roles, validate_roles, validRoles
Inherited from RoleManager: manage_getPermissionMapping
Inherited from BindingsUI: ZBindingsHTML_editAction
Inherited from Bindings: __before_publishing_traverse__, __call__, __render_with_namespace__, getBindingAssignments, render, ZBindings_edit, ZBindings_setClient
Inherited from PageTemplate: html, pt_edit, pt_errors, pt_macros, pt_render, pt_warnings, read, StringIO
Inherited from Historical: manage_afterHistoryCopy, manage_beforeHistoryCopy, manage_change_history, manage_historicalComparison, manage_historyCopy
Inherited from Cacheable: ZCacheable_configHTML, ZCacheable_enabled, ZCacheable_get, ZCacheable_getCache, ZCacheable_getManager, ZCacheable_getManagerId, ZCacheable_getManagerIds, ZCacheable_getManagerURL, ZCacheable_getModTime, ZCacheable_getObAndView, ZCacheable_invalidate, ZCacheable_isAMethod, ZCacheable_isCachingEnabled, ZCacheable_set, ZCacheable_setEnabled, ZCacheable_setManagerId
Inherited from PropertyManager: getProperty, getPropertyType, hasProperty, manage_addProperty, manage_changeProperties, manage_changePropertyTypes, manage_delProperties, manage_editProperties, propdict, propertyIds, propertyItems, propertyLabel, propertyMap, propertyValues, valid_property_id
Inherited from Base: __getnewargs__
Inherited from object: __hash__, __reduce_ex__, __str__

Class Variable Summary
tuple __ac_permissions__ = (('Change Page Templates', ('manage...
PermissionRole __call____roles__ = <PermissionRole object at 0x151c7d0>
tuple __implements__ = (<Interface webdav.WriteLockInterface.W...
PermissionRole __roles__ = <PermissionRole object at 0x151c7d0>
PermissionRole document_src__roles__ = <PermissionRole object at 0x151c...
FuncCode func_code = <Shared.DC.Scripts.Signature.FuncCode instan...
NoneType func_defaults = None                                                                  
PageTemplateFile manage = <PageTemplateFile at pt_editForm>
tuple manage__roles__ = ('Manager',)
PermissionRole manage_afterHistoryCopy__roles__ = <PermissionRole objec...
PermissionRole manage_beforeHistoryCopy__roles__ = <PermissionRole obje...
PermissionRole manage_FTPget__roles__ = <PermissionRole object at 0x151...
PermissionRole manage_FTPlist__roles__ = <PermissionRole object at 0x15...
PermissionRole manage_FTPput__roles__ = <PermissionRole object at 0x151...
PermissionRole manage_FTPstat__roles__ = <PermissionRole object at 0x15...
tuple manage_historyCompare__roles__ = ('Manager',)
PermissionRole manage_historyCopy__roles__ = <PermissionRole object at ...
PageTemplateFile manage_main = <PageTemplateFile at pt_editForm>
PermissionRole manage_main__roles__ = <PermissionRole object at 0x151ca...
tuple manage_options = ({'action': 'pt_editForm', 'help': ('Pa...
str meta_type = 'Page Template'
PermissionRole PrincipiaSearchSource__roles__ = <PermissionRole object ...
PermissionRole pt_changePrefs__roles__ = <PermissionRole object at 0x15...
PermissionRole pt_edit__roles__ = <PermissionRole object at 0x151c5a8>
PermissionRole pt_editAction__roles__ = <PermissionRole object at 0x151...
PageTemplateFile pt_editForm = <PageTemplateFile at pt_editForm>
PermissionRole pt_editForm__roles__ = <PermissionRole object at 0x151ca...
PermissionRole pt_setTitle__roles__ = <PermissionRole object at 0x151c5...
PermissionRole pt_upload__roles__ = <PermissionRole object at 0x151c5a8...
PermissionRole PUT__roles__ = <PermissionRole object at 0x151c5a8>
PermissionRole read__roles__ = <PermissionRole object at 0x151ca70>
Src source.html = <Products.PageTemplates.ZopePageTemplate.S...
Src source.xml = <Products.PageTemplates.ZopePageTemplate.Sr...
Src source_dot_xml = <Products.PageTemplates.ZopePageTemplat...
PermissionRole source_dot_xml__roles__ = <PermissionRole object at 0x15...
PermissionRole write__roles__ = <PermissionRole object at 0x151c5a8>
PermissionRole ZScriptHTML_tryForm__roles__ = <PermissionRole object at...
Inherited from Script: index_html, ZScriptHTML_tryForm
Inherited from SimpleItem: __implemented__, __provides__
Inherited from Item: __allow_access_to_unprotected_subobjects__, __name__, __propsets__, getId__roles__, icon, id, isPrincipiaFolderish, isTopLevelPrincipiaApplicationObject, manage_afterAdd__roles__, manage_afterClone__roles__, manage_beforeDelete__roles__, manage_editedDialog__roles__, REQUEST, title
Inherited from Resource: __dav_resource__, __http_methods__, COPY__roles__, DELETE__roles__, HEAD__roles__, listDAVObjects__roles__, LOCK__roles__, manage_DAVget__roles__, MOVE__roles__, OPTIONS__roles__, PROPFIND__roles__, PROPPATCH__roles__, TRACE__roles__, UNLOCK__roles__
Inherited from LockableItem: wl_clearLocks__roles__, wl_delLock__roles__, wl_getLock__roles__, wl_isLocked__roles__, wl_isLockedByUser__roles__, wl_lockItems__roles__, wl_lockmapping__roles__, wl_lockTokens__roles__, wl_lockValues__roles__, wl_setLock__roles__
Inherited from EtagSupport: __providedBy__
Inherited from Tabs: class_manage_path__roles__, filtered_manage_options__roles__, manage_tabs, manage_tabs__roles__, manage_workspace__roles__
Inherited from Traversable: absolute_url__roles__, absolute_url_path__roles__, getPhysicalPath__roles__, getPhysicalRoot, getPhysicalRoot__roles__, restrictedTraverse__roles__, unrestrictedTraverse__roles__, virtual_url_path__roles__
Inherited from Owned: changeOwnership__roles__, getOwner__roles__, getOwnerTuple__roles__, getWrappedOwner__roles__, manage_changeOwnershipType__roles__, manage_fixupOwnershipAfterAdd__roles__, manage_owner, manage_owner__roles__, manage_takeOwnership__roles__, owner_info__roles__
Inherited from UndoSupport: manage_undo_transactions__roles__, manage_UndoForm, manage_UndoForm__roles__, undoable_transactions__roles__
Inherited from RoleManager: __ac_local_roles__, __ac_roles__, ac_inherited_permissions__roles__, access_debug_info__roles__, aclAChecked, aclEChecked, aclPChecked, acquiredRolesAreUsedBy__roles__, manage_access__roles__, manage_acquiredForm, manage_acquiredForm__roles__, manage_acquiredPermissions__roles__, manage_addLocalRoles__roles__, manage_changePermissions__roles__, manage_defined_roles__roles__, manage_delLocalRoles__roles__, manage_editLocalRoles, manage_editLocalRoles__roles__, manage_editRoles__roles__, manage_listLocalRoles, manage_listLocalRoles__roles__, manage_permission__roles__, manage_permissionForm, manage_permissionForm__roles__, manage_role__roles__, manage_roleForm, manage_roleForm__roles__, manage_setLocalRoles__roles__, permission_settings__roles__, permissionMappingPossibleValues, permissionsOfRole__roles__, rolesOfPermission__roles__, selectedRoles, smallRolesWidget, userdefined_roles__roles__
Inherited from RoleManager: manage_getPermissionMapping__roles__, manage_setPermissionMapping__roles__
Inherited from BindingsUI: ZBindingsHTML_editAction__roles__, ZBindingsHTML_editForm, ZBindingsHTML_editForm__roles__
Inherited from PageTemplate: content_type, expand, macros
Inherited from Historical: HistoricalRevisions, manage_change_history__roles__, manage_change_history_page, manage_change_history_page__roles__, manage_historicalComparison__roles__
Inherited from Cacheable: ZCacheable_configHTML__roles__, ZCacheable_enabled__roles__, ZCacheable_get__roles__, ZCacheable_getCache__roles__, ZCacheable_getManager__roles__, ZCacheable_getManagerId__roles__, ZCacheable_getManagerIds__roles__, ZCacheable_getManagerURL__roles__, ZCacheable_getModTime__roles__, ZCacheable_getObAndView__roles__, ZCacheable_invalidate__roles__, ZCacheable_isAMethod__roles__, ZCacheable_isCachingEnabled__roles__, ZCacheable_manage, ZCacheable_manage__roles__, ZCacheable_set__roles__, ZCacheable_setEnabled__roles__, ZCacheable_setManagerId__roles__
Inherited from PropertyManager: getProperty__roles__, getPropertyType__roles__, hasProperty__roles__, manage_addProperty__roles__, manage_changeProperties__roles__, manage_changePropertyTypes__roles__, manage_delProperties__roles__, manage_editProperties__roles__, manage_propertiesForm, manage_propertiesForm__roles__, manage_propertyTypeForm, manage_propertyTypeForm__roles__, propdict__roles__, propertyIds__roles__, propertyItems__roles__, propertyLabel__roles__, propertyMap__roles__, propertysheets, propertyValues__roles__, valid_property_id__roles__

Method Details

document_src(self, REQUEST=None, RESPONSE=None)

Return expanded document source.

manage_FTPget(self)

Get source for FTP download

manage_FTPput(self, REQUEST, RESPONSE)

Handle HTTP PUT requests
Overrides:
webdav.Resource.Resource.PUT

om_icons(self)

Return a list of icon URLs to be displayed by an ObjectManager

PrincipiaSearchSource(self)

Support for searching - the document's contents are searched.

pt_changePrefs(self, REQUEST, height=None, width=None, dtpref_cols='100%', dtpref_rows='20')

Change editing preferences.

pt_editAction(self, REQUEST, title, text, content_type, expand)

Change the title and document.

pt_source_file(self)

Returns a file name to be compiled into the TAL code.
Overrides:
Products.PageTemplates.PageTemplate.PageTemplate.pt_source_file

pt_upload(self, REQUEST, file='', charset=None)

Replace the document with the text in file.

PUT(self, REQUEST, RESPONSE)

Handle HTTP PUT requests
Overrides:
webdav.Resource.Resource.PUT

ZScriptHTML_tryParams(self)

Parameters to test the script with.

Class Variable Details

__ac_permissions__

Type:
tuple
Value:
(('Change Page Templates',
  ('manage_FTPput',
   'pt_editAction',
   'write',
   'manage_historyCopy',
   'PUT',
   'pt_upload',
   'manage_afterHistoryCopy',
...                                                                    

__call____roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c7d0>                                   

__implements__

Type:
tuple
Value:
(<Interface webdav.WriteLockInterface.WriteLockInterface at 13c9bb0>,) 

__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c7d0>                                   

document_src__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151ca70>                                   

func_code

Type:
FuncCode
Value:
<Shared.DC.Scripts.Signature.FuncCode instance at 0x20334b8>           

func_defaults

Type:
NoneType
Value:
None                                                                  

manage

Type:
PageTemplateFile
Value:
<PageTemplateFile at pt_editForm>                                      

manage__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_afterHistoryCopy__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

manage_beforeHistoryCopy__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

manage_FTPget__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c3b0>                                   

manage_FTPlist__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c3b0>                                   

manage_FTPput__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

manage_FTPstat__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c3b0>                                   

manage_historyCompare__roles__

Type:
tuple
Value:
('Manager',)                                                           

manage_historyCopy__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

manage_main

Type:
PageTemplateFile
Value:
<PageTemplateFile at pt_editForm>                                      

manage_main__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151ca70>                                   

manage_options

Type:
tuple
Value:
({'action': 'pt_editForm',
  'help': ('PageTemplates', 'PageTemplate_Edit.stx'),
  'label': 'Edit'},
 {'action': 'ZScriptHTML_tryForm', 'label': 'Test'},
 {'action': 'manage_propertiesForm',
  'help': ('OFSP', 'Properties.stx'),
  'label': 'Properties'},
 {'action': 'manage_change_history_page',
...                                                                    

meta_type

Type:
str
Value:
'Page Template'                                                        

PrincipiaSearchSource__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151ca70>                                   

pt_changePrefs__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

pt_edit__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

pt_editAction__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

pt_editForm

Type:
PageTemplateFile
Value:
<PageTemplateFile at pt_editForm>                                      

pt_editForm__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151ca70>                                   

pt_setTitle__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

pt_upload__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

PUT__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

read__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151ca70>                                   

source.html

Type:
Src
Value:
<Products.PageTemplates.ZopePageTemplate.Src object at 0x2037510>      

source.xml

Type:
Src
Value:
<Products.PageTemplates.ZopePageTemplate.Src object at 0x2037510>      

source_dot_xml

Type:
Src
Value:
<Products.PageTemplates.ZopePageTemplate.Src object at 0x2037510>      

source_dot_xml__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151ca70>                                   

write__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151c5a8>                                   

ZScriptHTML_tryForm__roles__

Type:
PermissionRole
Value:
<PermissionRole object at 0x151ca70>                                   

Generated by Epydoc 2.1 on Thu Aug 16 09:55:12 2007 http://epydoc.sf.net