Hello,
I tried customize the rendering of widget using the
following code I copied from Dave Kuhlman's tutorial A
Quixote Application Skeleton with the following code:
from quixote.form2 import Form
class MyWidgetRow(form2.WidgetRow):
def render(self):
title = self.title or ''
if title and self.required:
title = title + htmltext(' *')
r = TemplateIO(html=True)
r += htmltext('<tr><th width=15%"
align="left">')
r += title
r += htmltext('</th><td>')
r += self.widget.render()
......etc....
Unfortunately, the following error occured when I run
the webpage.
class MyWidgetRow(form2.WidgetRow):
AttributeError: 'module' object has no attribute
'WidgetRow'
I check all the modules of form2 but did not found
WidgetRow in form, widget and __init__. Please help.
Thank you in advance.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users