Hi!

I'm using Zope 2.9.4 with Five1.4 (linux box).
I'm trying to use DateDisplayWidget (from /zope/app/form/browser/textwidgets.py)

I get:
*Error Type: AttributeError*
*Error Value: locale
...
Module Products.PageTemplates.Expressions, line 180, in _eval
Module Products.PageTemplates.Expressions, line 85, in render
Module zope.app.form.browser.textwidgets, line 538, in __call__
Module ZPublisher.HTTPRequest, line 1219, in __getattr__

Which is caused by this line:

formatter = self.request.locale.dates.getFormatter(
           self._category, (self.displayStyle or None))

So is this something with my Zope that I don't have request.locale
or is that a bug?

--
Maciej Wisniowski
*
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to