Re: save form data in database

2009-07-29 Thread Tobe
I added the jar to the build path and built the project but still get the error: C3P0Registry cannot be resolved. On Jul 29, 2:50 am, brett.wooldridge brett.wooldri...@gmail.com wrote: You have to add the CP30 jar to your project's Build Path.  Right- click on project- Properties - Java Build

Save form data

2009-07-29 Thread Jeremiah Moses
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

Re: Save form data

2009-07-29 Thread Trevis
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.

Re: Save form data

2009-07-29 Thread Trevis
...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

Re: Save form data

2009-07-29 Thread Jeremiah Moses
thanks for the response ... i have not made many of the forms made have been just playing around with gwt for the last couple of weeks ... been using simple forms ... and not got to point of writing a form handler yet ... been trying to find some example ... to make my job a bit easier ...

Re: Save form data

2009-07-29 Thread Trevis
I think that you may be mixing things up a bit. RPC doesn't use true html forms. So what would look to a user to be a form in a typical GWT application would just be a group of input html elements and a button. The button doesnt submit a form, it has a click handler. The handler makes an RPC

Re: save form data in database

2009-07-28 Thread Tobe
I want to save the data into my own MySQL database and not in the datastore --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: save form data in database

2009-07-28 Thread brett.wooldridge
I run MySQL with a C3P0 connection pool in front of it. This is what I did [almost] verbatim. This is assuming you're running Jetty and servlets/RPC. 1. In your war/WEB-INF/lib put the c3p0 jar. Get C3P0 from here http://sourceforge.net/projects/c3p0. 2. In your war/WEB-INF/lib put the

Re: save form data in database

2009-07-28 Thread Jim
Take a look at http://www.gwtorm.com/gwtMail.jsp. It may help it. Jim On Jul 28, 8:09 am, brett.wooldridge brett.wooldri...@gmail.com wrote: I run MySQL with a C3P0 connection pool in front of it.  This is what I did [almost] verbatim.  This is assuming you're running Jetty and servlets/RPC.

Re: save form data in database

2009-07-28 Thread Tobe
@Brett I'm using Eclipse and did the things you've posted. I also added the 2 jars in the run configurations, but by compiling the source I get errors for C3P0Registry. On Jul 28, 2:09 pm, brett.wooldridge brett.wooldri...@gmail.com wrote: I run MySQL with a C3P0 connection pool in front of it.

Re: save form data in database

2009-07-28 Thread brett.wooldridge
You have to add the CP30 jar to your project's Build Path. Right- click on project- Properties - Java Build Path - Libraries. -Brett On Jul 29, 1:34 am, Tobe tobias.jungnic...@googlemail.com wrote: @Brett I'm using Eclipse and did the things you've posted. I also added the 2 jars in the run

save form data in database

2009-07-27 Thread Tobe
Hi, I want to save data from a form into a database by using GWT. Is there a tutorial how to do it or can somebody paste an example source code? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: save form data in database

2009-07-27 Thread Kwhit
http://code.google.com/webtoolkit/tutorials/1.6/appengine.html I would walk through all of the tutorials on that page --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,