On Wednesday 05 August 2009 13:30:26 Ronn Ross wrote: > On Tue, Aug 4, 2009 at 5:08 PM, Diez B. Roggisch <[email protected]> wrote: > > Ronn Ross schrieb: > > > I'm trying to create a file upload in TG2. I'm having trouble getting > > > started. Can some one point me in the right direction? > > > > http://toscawidgets.org/documentation/tw.forms/modules/fields/basic_field > >s.html#filefield > > > > Diez > > What would be the advantage of using a toscawidget?
Being very declarative when creating forms, not having to pay attention to declare the form-encoding properly when using file-uploads. Other than that, I don't understand your question - if you don't want widgets, then what is your problem? Having a file-upload-form in your template written by hand is all there is to having fileuploads working. 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 -~----------~----~----~----~------~----~------~--~---

