Re: RPC Image

2008-10-29 Thread Daniel Kurka
2008/10/23 Jim Freeze <[EMAIL PROTECTED]> > > Hi > > On Thu, Oct 23, 2008 at 9:54 AM, Jason Essington > <[EMAIL PROTECTED]> wrote: > > > > Although you could certainly return the bytes of an image via RPC, > > once you have them on the client side, there is no way to actually > > turn those bytes

Re: Unable to find 'xml.gwt.xml' on your classpath

2008-10-29 Thread Ian Bambury
Highlight the project in Package Explorer in Eclipse Go to Project | Properties Select Java Build Path in the tree on the left Select the Libraries tab on the right I think you might be missing the GWT jars there. If you are, click on Add External Jar and add "gwt-user.jar" from wherever you e

Re: Unable to find 'xml.gwt.xml' on your classpath

2008-10-29 Thread sled dog
Anyone? - I'm a total noob to the Eclipse JDT and GWT, so I am just trying to work through the tutorial for the Stock Watcher. I think that I just need to find the setting in eclipse where I can set the classpath needed, but can't find where - - - Here is a summary of my errors: In the GWT Browse

Re: Need a unique identifier for all widgets in views

2008-10-29 Thread prads
Someone else also wants to do something similar, but hasnt got any reply yet - http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/efcaaef58d15ef13/396ed12aaf617776?lnk=gst&q=QTP# On Oct 30, 8:43 am, prads <[EMAIL PROTECTED]> wrote: > Hi Thomas, > > Thanks for replying and for

Re: Need a unique identifier for all widgets in views

2008-10-29 Thread prads
Hi Thomas, Thanks for replying and for pointing me towards ensureDebugId. I was not aware of it. I wont be fixing this problem before monday. So, I'll wait for more opinions on this. In case there arent any, I will surely go ahead with what you suggested. Thanks again! Regards, prads --~--~--

Re: GWT-ext or ext-GWT?

2008-10-29 Thread rakesh wagh
Folks, correction to my first post. The original contributor of gwt- ext is probably still part of the project, though not as active. http://gwt-ext.com/forum/viewtopic.php?f=12&p=10318&sid=c4b4b0a204e3891ad392622656a65684#p10318 Rakesh Wagh On Oct 27, 2:17 pm, rakesh wagh <[EMAIL PROTECTED]> wr

Re: GWT-ext or ext-GWT?

2008-10-29 Thread rakesh wagh
I would agree with Arthur Kalmenson . And that is the reason why we used vanilla gwt over ext. you will miss that blazing performance in ext libs. Do not get fooled with attractive showcase. With that said, from look and feel + user experience perspective, ext is probably the best and complete l

tabbar gets too wide

2008-10-29 Thread abo
When new panel is added to a tabpanel one by one, the tabbar gets wider and wider, extending over the size of the tabpanel. Is there a easy way to contain the tabbar within a fixed width? Or I have to write my own tabbar and tabpanel? --~--~-~--~~~---~--~~ You recei

Re: GWT-ext or ext-GWT?

2008-10-29 Thread sankar.gorthi
http://gwt-ext.com/forum/viewtopic.php?f=12&p=10318&sid=c4b4b0a204e3891ad392622656a65684#p10318 On Oct 29, 1:55 am, maku <[EMAIL PROTECTED]> wrote: > This is a good advice when you have much time and the expertise to > develop nice looking widgets. > > But in reality this is not the case. > > Fro

Re: passing parameters to gwt application

2008-10-29 Thread Joshua Partogi
Thanks Jason! This is exactly what I want. cheers On Oct 14, 10:15 pm, Jason Morris <[EMAIL PROTECTED]> wrote: > If you're on GWT 1.5, you can just use > > Window.Location.getParameter("key"); --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Label + Hyperlink + Label

2008-10-29 Thread Charles Fry
Yikes. That seems like a defect in Hyperlink. Why would it insist on being a div? On Oct 3, 1:46 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > Why faff about with an anchor and clicklistener when you can just put this > > .gwt-Hyperlink > { >     display                     :   inline; > > } > >

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
Mark, I took your servlet as is and replaced with mine and it worked! I was using apache file upload which looks for certain deliminators in a multi-part file. File uploaded this way(using gears) has probably no concept of multi part file in it. In your approach on the server side you simply open

