Re: How to set parameters in com.google.gwt.http.client.RequestBuilder

2009-01-19 Thread Jax
On Jan 18, 5:44 pm, Jax j...@well.com wrote: I've tried using com.google.gwt.http.client.RequestBuilder but when I POST my request parameter requestor is always empty. I've tried various permutations with RequestBuilder.setRequestData() but no luck. How do I do a POST with a parameter

Re: How to set parameters in com.google.gwt.http.client.RequestBuilder

2009-01-22 Thread Jax
Thanks, Jake, I'll give that a try. The problem I was addressing is that I had not figured out a way to attach the ?foo=barwoof=arf post data. I'd tried setRequestData but it did not work. I interpreted builder.sendRequest(postData, RequestCall) as semantically equivalent to

Re: Communicating between gwt composites

2009-12-21 Thread jax
at 12:31 PM, jax jackma...@gmail.com wrote: HI I have a questions about communication in GWT and java in general. In an effort to better modularize my application I have made a number of different composites.  I then have a main application that links together all the composites

Where should I put images

2009-12-02 Thread jax
I have a project: com.example.myapp.ListEditor Originally I had a folder that contained images in my images in: war/ images In my code I would reference images like this /images/myimage.jpg 1. The project was working locally fine. 2. I uploaded it to the server and navigated to the .html

Re: Where should I put images

2009-12-02 Thread jax
But how would I do this without using Bundles...surely it can be done. I tried adding public path=com.example.myapp.listeditor.images/ But my application is unable to see the images On Dec 2, 10:43 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: Try image or client bundles -- You

GWT 1.7 public folder location

2009-12-02 Thread jax
I am running 1.7 and after some reading online people keep referencing the public folder. I don't have a public folder in my project...am I meant to? Has GWT changed the public folder? I only have com.example.myapp com.example.myapp.client com.example.myapp.server -- You received this

com.google.gwt.user.theme.standard.Standard messes up my page

2009-12-03 Thread jax
com.google.gwt.user.theme.standard.Standard is messing up my page because I am including the html page into another page (not through an iframe). Is there a way to apply this to the DIV only? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

HTTP request - Code 0 and status is OK

2009-12-10 Thread jax
When I try to run a HTTP request on my site I get Code 0 and status is OK. However, when I test locally I get the expected code of 200 so there is nothing wrong with my code as such. All I did was change the URL from http://localhost/myfile.php to http://mydomain.com/myfile.php thanks -- You

Re: HTTP request - Code 0 and status is OK

2009-12-11 Thread jax
After about 3 days of research and anguish I have finally solved this problemkind of. I originally had the GWT app in a sub-directory inside a Joomla! install. I had an idea to move it to another sub domain and it worked. I am still not sure why this worked except that maybe an apache

Re: HTTP request - Code 0 and status is OK

2009-12-11 Thread jax
But I was accessing the files from the same domain. On Dec 11, 11:14 pm, Ian Bambury ianbamb...@gmail.com wrote: I would imagine you are having a cross-domain problem. Ian http://examples.roughian.com 2009/12/11 jax jackma...@gmail.com After about 3 days of research and anguish I have

Getting the currently selected item in a ListBox

2009-12-15 Thread jax
This seems like a silly question but it does not work for me. When I use .getSelectedIndex() on a ListBox it returns the previously selected item in history, not the one I selected just now. What is going on? cmbDefinitionSelection.addMouseUpHandler(new MouseUpHandler() {

Re: Getting the currently selected item in a ListBox

2009-12-15 Thread jax
OK, thanks for clarifying this issue for me. -jack On Dec 15, 4:45 pm, Paul Robinson ukcue...@gmail.com wrote: It's a timing issue - having used a MouseUpHandler, you're assuming the list box will already have handled the MouseUp event before you get called (which it looks like it doesn't).

Communicating between gwt composites

2009-12-15 Thread jax
HI I have a questions about communication in GWT and java in general. In an effort to better modularize my application I have made a number of different composites. I then have a main application that links together all the composites. The problem comes when I need to communicate between