Re: Passing a argument to GWT application

2009-06-09 Thread bosangjay

 I don't know exactly what you mean with pass an argument to a GWT
application. But I've done a web site application which I put a
parameter in its url (something like http://domainename?param1=xxxparam2=).
I manage to get the parameter using JSP page and transfer it to the
GWT module via DOM.

Here is my application :

http://gwt-mind-mapping.appspot.com/mindmapping-getfile.jsp?username=bosang...@yahoo.comfileName=TODO

Hope that helps.

On 9 juin, 00:49, OffTheWall cfourn...@redzonesoftware.com wrote:
 I want to pass my GWT application a recordID at the time I call the
 URL.  The application would then retrieve the record from the server
 and display the record on the screen.  What is the best way to do this
 and is it possible to pass command line arguments to a GWT application?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Passing a argument to GWT application

2009-06-08 Thread abhiram wuntakal
Not sure if this is the right thing to do. but u can try the history token
as a work around.

 Pass the rowid as a history token to ur application url...
 Then retrieve the history token in ur code and u can later query the
database accordingly..

 Dont u want to put a textBox in the initial screen which takes up the rowid
as the parameter and gets u the data accordingly? that i guess, would be the
most logical thing to do...

regards,
Abhiram

On Tue, Jun 9, 2009 at 4:19 AM, OffTheWall cfourn...@redzonesoftware.comwrote:


 I want to pass my GWT application a recordID at the time I call the
 URL.  The application would then retrieve the record from the server
 and display the record on the screen.  What is the best way to do this
 and is it possible to pass command line arguments to a GWT application?
 


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



Re: Passing a argument to GWT application

2009-06-08 Thread Keith Whittingham

Inside your xom.xxx.server.Xxxx extends RemoteServiceServlet class you  
can call getThreadLocalRequest() and that will give you your servlet  
request so you can play with the query (the URL argument list) cookies  
and whatever


 I want to pass my GWT application a recordID at the time I call the
 URL.  The application would then retrieve the record from the server
 and display the record on the screen.  What is the best way to do this
 and is it possible to pass command line arguments to a GWT  
 application?

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