[z3-five] formlib yes or no
Dennis Schulz
d.schulz81 at gmx.net
Thu Dec 7 18:34:30 CET 2006
Hello
I am currently in a decision making process to build an application.
(actually already over it)
In the last weeks and even months I made experiences with formlib and I
am questioning if it makes sense to carry on with formlib or design
everything from the ground up manually in own page templates.
The most scary thing is that there is very few documentation and almost
no examples of bigger applications using it.
Is anybody else using formlib/ widgets/ objectwidgets?
This is my first bigger application in which I try to use it, but I am
getting into more and more issues and thinking of swiching to handmade
forms again.
Maybe when it gets too special and there has to be customized to much in
comparision to the autogenerated form it is not worth dealing with all
the problems you get.
Here a list of problems I currently have that are at least closly
related to formlib:
- there is no update of no-value on select fields (choice). normally you
should also be able to choose nothing when the field is required=False
- Standard AddFormbase is only for input widgets. I made an alternative
version that also allows passing the value through displayWidgets like
in the editForm.
Here I had the strange problem, that one particular value was sometimes
not included when for_display=True, but maybe also my own fault.
- What is the best place to set fields with default values? Sometimes I
need to get these values with GET. overwrite setupWidgets and set the
get_rendered attribute of the fields?
- various action buttons that allow a different application of the
entered values. How only validating a certain part of the form?
- cancel button without any validation? In my form every click on cancel
also performs a validation even if I don't explicitly call applychanges.
Why?
- more control over validation. how can I validate and save only two
fields of a form, not the whole list?
Dennis
More information about the z3-five
mailing list