before validating and not just
any field (as the AbstractCollection field does for its elements if the
value_type is specified)? That ist, why not simply replace
attribute.validate(getattr(value, name))
by
attribute.bind(value).validate(getattr(value, name))
Best regards,
Markus Kemmerling
why
data. Shouldn't the default value rather be set to the default content
type of HTML forms, i.e. 'application/x-www-form-urlencoded'?
Regards,
Markus Kemmerling
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
)
field.validate(getattr(value, name))
fixes the problem.
Looks like a bug to me.
Regards,
Markus Kemmerling
___
Zope-Dev maillist - Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists
.
Regards,
Markus Kemmerling
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org
:
return self.context[name]
except KeyError:
try:
return namespaceLookup('view', name, self.context,
request)
except TraversalError:
pass
raise NotFound(self.context, name, request)
Regards
Markus Kemmerling
AFAIK in MySQL table names are case-sensitive.
So, what happens if you say 'select * from STUDENTS'?
Markus Kemmerling
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Lee
Reilly CS1997
Sent: Tuesday, January 30, 2001 10:27 AM
To: [EMAIL PROTECTED
Here is a short, but useful HowTo:
http://www.zope.org/Members/anthony/sql_vs_ZODB
Markus Kemmerling
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom
Deprez
Sent: Sunday, January 21, 2001 11:50 PM
To: [EMAIL PROTECTED]
Subject: [Zope] Object
[2] for the COUNT()-column, but since I am quite new to
python and Zope I still don't know how to debug.
I also wonder if anybody running Zope with mysql on windows can reproduce this error.
Or maybe someone with a good knowledge of ZMySQLDA and the python mysql-module has
some hint?
Sorry that thi
;
but not the combination of both.
Also on a linux machine the error doesn't occur. Of course I tested the
queries from the mysql command line.
Any help?
Markus Kemmerling
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
l properly with an explicit
charset parameter.'
I encountered these problems especially on the Mac (up to Netscape 3, as far as I can
remember). But as it seems, the time to care about this misbehaviour is over now.
Markus Kemmerling
___
Zope maillist
seems to convert , , and (and quotes?). Of course
I could write my own python-method with a lot of replaces. But that would probably
mean to reinvent a wheel that already exists (this seems to be a rather common task to
me). Or is there a way to do it in DTML?
Any help appreciated.
Markus
11 matches
Mail list logo