[no subject]

2008-10-29 Thread Rafique Danish
Regards, ‏M. Rafique Danish _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx --~--~-~--~~~---~--~~ You received this message because yo

Re: Offline Developer's Guide

2008-10-29 Thread RIAgallery
"gwt-docs-20081026.zip (Google Web Toolkit Documentation)" http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/6cadca3f1e1c9fcf/0235d6eb2c9df85d#0235d6eb2c9df85d On Oct 28, 7:51 pm, "Sumit Chandel" <[EMAIL PROTECTED]> wrote: > Hi RIAgallery, > As it turns out, the Docreader pr

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
Mark, in your UploadDemo no where did I see "Content-type" set to "multipart/ mixed". Is that not required for the server to identify and treat the file as binary? Thanks On Oct 29, 3:20 pm, Mark Renouf <[EMAIL PROTECTED]> wrote: > Ok. I put a little something together based on my original tes

DeckPanel inside Grid: No vertical alignment with IE

2008-10-29 Thread bselu
Dear GWT community, I'm encountering a problem with IE7 when using a DeckPanel inside a Grid. Consider the following code: public void onModuleLoad() { HTML text = new HTML("left"); Grid inner = new Grid(1, 1); Label right = new Label("right"); inner.setWidget(0, 0

Facebook Bottom Menu

2008-10-29 Thread Istenes
Hi, I am new to gwt and been testing some panels and widgets. I noticed that facebook has created a nice new bottom menu. Is that made using only css or is it javascript/ajax too? Is there a easy way to create a lite version of such a menu in gwt? The biggest problem I am having is that the panel

themes

2008-10-29 Thread Sunil
GWT 1.5 introduced the concept of themes. Is anyone using themes other than the standard ones - maybe similar to the ExtGwt ones? Are there nicer themes available than the standard ones? --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: SVG in GWT

2008-10-29 Thread Jamie
If all you want to do is display an SVG file, then you can create a frame and set its URL to the SVG file. If you are talking about programatically working with SVG, then you are better off using the GWT Canvas project: http://code.google.com/p/gwt-canvas/ This is because when GWT moved to 1.4,

Re: gwt rpc vs json

