Revisiting cross-site requests: CORS and development mode

2012-06-10 Thread Christopher Piggott
I've been revisiting the cross-site request approaches (currently using JSONP) and tried to search the mailing list for this answer but didn't find it. Is it possible to modify development mode to send an Access-Control-Allow-Origin header? A number of "answers" to the question seemed to say "

Re: Using Scheduler.scheduleDeferred vs DeferredCommand.addCommand()

2012-06-10 Thread Thomas Broyer
DeferredCommand has been deprecated since Scheduler was added. Patrick Tucker submitted a bunch of patches to remove those uses of a deprecated API. This is not something coming from Google, so don't see a sign or anything behind it, it's coming from an external contributor. Be prepared though

Using Scheduler.scheduleDeferred vs DeferredCommand.addCommand()

2012-06-10 Thread Joseph Lust
For anyone that is knowledgeable, I noticed that with the wave of 2.5 release changes in the GWT trunk this weekend there were a number of places where code was switched from using DeferredCommand.addCommand()

Using Scheduler.scheduleDeferred vs DeferredComment.addCommand()

2012-06-10 Thread Joseph Lust
For anyone that is knowledgeable, I noticed that with the wave of 2.5 release changes in the GWT trunk this weekend there were a number of places where code was switched from using DeferredCommand.addCommand()

Re: compatibility issue between GWTGoogleMapsUtility and GWTGoogleMapsV3

2012-06-10 Thread Joseph Lust
Since I have not delved into the minutiae of the interactions between these two libraries, can you supply an example of where you're failing when you say you "cannot implement" them? Ideally the JSNI approach using your GWT GMaps library of choice and JSNI on the RichMarker where needed should

Re: GWT and DOJO chart

2012-06-10 Thread Joseph Lust
Kuenga, Can you supply more of your code? Are you using JSNI to access the library? Then we can be of more help. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.

Re: Graph Drawing in GWT

2012-06-10 Thread Joseph Lust
Ouch, jgraph looks nice, but not at $5500. You can do much of this with GraphViz for $0. Or, it might just be easier to roll your own with Raphael4Gwtif you just need what is pictured (which might be easiest give the

Re: UiBinder Maps

2012-06-10 Thread Joseph Lust
FWIW, most more elaborate libraries don't work in the Eclipse designer view. I don't know any developers that use it. Just run in DevMode and use F5 as needed. Joe -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion

Re: trying to add an image as a managed resource

2012-06-10 Thread Joseph Lust
Sounds like the image is being repeated as a background on your label element. Try to added the RepeatStylevalue to the @ImageOptions annotation in your ImageResource bundle

Re: Programmatically margin auto

2012-06-10 Thread Jens
Hi, getElement().getStyle().setProperty("marginLeft", "auto"); should work. -- J. Am Sonntag, 10. Juni 2012 22:05:34 UTC+2 schrieb d...@vide.bz: > > > Hi, > > I need programmatically to set the margin of a html Element. > > I have found the method: > > gwtElement.getStyle().setMarginLeft(px,

Re: GWT project sturcture

2012-06-10 Thread Steve Moyer
On Jun 7, 10:14 pm, Rohan wrote: > Hello all, > > I am new to GWT and just completed the Stock watcher application. I am > excited about the possibilities of using GWT at my work place but I > have a few questions regarding structuring a complete website on this > platform. > > How do structure

Programmatically margin auto

2012-06-10 Thread d...@vide.bz
Hi, I need programmatically to set the margin of a html Element. I have found the method: gwtElement.getStyle().setMarginLeft(px, Unit.PX); But if I like to set the margin left to auto how is possible by code? Thanks in advance for any help! -- You received this message because you are subs

GWT and DOJO chart

2012-06-10 Thread Kuenga
Hi, Has any one used Dojo chart2d in GWT ? I tried but getting exception at the following statement var chart1 = new dojox.charting.Chart2D("simplechart"); Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion

Deserializing using autobeans unbelievably slow in dev mode

2012-06-10 Thread Christopher Piggott
Hi, I have a Jersey-Guice backend delivering some data to my gwt application for graphing. The object returned is a JSON object delivered as JSONP (has to be cross-site). The object contains a couple of simple fields and a map. For my testing, the map has 3 elements in it. Each element of th

Image of asterisk displayed twice

2012-06-10 Thread arian
Please, I really need some advice How can I add the image of the asterisk so that it doesn't display twice on the page. As it is at the moment it is displayed before 'labRequired' and after it as well. In my understanding it is not possible to add this image as a managed resource so how to do i

Re: Graph Drawing in GWT

2012-06-10 Thread Rob
Hi, Perhaps: -> http://www.jgraph.com/jgraph.html -> http://www.yworks.com/en/products_yfilesajax_about.html Cheers Rob On Thursday, June 7, 2012 2:32:35 AM UTC+10, Bharath Kumar wrote: > > Hi, > > I am new to GWT. I need to develop an application which displays some > incoming orders as shown

Re: MVP Framework

2012-06-10 Thread Rob
Hi, There are are couple of MVP implementations for GWT: -> gwt_presenter (http://code.google.com/p/gwt-platform/wiki/ComparisonWithGwtPresenter) -> GWT 2.1 MVP (http://tbroyer.posterous.com/gwt-21-places and http://code.google.com/p/gwt-platform/wiki/ComparisonWithGwtMVP) -> GWTP (http://code