Hi Alex,
I haven't looked at the code yet, but just to be clear, what is it that's
going wrong? Are you trying to compile the application, or run it in hosted
mode?

For whichever case that is failing, how are you trying to compile / run the
application in hosted mode?

In general, being as detailed as possible in both the thread title and body
will help others understand your issue and provide pointers to help you out.

Regards,
-Sumit Chandel

On Sun, Apr 19, 2009 at 6:25 PM, Alex Luya <alexander.l...@gmail.com> wrote:

>
> No exception,no output,that is strange
> ---------------------------------
> package com.tsolution.crm.client;
>
> public class Model
> {
>       private String desc;
>
>    public String getDesc()
>    {
>        return desc;
>    }
>    public void setDesc(String desc)
>    {
>        this.desc = desc;
>    }
>
> }
>
> -------------------------
> .................
> public void onModuleLoad()
>    {
>        Model m1 = new Model();
>        m1.setDesc("Hello");
>
>        AsyncCallback<String> callback=new AsyncCallback<String>(){
>            public void onFailure(Throwable caught)
>            {
>            }
>
>            public void onSuccess(String result)
>            {
>                Window.alert(result);
>            }
>        };
>
>        ArrayList<Model> modelList=new ArrayList<Model>();
>        modelList.add(m1);
>
>        loginService.greetServer(modelList, callback);
> }
> ........................
>
> ----------------------------------
> package com.tsolution.crm.client;
>
> import java.util.ArrayList;
> import com.google.gwt.user.client.rpc.RemoteService;
> import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
>
>
> @RemoteServiceRelativePath("greet")
> public interface GreetingService extends RemoteService {
>  String greetServer(ArrayList<Model> modelList);
>  String greetServer1(String modelList);
> }
> -----------------------------------------------
> package com.tsolution.crm.client;
> import java.util.ArrayList;
> import com.google.gwt.user.client.rpc.AsyncCallback;
>
> public interface GreetingServiceAsync {
>  void greetServer(ArrayList<Model> modelList, AsyncCallback<String>
> callback);
> }
> ---------------------------------------------
> package com.tsolution.crm.server;
>
> import java.util.ArrayList;
> import com.tsolution.crm.client.GreetingService;
> import com.tsolution.crm.client.Model;
> import com.google.gwt.user.server.rpc.RemoteServiceServlet;
>
> public class GreetingServiceImpl extends RemoteServiceServlet implements
>        GreetingService
> {
>
>    public String greetServer(ArrayList<Model> modelList)
>    {
>                return modelList.get(0).getDesc();
>    }
>
> }
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to