>
> oh that's even simplier User.get(id) and then do the join.
>

the problem with is that I cant pass the id to the form, (because its
already declared) so that the function myCallable gets called with the
proper id number.


def myCallable(id = 0):
#       sth here...
#       how do I pass the id to this form???


def formExample(widgets.WidgetsList):
...
...
        pets = widgets.MultipleSelectField(
                                        label = '',
                                        name = 'pets',
                                        options = getAllPets,
                                        size = 5,
                                        default = myCallable
                    )


mod_form = TableForm(formExample())

---------

I think I should send an example of what I want to do :P

thanks a lot

--
miya


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