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.Expressio
On 9/5/06, Maciej Wisniowski <[EMAIL PROTECTED]> wrote:
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)
[snip]
So is this something with my Zope that I don't have request.locale
or is that a bug?
I'd say it's a bu
> I'd say it's a bug. The Zope3 request has the locale attribute, but
> the Zope2 request implementation doesn't.
Yeah, I supposed that but was not sure. Thanks.
I've submitted an issue:
http://www.zope.org/Collectors/Zope/2184
--
Maciej Wisniowski
__
--On 5. September 2006 15:35:36 +0200 Maciej Wisniowski
<[EMAIL PROTECTED]> wrote:
> I'd say it's a bug. The Zope3 request has the locale attribute, but
> the Zope2 request implementation doesn't.
Yeah, I supposed that but was not sure. Thanks.
I've submitted an issue:
http://www.zope.or
That's basically a Zope 3 issue and belongs into the Zope 3 bugtracker
:-)
Why Zope 3? I'm using Zope 2.9.4. This code is ported
directly form Zope 3 or what?
--
Maciej Wisniowski
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/list
--On 5. September 2006 15:49:46 +0200 Maciej Wisniowski
<[EMAIL PROTECTED]> wrote:
That's basically a Zope 3 issue and belongs into the Zope 3 bugtracker
:-)
Why Zope 3? I'm using Zope 2.9.4. This code is ported
directly form Zope 3 or what?
The REQUEST in Zope 2 never had a 'locale'
> I consider this a feature request but not as a bug.
Ehm... I'm not sure whether we understand each other.
I mean the bug is that DateDisplayWidget in Zope2.9.4 uses request.locale
which as you said is from Zope3 world. So, as far as I understand, reference
to 'request.locale' shouldn't appear i
--On 5. September 2006 16:24:09 +0200 Maciej Wisniowski
<[EMAIL PROTECTED]> wrote:
> I consider this a feature request but not as a bug.
Ehm... I'm not sure whether we understand each other.
I mean the bug is that DateDisplayWidget in Zope2.9.4 uses request.locale
which as you said is from