Actually, that's exactly what I did! I have it in ToastyWidgets and it has the same problem as in ticket 148: http://trac.turbogears.org/turbogears/ticket/148
Except it doesn't show the "unhandled exception" bit. On 12/15/05, programmer.py <[EMAIL PROTECTED]> wrote: > > Something like this may work for you (untested): > > from turbogears.widgets import Widget > > class TextArea(Widget): > template = '<div xmlns:py="http://purl.org/kid/ns#"> <textarea > name="${widget.name}"> ${widget_value} </textarea></div>' > > I've found that subclassing widgets is pretty simple. Or maybe I'm > doing something COMPLETELY wrong ;). Heck, I've even written a simple > databound select widget. > > HTH, > jw > > -- [EMAIL PROTECTED]