still answering to myself:

this is with CPS-3.4 from svn.

here is again a description of the symptoms:

I try to view an object of type Faculty with the layout faculty.
I have access to "normal" pt's like "temporary_view_all_form", which are in the skins-folder, but when using the layout faculty, which should access layout_waeup_view, I get the error:

No layout method 'layout_waeup_view' for layout 'faculty'

If I customize 'layout_waeup_view' to the custom-folder, it is found.

Is there a special directory-view, I have to define for layouts ?

here the full traceback, with the repeated lines cut off.

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 164, in _exec
  Module None, line 19, in temporary_view_all
- <FSPythonScript at /WAeUP/temporary_view_all used for /WAeUP/sections/demouni/academics/Science>
   - Line 19
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSPageTemplate at /WAeUP/temporary_view_all_form used for /WAeUP/sections/demouni/academics/Science>
  Module TAL.TALInterpreter, line 238, in __call__
<snipp .......>
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:CPSSkins/skins/CPSSkins/cpsskins_main_template_default.pt
   - Line 41, Column 16
- Expression: <PythonExpr isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)>
   - Names:
      {'container': <CPSDefaultSite at /WAeUP>,
'context': <ProxyFolder at /WAeUP/sections/demouni/academics/Science>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb7089aac>,
       'here': <ProxyFolder at /WAeUP/sections/demouni/academics/Science>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb254ce4c>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb70350ac>,
       'nothing': None,
       'options': {'args': (), 'psm': None},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb254ce4c>, 'request': <HTTPRequest, URL=http://z29.aixtraware.de/WAeUP/sections/demouni/academics/Science/temporary_view_all>,
       'root': <Application at >,
'template': <FSPageTemplate at /WAeUP/temporary_view_all_form used for /WAeUP/sections/demouni/academics/Science>,
       'traverse_subpath': [],
       'user': <CPSUser perry>}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options) Module Python expression "isRenderable and content.render_cache(shield=shield, context_obj=context_obj, enable_esi=enable_esi, boxedit=boxedit, template=template, options=options)", line 1, in <expression>
  Module Products.CPSSkins.BaseTemplet, line 550, in render_cache
  Module Products.CPSSkins.MainContent, line 108, in render
  Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSPageTemplate at /WAeUP/temporary_view_all_form used for /WAeUP/sections/demouni/academics/Science>
  Module TAL.TALInterpreter, line 238, in __call__
<snipp ......>
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:WAeUP/skins/waeup_default/temporary_view_all_form.pt
   - Line 28, Column 6
   - Expression: standard:'rendered_main|python:doc.render()'
   - Names:
      {'container': <CPSDefaultSite at /WAeUP>,
'context': <ProxyFolder at /WAeUP/sections/demouni/academics/Science>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb7089aac>,
       'here': <ProxyFolder at /WAeUP/sections/demouni/academics/Science>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb1fbf52c>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb70350ac>,
       'nothing': None,
       'options': {'args': (), 'psm': None},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb1fbf52c>, 'request': <HTTPRequest, URL=http://z29.aixtraware.de/WAeUP/sections/demouni/academics/Science/temporary_view_all>,
       'root': <Application at >,
'template': <FSPageTemplate at /WAeUP/temporary_view_all_form used for /WAeUP/sections/demouni/academics/Science>}
  Module Products.PageTemplates.Expressions, line 185, in __call__
  Module Products.PageTemplates.Expressions, line 173, in _eval
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: doc.render()
  Module Python expression "doc.render()", line 1, in <expression>
  Module Products.CPSDocument.CPSDocument, line 68, in render
Module Products.CPSDocument.FlexibleTypeInformation, line 754, in renderObject Module Products.CPSDocument.FlexibleTypeInformation, line 722, in _renderLayouts
  Module Products.CPSSchemas.Layout, line 423, in renderLayoutStyle
ValueError: No layout method 'layout_waeup_view' for layout 'faculty'




--
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to