Grazie, ma...

non funge, l'errore che mi tira fuori รจ questo:

Traceback (innermost last):
  Module plone.app.portlets.manager, line 65, in safe_render
  Module five.customerize.zpt, line 194, in render
  Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
Module Products.PageTemplates.ZopePageTemplate, line 426, in pt_render
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 623, in do_insertText_tal
  Module Products.PageTemplates.Expressions, line 228, in evaluateText
  Module zope.tales.tales, line 696, in evaluate
- URL: /softcantieri/portal_view_customizations/ zope.interface.interface-navigation.pt
   - Line 19, Column 0
- Expression: <PythonExpr getattr(portal,here.getSectionFromURL,portal).title_or_id()>
   - Names:
      {'container': <ATDocument at /mioportale/chi-siamo/chi-siamo>,
       'context': <ATDocument at /mioportale/chi-siamo/chi-siamo>,
       'default': <object object at 0x4e528>,
       'here': <ATDocument at /mioportale/chi-siamo/chi-siamo>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7b42a80>, 'request': <HTTPRequest, URL=http://127.0.0.1:8080/mioportale/chi-siamo/chi-siamo/document_view >,
       'root': <Application at >,
'template': <TTWViewTemplate at /mioportale/chi-siamo/chi- siamo/zope.interface.interface-navigation.pt>,
       'user': <PropertiedUser 'admin'>,
       'view': <five.customerize.zpt.TTWPortlet object at 0x7ba8550>}
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
- __traceback_info__: getattr(portal,here.getSectionFromURL,portal).title_or_id()
  Module PythonExpr, line 1, in <expression>
NameError: name 'portal' is not defined



Il giorno 09/dic/07, alle ore 15:40, Fabrizio Reale ha scritto:

python:getattr(portal,here.getSectionFromURL,portal).title_or_id()


_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a