> There are two instances of "dynamism" that are there right now.
> 0. I need to be able to create a couple of fields based on the current
> user. ie. Retrieve some rows from my tables which are tied up with the
> user id. and populate the defaults for some fields from there.

You can pass values instead of using defaults, if that's what you are after.

> 1. I have some tables that serve as enums. I don't want to statically
> put them into my code since I want the whole thing to be controllable
> from a web based admin page. These tables contain valid values for
> various SingleSelect widgets.

Perfectly legal - and you can pass a callable to the select-field's 
options as well, so it gets evaluated every time the form is rendered, 
using the current DB-values.


Diez

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