Re: getFormatter

Vladislav Vorobiev <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[email protected]>
Am 23. Februar 2011 15:53 schrieb  <[email protected]>:
>
> Sorry, war kein AttributeError sondern:
>
> Unauthorized: You are not allowed to access 'dates' in this context
>
> Selbst als Manager bekomme ich das.
>
> [email protected] wrote on 02/23/2011 02:54:31 PM:
>
>>
>> >> Ich nutze das, allerdings auf Zope2.12.
>> >Was heißt denn, dass es nicht funktioniert?
>>
>> Kann mich nur anschließen. Wie sieht die Fehlermeldung aus?
>>
>> Probier mal:
>>
>> context.REQUEST.locale.dates.getFormatter('dateTime', 'medium')


Keine Ahnung mach eine Methode der Python-Klasse uns versuche es erst
mal von da aus.


-- 
Best Regards
Vlad Vorobiev


_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.