[Zope3-dev] Why do we need inut widgets to have both validate and
getInputValue methods?
Jim Fulton
jim at zope.com
Mon Sep 27 06:21:11 EDT 2004
zope.app.form.interfaces.IInputWidget defines validate and getInputValue
methods that seem to do the same thing. In fact, the default implementation
of validate in zope.app.form.Widget just returns the result of calling
getInputValue. None of the implementations in zope.app.form.browser
override this definition of validate.
I propose to get rid of (deprecate) the validate method.
Any objections?
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list