fractions = wid.RepeatingFieldSet('fractions',
fields = [
wid.SingleSelectField('module',options=[('','')]),
wid.TextField('amount',validator=val.Money),
]
)
I'm wondering about the way to change module options from the controller...
should be something like
params = {
'value': invoice,
'repetitions': {'fractions': len(invoice.fractions)+2},
'options': {'fractions': {'module':[('foo','foo')]}}
}
right? I'm sure I miss something between fractions and module
repetitions work, amount values are filled from the invoice, but options
stays empty.
The other question is: can I have a copy of the dynamic repeating widget
that is missing from the web?
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
-~----------~----~----~----~------~----~------~--~---