Joachim Schmitz wrote:
hi,
I sent this yesterday, does nobody have an idea, what's wrong ?
I have a ZSQL-method insert in my root folder like this:
insert into <!--#var table sql_quote upper --> ( <!--#in EinAusgabe --> <!--#unless sequence-start -->,<!--#/unless --> <!--#var name --> <!--#/in -->) <snipp>
also in my root-folder is a dtml-document which calls insert(REQUEST)
this is my folder-structure:
root insert (ZSQL-method) bearbeiten (dtml-document) kultur kino Event EinAusgabe (TinyTable)
when I now call root/kultur/kino/Event/bearbeiten
under 1.10.3 that correctly inserts my record. under 2.0.0b5 I get a keyerror EinAusgabe from the insert-method, I think it has something to do with difference of dtml-documents versus dtml-methods. But how do I treat a ZSQL-method as an ZSQL-document ?
Yes. bearbeiten should be a method, not a document. Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.