Diez B. Roggisch ha scritto:
> On Wednesday 16 January 2008 10:00:47 Victor wrote:
>   
>> I want to display a form by using widget : TableForm and TextField
>>
>> link this:
>>
>> class ComentFields(tg.widgets.WidgetsList):
>>     email = tg.widgets.TextField()
>>     comment = tg.widgets.TextArea()
>>
>> commentForm =  tg.widgets.TableForm(fields=ComentFields(),
>> submit_text="Submit")
>>     
>
> Does
>
> TextField(label="Ich spreche kein chinesisch")
>
> help?
>
> Diez
>   
Tg cannot do confusion between name and label...


Diez, i think the label field must be sent as unicode :

TextField(label=u"Ich spreche kein chinesisch")




Glauco

-- 
+------------------------------------------------------------+
 Glauco Uri  
 glauco(at)sferacarta.com 
                               
          Sfera Carta Software®       info(at)sferacarta.com
  Via Bazzanese,69  Casalecchio di Reno(BO) - Tel. 051591054
+------------------------------------------------------------+



--~--~---------~--~----~------------~-------~--~----~
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