I thought I knew how to do this, but I can't get it working.  I want
to override params for widgets in a form at display time.

test_text = TextField(name='test', label='label')
test_form = ListForm(fields=[test_text])
test_params={'test':{'field_class':'new_field_class'}}

# In the template

${test_form.display(value=None, **test_params)}

No problem with overriding the params for the form, but I can't
override the params of the form's widgets.  This is doable, right?

Randall


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to