2008-10-29 Thread Brian
Thanks for the info. Yeah, I've got all the biz logic broken out from the protocol, as I support form post and json get's using the same api (essentially...) It's interesting that the wireformat is json. I was sorta hoping it was some super tight binary format that would tempt me to switch (I'm n

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread Mark Renouf
Ok. I put a little something together based on my original test. Give this a try: http://groups.google.com/group/Google-Web-Toolkit-Contributors/web/gears-upload.zip Unzip, then generate the launch scripts: applicationCreator -out gears-upload -ignore com.google.gwt.gears.demo.client.UploadDe

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
Exception on the server is: org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found Any idea what this could be? Probably to do something with what is set in the request header. On Oct 29, 2:52 pm, rakesh wagh <[EMAIL PROTECTED]> wrote

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread Eric Ayers
I've started reveiwing the code, see: http://code.google.com/p/gwt-google-apis/source/branch?spec=issue202 On Fri, Oct 24, 2008 at 11:26 AM, Mark Renouf <[EMAIL PROTECTED]> wrote: > > Whoops, I left out the Geolocation api. Uploaded a new version of the > patch which includes it (and fixes some

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
Update: In my code I used request.setRequestHeader before open(). That was a mistake. After changing it I can at least see the request reaching the server. However I see a null pointer exception in server :( Will post this thread on progress... On Oct 29, 11:30 am, rakesh wagh <[EMAIL PROTECTED]

Re: gwt rpc vs json

2008-10-29 Thread Ian Petersen
On Wed, Oct 29, 2008 at 10:37 AM, Brian <[EMAIL PROTECTED]> wrote: > Sounds good. > Is the gwt-rpc format described, so I could write a non-gwt app (say, > a mac desktop gadget) that hits my server using the same api as the > gwt-rpc browser app? Note, I don't actually care right now what the > f

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
Mark, appreciate your response. I am not really trying to use RequestBuilder here(incorrectly mentioned RequestBuilder in my first post). I just need to get it working until the support is official. The code I posted earlier is using Gear's HttpRequest. When I try to submit the request using ".sen

Re: Client Authentication with SSL

2008-10-29 Thread adam.urban
Wow, many thanks! This is what I was searching for! Thank you very much! Regards, Adam On 28 Okt., 22:44, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > adam.urban schrieb: > > > The next step is to read out some attributes about a client- > > certificate to know something about the user. > >

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread Mark Renouf
These are probably valid points. This is going to confuse people I'm sure, but the whole openFiles/Blob/upload mechanism requires use of Gears' own HttpRequest and can't be used with GWT's RequestBuilder. (see HttpRequest#setBody). The Blob is sent bare, no multipart encoding, so some server side

FormPanel and FileUpload help

2008-10-29 Thread grasshopper
I am trying to set up file uploading in an app and I am having trouble with no sign of what is wrong. My trouble is that when I click a button to submit a FormPanel, nothing happens. To make matters worst I get no error on tomcat logs or anywhere. I am clueless as to what might be happenning.

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
I surrounded the code with try/catch. Here is the exception: (Error): Request is not open. fileName: http://localhost:/org.myPackage.DemoBrowse/C94D754673F94D7F17F97D760D29421B.cache.html lineNumber: 1803 stack: Error("Request is not open.")@:0 setRequestHeader("Content-type","multipart/fo

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
I stand corrected! It did work fine. I was testing it in Opera, using its ability to edit webpages live and see the changes in realtime. It seems however, that despite the changes being visible on screen, javascript still referances the original page outside of an iframe, thus it wasnt working.

contents not showing in igoogle when i tried gwt gadgets

2008-10-29 Thread zujee
Hi all, When I tried to add something in my gadget its showing as blank. Meantime @ModulePrefs values are showing without any prblm. for eg: @ModulePrefs(// title = "Hello GWT for gadgets!", // directory_title = "HelloGadgets - Google APIs for GWT" ) public class HelloGadgets extends Gadg

Re: gwt rpc vs json

2008-10-29 Thread walden
Brian, In over a year and a half of using GWT RPC, I've never had a failure that had anything to do with mismatched wire formats. I hear your concern. What's the saying? "Once bitten; twice shy." I think there's a scar there that, given time, can heal completely, though. Walden On Oct 29, 1

Re: SerializationException: Type 'java.util.HashMap' was not included - GWT 1.4

2008-10-29 Thread Archer
Thanks, your explanation solved my problem! Using the HashMap declaration saved about 100 KB overall (~9%) - I owe you. ;^) --Dave On Oct 28, 2:09 pm, "Ian Petersen" <[EMAIL PROTECTED]> wrote: > On Tue, Oct 28, 2008 at 4:05 PM, Archer <[EMAIL PROTECTED]> wrote: > > I'm annotating a method, using

Re: published iphone apps written in GWT

2008-10-29 Thread davidroe
GWT is a processor-intensive way of building an interface and therefore not ideally suited to the iPhone's low power CPU. this made development harder than it should have been. an example is rendering a list of items using GWT to build panels and widgets where items may take 0.2s to render, leadin

Re: gwt rpc vs json

2008-10-29 Thread Jason Essington
The current RPC wire format is asymetric, meaning that the same object going to the server will look different than coming from the server. There also isn't really a published spec for the RPC wire format as it tends to change from version to version of GWT. In GWT, this is not an issue becau

Re: gwt rpc vs json

2008-10-29 Thread Jason Essington
if your JSON is coming from a trusted source, you really should have a look at overlay types in GWT. It is much simpler (and faster) than mucking about with the JSON parser. -jason On Oct 29, 2008, at 8:31 AM, Brian wrote: > Sounds pretty good. Seems like I spend half my time typing: > int

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread Ian Bambury
I only tried it in IE and it worked in that for me. Alternatively, (I haven't tried this) create a JS method in the parent and call it from JSNI - maybe that will be allowed - what are you using? Ian http://examples.roughian.com 2008/10/29 darkflame <[EMAIL PROTECTED]> > > dosnt seem to work.

Re: Cast Element to Widget

2008-10-29 Thread Jason Essington
Technically no, that's like saying "I have this tire here, how do I cast it to a pickup truck? I want to use it to haul a couch." That isn't even a reasonable thing to expect ... HOWEVER ... Some widgets have a static wrap() method that allow you to connect elements that exist in DOM to the

Re: problem with internalization

2008-10-29 Thread Thomas Broyer
On 29 oct, 14:09, aksa <[EMAIL PROTECTED]> wrote: > > Rebinder com.extjs.gxt.ui.client.messages:MyMessages >   Invoking class='com.google.gwt.i18n.rebind.LocalizableGenerator'/> >        Error while executing the JavaScript provider for property > 'locale' >        Could not parse specified loca

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread John
On 10/29/08, Ian Bambury <[EMAIL PROTECTED]> wrote: > John, > > Your code will get elements in the GWT page, darkflame is trying to get > elements in the parent page- i.e. the parent page has an iframe in it > containing the GWT page, and darkflame wants stuff from the parent page... > > ...if I u

Re: groundOverlay issue

2008-10-29 Thread Eric Ayers
On Wed, Oct 29, 2008 at 12:11 PM, Vinz369 <[EMAIL PROTECTED]> wrote: > > Hi Eric, > > Thanks for notifying this issue. > I assume that in the workaround you gave me you wanted to write > LatLng.newInstance(90, 180) instead of LatLng.newInstance(90, 360) for > the second limit, right? I am sorry,

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
One more thing: Should the call back param of onResponseReceived be HttpResponse instead of HttpRequest? It does not matter for my purpose since I am not interested int he response. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
here is my code. Now the problem is that I dont see a server call. Due to earlier mentioned issue, I cannot debug in hosted mode. Any pointers??? Factory.getInstance().createDesktop().openFiles(new OpenFilesCallback() { public void filesOpened(File[] files

Re: HTTPRequest, hosted mode, and the whitelist

2008-10-29 Thread zemi
Hi there, I've got same problem: when I set some domain (as trusted domain) to whitelist param, accessing the site using address bar works but no requests using HTTPRequest. I'm using Gwt-Ext as wrapper to ExtJS javascript library which does the requests themselves. Any help really appreciated!

Re: Gwt Multiple Language

2008-10-29 Thread aksa
Hi... I created an interface and the related *.properties files, and I wrote the code, which is needed into the gwt.xml and into the host html. (I ´m using the feature: Constants). Now I get this fealure: Rebinder com.extjs.gxt.ui.client.messages:MyMessages Invoking Error while execu

multiple languages - problem

2008-10-29 Thread aksa
Hi, I´m new in this group and I´m searching for a solution since two weeks. can anybody say me, why the internalization brings me the following fault: Invoking Error while executing the JavaScript provider for property 'locale' Could not parse specified locale thank you very mu

Gwt benchmarking

2008-10-29 Thread umka.me
Sorry, for my bad English. How i can t odsiable timeout 10sec in benchmark tests? com.google.gwt.junit.client.TimeoutException: A timeout expired after 1ms elapsed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

gwt-windows-1.5.2.zip file problem

2008-10-29 Thread abdullah alzahrani
greeting i meet problem with extracting the zipped file of Google web toolkit (gwt-windows-1.5.2.zip) in my computer, i used Winzip and Winrar which give me error massage that the compressed file is defective or somthing like that pls help me to solve this problem tanks --~--~-~--~~-

problem with internalization

2008-10-29 Thread aksa
hello everybody, I get the following message, if I add the extend-property in the xml file: Rebinder com.extjs.gxt.ui.client.messages:MyMessages Invoking Error while executing the JavaScript provider for property 'locale' Could not parse specified locale Deferred binding failed

SVG in GWT

2008-10-29 Thread Danish
Hi, I am new to GWT and want to use SVG in GWT. Is there any sample example, where I may learn it step by step. /Danish --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this grou

Internalization problem with gwt1.5

2008-10-29 Thread aksa
Hi! I have a big trouble with adding the internalization in my project. I created an interface and the related *.properties files, and I wrote the code, which is needed into the gwt.xml and into the host html. (I ´m using the feature: Constants). Now I get this fealure: Rebinder com.extjs.gxt.ui

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
yes, thats exactly what I want to do. On Oct 29, 5:07 pm, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > John, > Your code will get elements in the GWT page, darkflame is trying to get > elements in the parent page- i.e. the parent page has an iframe in it > containing the GWT page, and darkflame wan

Re: Gwt Multiple Language

2008-10-29 Thread Thomas Broyer
On 29 oct, 12:51, jagadesh <[EMAIL PROTECTED]> wrote: > Hi Guys , > > Iam Working On Gwt 1.5.3 . My Requirement is > Iam Using 2 languages  one is English and other is Chines > [ Traditional] > > i have written 2 constants file for both. now how can i set the > language depending on the browser l

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
dosnt seem to work. My testing HTML is just; test test test And my code is; public static native void testWindow() /*-{ $wnd.alert("test"); $wnd.alert("text="+$wnd.parent.document.getElementsByTagName("H1") [0].innerText);

Re: groundOverlay issue

2008-10-29 Thread Vinz369
Hi Eric, Thanks for notifying this issue. I assume that in the workaround you gave me you wanted to write LatLng.newInstance(90, 180) instead of LatLng.newInstance(90, 360) for the second limit, right? Because otherwise the 360 is interpreted as 0, and i get only half the map. For your first poi

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread Ian Bambury
John, Your code will get elements in the GWT page, darkflame is trying to get elements in the parent page- i.e. the parent page has an iframe in it containing the GWT page, and darkflame wants stuff from the parent page... ...if I understand correctly. Ian http://examples.roughian.com 2008/10/

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
In addition to above issue, I am also trying to understand on how to pass over the selected file(s) as multipart request to a servlet? I tried the RequestBuilder, but so far no luck. We are trying to use the Desktop class for multiple(image) file upload feature in our application. Any help is app

Re: FormPanel submit does always fire FormSubmitCompleteEvent

2008-10-29 Thread Thomas Broyer
On 29 oct, 15:31, Alex Rice <[EMAIL PROTECTED]> wrote: > On Oct 28, 7:52 pm, Thomas Broyer <[EMAIL PROTECTED]> wrote: > > > This is mentionned in the Javadoc for the FormPanel() > > constructor:http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...() > > Thanks Thomas, I read

Re: GWT1.5 and struts 1.2

2008-10-29 Thread walden
Well, either you're speaking poetically, in which case "call struts action classes from GWT" really means to change the window location to a url of something.do, which is orthogonal to GWT... Or, you literally mean that you want GWT-generated javascript code running in the browser to make a metho

Re: Gears 0.4 features in GWT Google API Library

2008-10-29 Thread rakesh wagh
Mark, I tried the patch(gears.jar from issue 201) for multiple file upload. I am able to select multiple files both in hosted and non hosted mode. However when I press open, I get a exception in hosted mode(as a stacktrace in eclipse console). Works in browser(compile/ browse). Here is the error:

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread John
On 10/23/08, darkflame <[EMAIL PROTECTED]> wrote: > > If my GWT app is in a container iframe, is it possible to get > propertys of elements from outside that frame? > > I tried a simple; > > DOM.getElementById("testid").getInnerText()) > > But the app couldnt find it. > > Is there any way f

Re: extgwt and google maps

2008-10-29 Thread Eric Ayers
There are GWT bindings for Google Maps at: http://code.google.com/p/gwt-google-apis but I have never personally integrated these bindings with extgwt. On Wed, Oct 29, 2008 at 10:33 AM, rizla <[EMAIL PROTECTED]> wrote: > > up :( > > > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http:/

Re: groundOverlay issue

2008-10-29 Thread Eric Ayers
Hi Vincent, I filed this as Maps issue 823. Please go over and star the issue so you'll be notified of any updates. http://code.google.com/p/gmaps-api-issues/issues/detail?id=823 On Wed, Oct 29, 2008 at 10:57 AM, Eric Ayers <[EMAIL PROTECTED]> wrote: > 1) There is a bug in the LatLngBounds noa

Re: groundOverlay issue

2008-10-29 Thread Eric Ayers
1) There is a bug in the LatLngBounds noargs factory method! You can pusbtitute the right code with: private static native LatLngBounds getFullBounds() /*-{ return new $wnd.GLatLngBounds(); }-*/; 2) I am able to reproduce this issue in the JavaScript API w/o GWT, so I assume its an underly

How do you organize unit tests?

2008-10-29 Thread jbdhl
junitCreator creates one single test class and two launcher-binaries for that test class. But how are you organizing (and running) unit tests for *many* classes? I wan't a unit test class for each and every "real" class in my application but I am not interested in 99 billion FooBarTest-binaries in

Re: gwt rpc vs json

2008-10-29 Thread Brian
Sounds good. Is the gwt-rpc format described, so I could write a non-gwt app (say, a mac desktop gadget) that hits my server using the same api as the gwt-rpc browser app? Note, I don't actually care right now what the format is, just that the protocol is described, and is easy to impl in a non-g

Re: gwt rpc vs json

2008-10-29 Thread Brian
I care heavily about the wireformat of my requests. Maybe that's because I have bugs in my json api from time to time, but it's very handy to fire up ethereal/wireshark and check what's happening on the wire. But I hear ya, it'd "be nice" if I didn't have to care, I just do. Is the wireformat pla

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread Ian Bambury
Hi Thomas, Put an H1 in the parent document and try this: alert($wnd.parent.document.getElementsByTagName("H1")[0].innerText); Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Googl

Re: gwt rpc vs json

2008-10-29 Thread Brian
Sounds pretty good. Seems like I spend half my time typing: int n = (int) jsonNum.isNumber().doubleValue(); String s = jsonStr.isString().stringValue(); ... Just calling a method that demarshales to the correct type would be nice. Not sure it's worth my perceived pain of switching and pinning t

Re: extgwt and google maps

2008-10-29 Thread rizla
up :( --~--~-~--~~~---~--~~ 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 [EMAIL PROTECT

Re: gwt rpc vs json

2008-10-29 Thread Ian Petersen
Lothar and Mike have made some good points. Here are a couple of perhaps more obscure ones: - The RPC wire format is about as compact as you can get because it's _not_ self-describing. This is a plus if you're shuffling lots of data around, but I don't know how to define "lots" for you. - Ther

Re: FormPanel submit does always fire FormSubmitCompleteEvent

2008-10-29 Thread Alex Rice
On Oct 28, 7:52 pm, Thomas Broyer <[EMAIL PROTECTED]> wrote: > > This is mentionned in the Javadoc for the FormPanel() > constructor:http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/g...() Thanks Thomas, I read the Javadocs but didn't get all the way down to the Constructor.

Re: gwt rpc vs json

2008-10-29 Thread gregor
Hi Brian, In addition: 1) GWT RPC is heavily optimized for serializing java objects between client and RPC remote servlets so it will almost certainly be faster than your JSON equivalents 2) All the serialization/deserialization work is done automatically for you so your return objects are hande

Re: Suggestion: GWT port to Desktop

2008-10-29 Thread lkcl
a simple example - i wrote an online games web site. there are four games written at the moment. backgammon, rummikub, poker and go. rummikub has 110 images loaded onto the page. firefox takes about 5-8 seconds to add all the tokens, one-by-one with javascript (compiled from python of course).

Re: gwt rpc vs json

2008-10-29 Thread Lothar Kimmeringer
[EMAIL PROTECTED] schrieb: > The strength of GWT-RPC is that it allows for near seamless > communication between the GWT Client and a Java based Server. GWT-RPC > on the server is pure java and allows for easy hooks into Hibernate > and other Java based server technologies. I was going to answer

Re: gwt rpc vs json

2008-10-29 Thread [EMAIL PROTECTED]
The strength of GWT-RPC is that it allows for near seamless communication between the GWT Client and a Java based Server. GWT-RPC on the server is pure java and allows for easy hooks into Hibernate and other Java based server technologies. If your server isn't Java based, then JSON is the best w

Re: Possible to get an element's propertys from a container iframe?

2008-10-29 Thread darkflame
Sorry, still cant work this out, I tried RootPanel.get().getParent()... and also native javascript ; public static native void testWindow() /*-{ $wnd.alert("test"); var a; a = parent.$doc.getElementsByT

Re: No Mouse Down event with FocusPanel Wrapping MapWidget

2008-10-29 Thread Eric Ayers
It seems the mousedown is consumed by the Maps API to enable dragging support. I did a search on the Google-Maps-API group and found a number of suggestions. http://groups.google.com/group/Google-Maps-API/search?group=Google-Maps-API&q=mousedown&qt_g=Search+this+group On Tue, Oct 28, 2008 at 12

Re: published iphone apps written in GWT

2008-10-29 Thread mike7
Thanks Dave, This is interesting. I presume you built the riflethru app? I would like to hear a little more about this development method. Can you give me some highlights? For example, how long did it take? Any unexpected hiccups? I looked for it in the app store and did not find it... was

Re: Suggestion: GWT port to Desktop

2008-10-29 Thread lkcl
> When thinking of regular pages you might be right but I wasn't making > up the example. This was one of the reasons why we had to switch > from a browser-based application to a local running one. In this > specific case a tree showing all possible segments and fields > of an EDIFACT IFTMIN (one

Re: Suggestion: GWT port to Desktop

2008-10-29 Thread Lothar Kimmeringer
lkcl schrieb: > so, in this specific instance, being able to migrate - pretty much > instantaneously and with zero code modifications from a [too-slow] > browser-based environment to a [very-fast] desktop-based one would be > a definite advantage, yes? > > especially given that 1) running comp

Re: Suggestion: GWT port to Desktop

2008-10-29 Thread lkcl
On Oct 29, 9:44 am, rusty <[EMAIL PROTECTED]> wrote: > I'm partly humoured partly intrigued. How would this GWT have access > to the File System and other such resources, since by definition > javascript can't do any of that kind of thing. What if it wants to do > other cool things on your syste

Re: published iphone apps written in GWT

2008-10-29 Thread mike7
Hello John, There are really 3 reasons for wanting wanting to build it in GWT but release it via the app store. 1) marketing - David (below) is correct. There is a huge marketing advantage to going through the app store. 2) GPS - our functionality is location based and we want to access the GPS i

gwt rpc vs json

2008-10-29 Thread Brian
I haven't touched gwt rpc, as it just seems using requestbuilder and shoving json across the wire is straightforward. What's the compelling case to use gwt rpc? Remember, I haven't even looked at the docs. I'm not trying to bash anything here, just wondering why it's worth it to setup gwt rpc vs

Re: GWT1.5 and struts 1.2

2008-10-29 Thread Krish
I need to call Strtus action classes from GWT. Getting problem while calling struts 1.2. action classes On Oct 29, 8:09 am, walden <[EMAIL PROTECTED]> wrote: > What does GWT have to do with Struts?  In what sense does one matter > to the other? > > On Oct 28, 5:13 pm, Krish <[EMAIL PROTECTED]> wr

Re: Gwt Multiple Language

2008-10-29 Thread mon3y
Hope this helps http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/i18n/client/Constants.html :) On Oct 29, 1:51 pm, jagadesh <[EMAIL PROTECTED]> wrote: > Hi Guys , > > Iam Working On Gwt 1.5.3 . My Requirement is > Iam Using 2 languages  one is English and other is Chines

Re: GWT1.5 and struts 1.2

2008-10-29 Thread walden
What does GWT have to do with Struts? In what sense does one matter to the other? On Oct 28, 5:13 pm, Krish <[EMAIL PROTECTED]> wrote: > Hi, > > I need to integrate GWT 1.5 with struts 1.2 . I checked with struts > 2.0 and it is working fine. But it is not working with struts 1.2. > > Is there a

Re: Integrating GWT application with existing java project

2008-10-29 Thread walden
I meant to say "GWT modules" above, not packages. On Oct 28, 12:37 pm, walden <[EMAIL PROTECTED]> wrote: > VK, > > For starters, why don't you create a 'gwt' folder in your source > hierarchy that is outside the scope of all your Java EE classes, and > preserve the canonical gwt project structure

Gwt Multiple Language

2008-10-29 Thread jagadesh
Hi Guys , Iam Working On Gwt 1.5.3 . My Requirement is Iam Using 2 languages one is English and other is Chines [ Traditional] i have written 2 constants file for both. now how can i set the language depending on the browser locale. i.e if the site opens in china , the language should be chines

Re: groundOverlay issue

2008-10-29 Thread Vinz369
First, thanks for trying to help me. The no arg LatLng.newInstance() does not exist. I guess you wanted to say the no arg LatLngBounds.newInstance(). But it does not work for me. The map does not show up. Here is the code i changed: LatLngBounds cloudOverlayBounds = LatLngBounds.newInstance(); fi

Could someone explain why Double#doubleToLongBits change was rollback

2008-10-29 Thread Tom
Hi, Can someone please tell why this change [1] go rollback? Was the algorithm incorrect? [1] http://code.google.com/p/google-web-toolkit/source/detail?r=2434&path=/trunk/user/super/com/google/gwt/emul/java/lang/Double.java# --~--~-~--~~~---~--~~ You received thi

Re: Need a unique identifier for all widgets in views

2008-10-29 Thread Thomas Broyer
On 29 oct, 06:47, prads <[EMAIL PROTECTED]> wrote: > Hi all, > > There is a requirement in my application (which has been in > development since a year) that every widget needs to be identified by > a unique value. The reason,I am told, for this is that having a unique > identifier for all the wi

Re: Suggestion: GWT port to Desktop

2008-10-29 Thread Thomas Broyer
On 29 oct, 10:44, rusty <[EMAIL PROTECTED]> wrote: > I'm partly humoured partly intrigued. How would this GWT have access > to the File System and other such resources, since by definition > javascript can't do any of that kind of thing. JavaScript (well, ECMAScript actually) is "just" a progra

Re: Suggestion: GWT port to Desktop

2008-10-29 Thread rusty
I'm partly humoured partly intrigued. How would this GWT have access to the File System and other such resources, since by definition javascript can't do any of that kind of thing. What if it wants to do other cool things on your system? I've never been a fan of building bad desktop clients, whic

Re: An Interpreter running inside the Browser using GWT

2008-10-29 Thread [EMAIL PROTECTED]
Hi Phillip, it's purpose is purely educational right now. One group this should be interesting for is students. They don't need to install anything but can practice programming directly inside the browser. It is not intended to be used in a production environment. greetings, Christoph On Oct 2

GWITTIR keybinding

2008-10-29 Thread jhpark
sorry I can't wirte english well I have to keyboad binding.. http://code.google.com/p/gwittir/wiki/Keyboarding <- sample source code. But I can't use it.. final Button suggest = new Button("Suggest");//create the button KeyBinding keybind = new Key

Re: RPC Image

2008-10-29 Thread doopa
On Oct 23, 3:54 pm, Jason Essington <[EMAIL PROTECTED]> wrote: > You could either return a URL from your RPC and then create an   > imageWidget using that URL, or you could simply skip the RPC   > altogether and create a GET request URL that presumably ends at a   > servlet capable of returning

Re: GWT-ext or ext-GWT?

2008-10-29 Thread maku
This is a good advice when you have much time and the expertise to develop nice looking widgets. But in reality this is not the case. >From my point of view a small team is not able to develop something which is as good as ExtGwt (aka GXT). (E.g. a powerful grid component) We took GXT to devel

Re: GWT-ext or ext-GWT?

2008-10-29 Thread alex.d
On 29 Okt., 03:46, rlaferla <[EMAIL PROTECTED]> wrote: > On Oct 28, 3:25 am, "alex.d" <[EMAIL PROTECTED]> wrote: > > > Ext GWT definitely. It's nativa Java-GWT code vs. Javascript wrapper. > > Even though you have to pay for it it's worth it. > > Sounds good but what are some of the problems tha

  1   2   >