Ok, I found myself the anwser. Here it is:

values['address'] = {'city' : 'some city', 'state' : 'some state'}

It gets really easy after reading the code... thanks anyway!

Alexandre

On 11/10/06, Alexandre Futata <[EMAIL PROTECTED]> wrote:
Hi!

I'm unable to fill a field inside a widgets.FieldSet as I wish. I guess it's because it generates a variable with a "." (e.g.: 'address.city').

So when I pass the value {'address.city': 'some address'} to the form through ${form(value=values)}, it's ignored despite ' address.city' is the input name of the field in the editing form. How should I proceed?

Thanks in advance,

Alexandre


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