[Zope] znolk wizard

robert rottermann robert at redcor.ch
Fri Apr 3 01:36:05 EDT 2009

take collective.mercury this generates intterfaces from every table.
with such an interface yaou need only a couple of lines to build an edit form
for every table.
somethings like:

class DeclarationKLView(formbase.PageForm):
    form_fields = form.Fields(ItblDeclaration_klTable)
    ignoreContext = True # don't use context to get widget data

    #def __init__(self, *args, **kw):
        #ItemAddForm.__init__(self, *args, **kw)

    def action_send(self, action, data):
        """Send the email to the site administrator and redirect to the
        front page, showing a status message to say the message was received.

garry at schoolteachers.co.uk schrieb:
> Quoting Chris Withers <chris at simplistix.co.uk>:
>> garry at schoolteachers.co.uk wrote:
>>> Does anybody have a recent-ish copy of Znolk wizard product or know where I
>>> could get hold of a copy. The original source no longer has it and 
>>> the one on
>>> the zope.org site is very old. In particular I would like it to 
>>> function with
>>> SQLite.
>> Doesn't think generate SQL methods or something similarly old and crufty?
> Yes it is old, but it is the only reliable thing I've found to rapidly 
> generate
> database edit forms and csv up/download methods.
>> I seem to remember this thing spitting out dtml...
> It generates dtml and ZSQLmethods reliably.
>> Any reason you couldn't do what you want it to do as a seperate wsgi app?
> Yes, it is not used to generate finished apps, only prototypes and initial
> templates.
> Like my Ducati it's old, but like my Ducati it still works, and I'm not 
> going to
> throw the Ducati away just because it's old.
> Regards
> Garry
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )

More information about the Zope mailing list