gwt + struts2 server-side validation

2010-02-19 Thread loucat
Hi! is there anyone who ever tried to do some validation integrating struts2 and gwt? I've installed the gwtstrut2 plugin, but actually I'm still not using anything of struts2. I should do server side validation (of my form's fields) but I don't know how to do it as I don't use struts2 tag

Re: gwt + struts2 server-side validation

2010-02-19 Thread loucat
in base model then keep the two libraries in same package and yes you can associate your widgets to struts by calling a validator service On Fri, Feb 19, 2010 at 5:16 PM, loucat lou...@gmail.com wrote: Hi! is there anyone who ever tried to do some validation integrating struts2 and gwt

compilation problems

2010-02-16 Thread loucat
Hi everybody! I've developed my GWT application in hosted mode (i'm using eclipse and gwt 1.7) and everything works fine in GWT browser, but when I compile the project using the button compile/browse of the GWT browser or the red button compile of eclipse, the web page turned out to be quite

Re: compilation problems

2010-02-16 Thread loucat
expressions problems). any suggestions on what to do? thanks again lou On 16 Feb, 11:16, loucat lou...@gmail.com wrote: Hi everybody! I've developed my GWT application in hosted mode (i'm using eclipse and gwt 1.7) and everything works fine in GWT browser, but when I compile the project

Re: GWT and java mail api

2010-02-02 Thread loucat
.jar from class path if you do not use it. 2010/1/31 loucat lou...@gmail.com Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I don't want to use it... So I don't know if this is the right place to ask help but my mail method works outside GWT and doesn't work inside

Re: GWT and java mail api

2010-01-31 Thread loucat
Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I don't want to use it... So I don't know if this is the right place to ask help but my mail method works outside GWT and doesn't work inside a GWT project... I don't know maybe the thing I'm trying to do can't be done in GWT

GWT and java mail api

2010-01-30 Thread loucat
Hi everybody! I'm trying to send a mail through an RPC call. The server method uses Java mail api. I used tha same method in different project and I'm able to send the email both using Junit or Tomcat... but when I use it in my GWT project, even if the RPC call gives the result onSuccess, I have

RPC cannot use my custom object

2010-01-15 Thread loucat
Hi everybody, I'm submitting a form through RPC, I managed to communicate with a single string but now I have to pass the entire object User (containing name, surname, address and so on). I'm using a package model which is inside the source path at the same level as client and server package, so

Re: RPC cannot use my custom object

2010-01-15 Thread loucat
I tried to put my custom object User inside the client package but nothing changed, I think the previous package was inherited well: tree: |-com.example.project |-com.example.project.client |-com.example.project.model |-User.java |-com.example.project.server and my project.gwt.xml has:

Re: RPC cannot use my custom object

2010-01-15 Thread loucat
value does this have? Then you return the object to the client so the method is something like? public User prenota(User user) {   System.out.println(User - + user.getName());   user.setName(Made it);   return user; } On Jan 15, 7:53 am, loucat lou...@gmail.com wrote: I tried to put

submitting a form using RPC

2010-01-14 Thread loucat
Hi all ! I'm having some problems with the communication client-server, i just have to submit a form but I read it's better to use RPC so I've deleted all the reference of FormPanel and trying to do it calling a server, but it doesn't work :( Am I supposed to pass all the fields of the form

Re: submitting a form using RPC

2010-01-14 Thread loucat
your client side code. On Thu, Jan 14, 2010 at 6:24 AM, loucat lou...@gmail.com wrote: Hi all ! I'm having some problems with the communication client-server, i just have to submit a form but I read it's better to use RPC so I've deleted all the reference of FormPanel and trying to do

Re: submitting a form using RPC

2010-01-14 Thread loucat
As always, look for Ray Ryan's presentation at Google I/O 2009. Thank you too, now I solved the problem of passing a string by RPC but I don't know how to pass more than one thing (lots of fields of the form). I'm downloading that presentation and maybe I'll find some help there. lou -- You

problems with the eclipse hosted mode ...

2009-12-02 Thread loucat
hi all, I'm a newbie on GWT :P i started following the tutorial that google provided (StockWatcher project). Everything seems ok except that I just can't see my work running in hosted mode in the GWT web browser :( I think I have everything configured well but maybe it isn't so... I use windows