durusmail: quixote-users: Controlled display of forms & widgets.
Controlled display of forms & widgets.
2003-04-25
2003-04-28
Controlled display of forms & widgets.
Jim Dukarm
2003-04-25
Hi -

> ...I'm now having
> a bit of difficulty figuring out how to place widgets side-by-side,
> in groups (tables?), or control which
> widgets are editable vs. read-only when in an update mode, for example.

A good approach is to subclass Quixote's Form class and write your own
render() method and related _render_* methods to lay out the form as
you desire, with whatever extra logic you desire.

Study how the original Form does its rendering, and then make a simple
example of what you are trying to do and hack on it until you get it
working, then expand on that.

Jim Dukarm
DELTA-X RESEARCH
Victoria BC Canada


reply