KMCB schrieb: > Hello, > > I'm working with TG2 and trying to have an edit form that pulls data > from the DB and populates the fields in the tw.form. I have tried to > do this in the controller. Is this the correct approach? Or is > something else wrong? I have tried a couple approachs to the > item_edit_form.updatedata and cannot find the right combo. > > This is not much different then the Edit template in the Wiki20 > tutorial, but using tw.forms. Should this load be done in the > template instead? > > The description and ItemInfo are not trying to be connected at this > point, just the title
form.display(data) is the way to go. 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 -~----------~----~----~----~------~----~------~--~---

