Re: [Zope-dev] [Checkins] SVN: zope.schema/trunk/ Fix broken Object field validation where the schema contains a Choice with

2011-12-12 Thread Markus Kemmerling
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

[Zope-dev] z3c.form: Default form content type

2011-04-10 Thread Markus Kemmerling
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

[Zope-dev] Object schema field validation

2009-11-29 Thread Markus Kemmerling
) 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

Re: [Zope-dev] Decimal formatter truncating to 3 decimal places - why?

2009-05-07 Thread Markus Kemmerling
. 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

Re: [Zope-dev] Itemtraverser and Unauthorized vs Views

2008-07-04 Thread Markus Kemmerling
: 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

RE: [Zope] [OT perhaps] ZMySQLDA

2001-01-30 Thread 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

RE: [Zope] Object DB versus Relational DB

2001-01-22 Thread Markus Kemmerling
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

[Zope] RE: ZMySQLDA and aggregate functions on Win

2001-01-15 Thread Markus Kemmerling
[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

[Zope] ZMySQLDA and aggregate functions on Win

2001-01-11 Thread Markus Kemmerling
; 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

RE: [Zope] Non-ASCII-form-input - HTML-entities?

2001-01-04 Thread Markus Kemmerling
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

[Zope] Non-ASCII-form-input - HTML-entities?

2001-01-03 Thread Markus Kemmerling
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