- - - - merge_base_edit.cpt - - -
- <metal:block metal:fill-slot="widgets">
- <tal:oldcontent tal:define="objectid request/object;
- brain python:context.portal_catalog(id=objectid)[0];
- object python:brain.getObject();
- schema python:object.Schema();">
- <tal:fields define="fields python:schema.fields();">
- <tal:listing repeat="f fields">
- <span tal:define="global names python:f.getName();" tal:content="names"> Name </span>
- <span tal:content="python:f.get(names)"> </span>
- </tal:listing>
- </tal:fields>
- </tal:oldcontent>
- <tal:newcontent tal:condition="allow_tabbing | nothing">
- <tal:fields repeat="field python:schematas[fieldset].editableFields(here, visible_only=True)">
- <metal:fieldMacro use-macro="python:here.widget(field.getName(), mode='edit')" />
- </tal:fields>
- </tal:newcontent>
- </metal:block>
- - - - Error Message - - -
- - URL: file:/usr/oracle/zope/dbis/products/I5/skins/I5/merge_base_edit.cpt
- - Line 106, Column 9
- - Expression: <PythonExpr f.get(names)>
- - Names:
- {'container': <PloneSite at /wwwI5>,
- 'context': <BookArticle at /wwwI5/publications/BookArticle.1281372218422>,
- 'default': <object object at 0x1ad528>,
- 'here': <BookArticle at /wwwI5/publications/BookArticle.1281372218422>,
- 'loop': {u'f': <Products.PageTemplates.Expressions.PathIterator object at 0x677fad0>},
- 'nothing': None,
- 'options': {'args': (),
- 'state': <Products.CMFFormController.ControllerState.ControllerState object at 0x74d4b90>},
- 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x6185620>,
- 'request': <HTTPRequest, URL=http://......../wwwI5/publications/BookArticle.1281372218422/merge_base_edit>,
- 'root': <Application at >,
- 'template': <FSControllerPageTemplate at /wwwI5/merge_base_edit used for /wwwI5/publications/BookArticle.1281372218422>,
- 'traverse_subpath': [],
- 'user': <PropertiedUser 'admin'>}
- Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
- - __traceback_info__: f.get(names)
- Module PythonExpr, line 1, in <expression>
- Unauthorized: You are not allowed to access 'get' in this context