Just add a parameter to the GWT RPC service method. Like this
(assuming GWT 1.5):

public interface MyRpc extends RemoteService {
  String doStuff(String arg);
}

public interface MyRpcAsync {
  void doStuff(String arg, AsyncCallback<String> callback);
}

On Wed, Dec 17, 2008 at 10:17 AM, fatjack1...@googlemail.com
<fatjack1...@googlemail.com> wrote:
>
> Hi,
>
> I wonder if anyone can help me. I am new to GWT so am still trying to
> get my head round how everything works...
>
> So basically I have my server set up. It can send data to the client
> using an AsyncCallback etc. Now I need the client to send something
> back to the server. For example, if the user selects something from a
> drop down menu I want that value to be sent to the server as a
> variable, the server to retrive some data from the database and then
> send it back to the client. I cant work out how to send the variable
> to the server. I'm sure its simple enough but would someone be able to
> explain to me how to do this? And if not point me to some
> documentation which would talk me through it?
>
> Thanks for your help in advance,
> Jack
> >
>

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