...calling setName("foo") on things like TextBox will cause GWT to render an html input element with name="foo".
On Jul 29, 11:59 am, Trevis <trevistho...@gmail.com> wrote: > I dont have an example handy but i have to imagine that there are > plenty out there. Sounds like you already have GWT creating the > forms, so i assume that you are setting the encoding type and post > method already. I guess you have also created a FormHandler and > added that to your FormPanel. Form there, GWT is (can be) out of the > equation. The responding server can be anything. > > All you should have to do is call setName() on your form elements and > your server should be none the wiser that you are using GWT on the > front. > > (I have not implemented this yet myself as i am deeply in love with > RPC, but i have been reading about using traditional forms with GWT > because i need to implement image uploading which i plan to do with > Apache Commons fileUpload) > > Trevis > > On Jul 29, 6:47 am, Jeremiah Moses <jeremiah.mo...@gmail.com> wrote: > > > Hi > > I want to save some form data into my database my forms are generated using > > GWT and i already have code that interacts with my database, now my question > > is how do i interact with this code ... is RPC the only way to do it in GWT > > or is there any other way to integrate my gwt UI to this .... my existing > > code can save to the database and retrive information so all i need to do is > > send the info to it using the form generated in GWT any examples with > > regards to this are welcome > > > thanks > > > Jeremiah Moses --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---