Reset button

Mike Orr <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
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 <[email protected]> or <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.