I have a widget form:
new_project_form = widgets.TableForm(
fields=[widgets.TextField(name="name", label="Name"),
widgets.TextArea(name="description", label="Description"),
widgets.FileField(name="project_file", label="File"),
widgets.HiddenField(name="new", default="true")],
submit_text="Create this Project!", validator=NewProjectSchema)
which I would like to be dual purpose, to be able to used both for
creating new projects and for editing existing ones. It seems simple,
but the functionality either doesn't exist, isn't documented, or I am
blind.
How would I pass information back into the widget for editing?
Thanks,
Sam
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---