Il 07/05/2010 11:38, Yuri ha scritto:
> da un template zpt, come posso accedere alle proprietà (property_sheet
> da ZMI) di un'oggetto? Mi manca il nome :P
> _______________________________________________
> Plone-IT mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
>    
# Example code:

# Import a standard function, and get the HTML request and response objects.
from Products.PythonScripts.standard import html_quote
request = container.REQUEST
RESPONSE =  request.RESPONSE
print getattr(context, 'logo', None)
return printed

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

Rispondere a