Hello zope, i get this error with the Formulator product, but perhaps it's not product specific, and i'm doing something wrong in zope. i have a stringfield, with the default in TALES tab set to "python:form.cpu_type" tipus is a variable to be acquired... in my dtml i say: <dtml-let type="'Intel Pentium 4'"> and it renders this in the input field: "<StringField instance at 018FEFA0>" whats this? how can i get the value of my variable? thanks, k. -- don't believe everything you think
3205 5361 1215 9784 writes:
... and it renders this in the input field:
"<StringField instance at 018FEFA0>"
whats this? how can i get the value of my variable? You do:
Your variable is bound to a "StringField" object. And its value (when converted to a string) is "<StringField instance at 018FEFA0>". To render it more appropriately, you must call a type specific method, usually it's "__call__" (i.e. you call the object), but it may also be a method like "getValue". Read the Formulator API to find out more. Dieter
participants (2)
-
3205 5361 1215 9784 -
Dieter Maurer