[Zope3-dev] small proposed widget change

Gary Poster gary at zope.com
Thu Sep 25 16:20:04 EDT 2003


Sure.  If that's not the case already, then all we'd have to do is 
change the 'snippet' view for errors with IBrowserRequests.  I won't do 
that for this checkin (I don't even know if it's an issue currently) but 
that would be easy to do with configuration.

Gary


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.
> 
> 
>   -Fred
> 




More information about the Zope3-dev mailing list