I want to provide a list of attributes and display names (and
validator types would be nice too) and have a form dynamically
created, along with a working post action.
So I want to be able to pass in something like:
('First name', fname, PlainText)
('Last name', lname, PlainText)
('Phone Number', phone, NotEmpty)
And have these displayed in a table format then returned as an indexed
dict so I can reference foo['fname'] and get the value that was
provided.
The number of attributes is arbitrary and I'd need to do something
like this for multiple types of page: add, update, delete, etc.
I'm not use a SQL backend, if that makes any difference.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---