TG 1.5 is running really nicely now.
But my app is rather large - and occasionally I'll find a dark corner
I haven't been to yet since the upgrade.
Anyway, a long, long time ago - I made a form using genshi comprised
of widgets. I then never used widgets again - but the form remained.
Now I need to use the form - but it's not being rendered properly -
instead I get something like this:
START(QName('form'), Attrs([(QName('id'), 'form'), (QName('action'),
'save_contact_info'), (QName('method'), 'post'), (QName('class'),
u'tableform')]))(None, 2, 4)TEXT (None, 9, -1)START(QName('div'),
Attrs([(QName('style'), u'display:none')]))(None, 10, 8)TEXT (None,
10, -1)START(QName('input'), Attrs([(QName('type'), u'hidden'),
(QName('name'), 'store'), (QName('class'), 'hiddenfield'),
(QName('id'), 'form_store'), (QName('value'), u'1032')]))(None, 2,
4)ENDinput(None, 9, 6)TEXT (None, 13, -1)ENDdiv(None, 14, 8)TEXT
(None,
but it goes on for a long long time.
I won't bother you with most of my code unless you need it - since
it's long.
But I apparently render the form inside my genshi template like this
${ET(form.display(data, submit_text='Save and Return to Admin
Page'))}
I've looked at the TG 1.5 docs but they seemed more geared to widgets
under kid or transitioning from Genshi to Kid. I originally used
Genshi for this though.
Any thoughts how to fix this?
Thanks
--
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.