Hey all,

I am facing the following data base schema:

I have two SQLObjects, Location and Route, each location is assigned
to a route. Each location also has a "routeorder" column that dictates
their stop # along each route.

What I need to do is present the user with a list of locations,
ordered by "routeorder", that are assigned to a given route id.

I've done some things with listing static lists and lists populated by
the entire contents of a table before. I am using SingleSelectField
widgets in a form, which is a problem for me, as I had to provide a
callable to the "options" property in order for the field to update
dynamically at each page-load. I am unsure how I am supposed to
provide the input route id if I have to pass a callable.

As a general question: is there a particular reason why the options
property must be supplied with a callable instead of an actual
function call?

Thanks,

-- Jerry


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