Feature: zope.formlib: associate widget errors with widgets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.formlib |
Invalid
|
Undecided
|
Unassigned |
Bug Description
"zope.formlib" widgets have an "error" method to provide widget related error information. That's good.
A widget sets its error indication when it detects a problem itself. However, widget related errors can also be detected at a more global level. Example use case: a form supports multiple actions and the set of mandatory fields is different for the various actions. In such a case, an action validator will detect widget related errors. At the moment (current "zope.formlib" trunk), the widgets do not support setting widget related error information from the outside. I suggest to add a 'setInputWidget
In addition, I suggest to add an additional method "associate_
Changed in zope3: | |
status: | New → Won't Fix |
The zope.formlib project on Launchpad has been archived at the request of the Zope developers (see https:/ /answers. launchpad. net/launchpad/ +question/ 683589 and https:/ /answers. launchpad. net/launchpad/ +question/ 685285). If this bug is still relevant, please refile it at https:/ /github. com/zopefoundat ion/zope. formlib.