ZSQLMethod is not registered as a base class. I dont know why, but you could
try changing it in the init.py... But Im sure there is a good reason why it
isnt.
----- Original Message -----
From: "Cary O'Brien" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 30, 2000 12:59 PM
Subject: [Zope] Why can't I subclass a ZSQLMethod?
>
> I want to wrap a presentation layer around ZSQLQueries, so that
> they will have methods to generate an input form [1] for the query,
> and generate tabular results if so desired.
>
> I tried to create a ZClass to do this, but I can't subclass from a
> ZSQLMethod.
>
> Any other ideas on how to do this (besides a class where you have
> to tell it the ZSQLMethod to use)?
>
> -- cary
>
> [1] Using sql.arguments_str to find out the arguments. Finding THAT was
> a struggle!
>
>
> _______________________________________________
> Zope maillist - [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )