durusmail: quixote-users: Reset button
Reset button
2005-10-13
Reset button
Mike Orr
2005-10-13
I notice ResetWidget has become a subclass of ButtonWidget in Quixote
2.2 instead of SubmitWidget.  Is there a reason for this?    My
program had it printing nicely in the same row as the submit widgets
where it usually goes.  Now it shows up on a line above, and if I
iterate the standard widgets it shows up as {'reset': False}.  But
it's not a standard widget so that doesn't make sense.

    for w in form.widgets:  # Copy the values of the regular widgets to a dict.
        r[w.name] = w.parse()

I guess I'll take out my reset buttons because I don't want to run a
patched version of Quixote.

--
Mike Orr  or 
reply