On Sat 2006-09-23 (10:50), [EMAIL PROTECTED] wrote:
> I'm having problems passing a formencode object to a widget for use.
> It seems to be converted to an "element" type.
>
> The object I am working with is 'thisFormObj'
>
> This is the value of the object before it is passed into the widget:
> TableForm(name='form', submit_text='Add Photo', convert=True,
> table_attrs={}, method='post', action=None, disabled_fields=set([]),
> form_attrs={})
>
> This is the value of the object when retrieved in the widget:
> <Element u'form' at 0x11c0c80>
>
> Does anydbody know what is going on?
>
> The calling code is:
> this_widget.display(thisFormObj=thisFormObj)
Unfortunately it isn't obvious from your email what you are trying to
achieve. What do you expect this code to do? What are you trying to
do?
Neil
--
Neil Blakey-Milner
[EMAIL PROTECTED]
http://mithrandr.moria.org/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---