[Zope3-dev] Re: small proposed widget change
Garrett Smith
garrett at mojave-corp.com
Thu Sep 25 16:29:40 EDT 2003
Fred L. Drake, Jr. wrote:
> Gary Poster writes:
> > I would like to add an "error" method to IBrowserWidget, as described
> > below. The purpose is to be able to avoid using the "row" method, and
> > use "label", "__call__", and the new "error" to render widgets in page
> > templates.
>
> +1
>
> The new error() method should return plain text, no HTML; that should
> be supplied by templates.
Gary's sample uses a 'snippet' view, which could be customized by skins.
I would think we'd want to insert it as structure.
-- Garrett
More information about the Zope3-dev
mailing list