durusmail: quixote-users: Re: Seeking a Small Example of Forms/Widget Usage
Introducing myself, a small bug and RPMs for Quixote
2001-11-12
2001-11-12
2001-11-13
Seeking a Small Example of Forms/Widget Usage
2001-11-13
2001-11-13
2001-11-22
2001-11-22
2001-11-22
2001-11-23
Re: Seeking a Small Example of Forms/Widget Usage
2001-11-26
2001-11-26
2001-11-27
Mystery re ZODB Technique in vfab
2001-11-28
2001-11-28
An Example of Quixote/ZODB/Grouch Usage
2001-11-29
2001-11-13
Grouch and ZODB
2001-11-20
2001-11-21
2001-11-21
2001-11-21
2001-11-21
Re: Seeking a Small Example of Forms/Widget Usage
Greg Ward
2001-11-26
On 26 November 2001, Jeff Rush said:
> Greg, thanks for your effort.  I now have the forms/widgets framework
> working for me, although I'm still wrestling with the best way to
> organize it.  Right now it takes three methods and a lot of messy
> code, but it works.

All I can do is refer you to the new widget demo code.  I think that's a
fairly clean way to organize things if you're using the Widget classes
directly, with no Form object around to organize things.  (When you use
the Form class, you generally create a Form subclass for each form in
your application, which gives you fairly well-defined places for each
stage of the proceedings: creation, rendering, processing, and taking
action.)

> i'm working on stylistic/code-formatting issues
> to make it simpler.  Also some new widget types for dates, money
> usphonenos and such.

OK, I'll bite: what's a usphonenos?

BTW, Roger Masse here at the MEMS Exchange has written a date widget.  I
haven't played with it much, but it might be worth putting into Quixote
as an example.  The only catch is that it uses JavaScript to improve the
UI a bit, and now Roger has all sorts of ideas for a Page abstraction
which gives us somewhere to put common JavaScript code needed by forms
and widgets.  Trouble is, he's got a point... ;->

> OT but I've also got the Grouch stuff working fine.  Combined with
> Quixote and ZEO/ZODB, this is a pretty neat development environment!

Cool!  You're the first person I've heard from who's even *tried*
Grouch, much less got it working.  ;-(

        Greg
--
Greg Ward - software developer                gward@mems-exchange.org
MEMS Exchange                            http://www.mems-exchange.org


reply