[Twisted-web] using freeform bind_* instead of subclass
dp at ulaluma.com
Sat Jul 16 13:22:34 MDT 2005
On Jul 16, 2005, at 4:47 AM, Paul Reznicek wrote:
> Hello all,
> using "bind_*" is very simple, nice and usable (try the example),
> but I have several questions (see below):
I guess I should learn that attempting to remove a source of FAQs
just introduces new FAQs :-)
> 1. how to omit the automatically generated submit button "Call"
Thanks for mentioning this. It gave me an idea about a better way to
support submit buttons in formless (more like forms does it).
However, in the meantime, would it be enough if it said "Submit"
instead of "Call"? Or do you want no buttons at all?
> 2. how to change (or skip) the displayed form name "Two _fields",
> resp. the whole frame ?
The convention is to use camelCase in the method and argument names.
If you use camelCase the names should look nice.
> 3. how to get all fields and buttons into one line, resp. one table
> row ?
For this, you'd have to customize the skin. It's pretty painful, but
it is possible. There's an example of doing it in the examples
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-web