Re: Vector Support?

2008-09-13 Thread [EMAIL PROTECTED]
Well, you are right. Vector are not deprecated in the strict sense of the word. I was confusing because the use of Vector should be avoided, because that class is there only for legacy code support. If you need to synchronize an ArrayList, you can instead use: List list = Collections.synchronized

UPDATE Re: Is GWT compatible with VRML? Best practice of 3D modeling inside GWT apps?

2008-09-13 Thread jcmorris
Hi Jamer, Apparently Google is starting a GWT + SVL project. http://code.google.com/p/gwt-svg/ Keep checking this site. Cheers, Jason On Aug 31, 4:43 pm, jamer <[EMAIL PROTECTED]> wrote: > Hello > I saw your old post and I wonder if you've managed to do something. > I am interested in creating

Re: Best solution for client-side graphing in GWT?

2008-09-13 Thread John Gunther
Nathan, Though Client-side GChart doesn't have direct event support, it does support Widget-based annotations, which can be used to do the same kinds of things. For example, by adding a transparent Image widget as an annotation that is centered on a particular data point (via the setAnnotationWi

Re: Unable to access RPC with GWT4Gadgets

2008-09-13 Thread Eric Ayers
Added a FAQ at http://code.google.com/p/gwt-google-apis/wiki/GadgetsFAQ Thanks for testing it out for me :-) On Sat, Sep 13, 2008 at 8:10 AM, Norman Maurer <[EMAIL PROTECTED]> wrote: > > Sorry forget what I said... I just closed the browser and start it again, > now it works. Thx for all your

Re: My app crashes Safari on reload... how do I find the problem?

2008-09-13 Thread Eric Ayers
GWT team member Kelly Norton asked if you could get a crash dump from Safari, as well as some more information on how to reproduce the problem. -Eric On Sat, Sep 13, 2008 at 5:02 PM, Nevin Freeman <[EMAIL PROTECTED]>wrote: > > It works fine in hosted mode, and the crash happens only when the > b

Re: History.onHistoryChanged - again

2008-09-13 Thread Ian Bambury
2008/9/13 Thomas Broyer <[EMAIL PROTECTED]> > > It fires history events when the history changes, it also fires history > > listeners when the history *hasn't* changed > "refresh" case Call it what you like: the history stack hasn't changed and the listeners get fired. > and it fails to fire hi

Re: History.onHistoryChanged - again

2008-09-13 Thread Thomas Broyer
On 13 sep, 23:29, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > 2008/9/13 Thomas Broyer [EMAIL PROTECTED] > > > There cannot be change events if there's nothing to change, so History > > needs a newItem() method (and back(), forward() and go()). Apart from > > that, it's just what you described: it

Using EasyMock in GWT Test Cases

2008-09-13 Thread ksachdeva
Hi, I am trying to use the EasyMock in my unit tests and I am getting a weired behavior. Here are the details of my configuration: Windows Vista SP1; GWT 1.5.2; EasyMock 2.4; Eclipse 3.4 The error I am getting when I run my MyTest-hosted.launch configuration from eclipse: Compiling Java source

Re: History.onHistoryChanged - again

2008-09-13 Thread Ian Bambury
2008/9/13 Thomas Broyer [EMAIL PROTECTED] > > I don't get it, sorry. > Never mind. > There cannot be change events if there's nothing to change, so History > needs a newItem() method (and back(), forward() and go()). Apart from > that, it's just what you described: it "fires history listeners

Re: My app crashes Safari on reload... how do I find the problem?

2008-09-13 Thread Nevin Freeman
It works fine in hosted mode, and the crash happens only when the browser refresh button is clicked. I like the idea of inserting a few window.alerts to trace how far it makes it. I'll post here with progress, though it might be a bit since there are other issues that have precedence. Thanks, Nev

Re: History.onHistoryChanged - again

2008-09-13 Thread Thomas Broyer
On 13 sep, 19:17, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > The rationale for dispatching a history change with a different token to the > current one? Probably more than one, but in my case: I want to fire the > history listeners without leaving a history token. In JS you can do this by > overw

Re: Vector Support?

2008-09-13 Thread terje_sverje
Vectors are synchronized. ArrayLists are not. So I don't think they will go deprecated. On Sep 12, 12:25 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I think that Java consider Vector class deprecated. Look at Java doc > to see how to use ArrayList instead of Vector. > > Ciao ;) > Roberto

Re: History.onHistoryChanged - again

2008-09-13 Thread Ian Bambury
The rationale for dispatching a history change with a different token to the current one? Probably more than one, but in my case: I want to fire the history listeners without leaving a history token. In JS you can do this by overwriting the existing token with 'replace'. In GWT's History, you used

RE: New GWT Incubator Drop available

2008-09-13 Thread Dru Devore
+1 for b Original Message Subject: Re: New GWT Incubator Drop available From: Len <[EMAIL PROTECTED]> Date: Sat, September 13, 2008 11:44 am To: Google-Web-Toolkit@googlegroups.com +1 for b as well 2008/9/13 Michael Vogt <[EMAIL PROTECTED]>: > > Hi. > > I know its a bit late,

Re: New GWT Incubator Drop available

2008-09-13 Thread Len
+1 for b as well 2008/9/13 Michael Vogt <[EMAIL PROTECTED]>: > > Hi. > > I know its a bit late, but... > >> Also, on the topic of gwt-incubator, we (the gwt team) are having >> discussions about whether the gwt-incubator should compile against >> a) gwt-1.5 and gwt-trunk >> b) latest gwt-miles

Re: History.onHistoryChanged - again

2008-09-13 Thread Thomas Broyer
On 12 sep, 17:57, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > 2008/9/12 Thomas Broyer <[EMAIL PROTECTED]> > > >   String currentToken = History.getToken(); > >   History.newItem("SomeToken"); > >   History.newItem(currentToken, false); > > > It works because history change events are now fired syn

Re: Unable to access RPC with GWT4Gadgets

2008-09-13 Thread Norman Maurer
Sorry forget what I said... I just closed the browser and start it again, now it works. Thx for all your help :-) Cheers, Norman Ps: Maybe it would be useful to add this workaround to the website ... 2008/9/13 Norman Maurer <[EMAIL PROTECTED]> > > Hi Eric, > > thx for the reply again. Now I don

Re: Unable to access RPC with GWT4Gadgets

2008-09-13 Thread Norman Maurer
Hi Eric, thx for the reply again. Now I don't get the error anymore but the gadget just not display (Firefox):-/ I will try to get an Internet Explorer to test, after that I will report if it works there. Cheers, Norman Maurer 2008/9/13 Eric Ayers <[EMAIL PROTECTED]> > Sorry, that was from an

Re: Unable to access RPC with GWT4Gadgets

2008-09-13 Thread Eric Ayers
Sorry, that was from an early verison of the patch. This is the method you need to override. protected String readContent(HttpServletRequest request) throws ServletException, IOException { return RPCServletUtils.readContentAsUtf8(request, true); } for a Gadget, implement it as:

Re: GWT Presentation [Javoxx/Devoxx] - What would you like to see?

2008-09-13 Thread Rebornspirit
I'm also looking for cool things people did with Deferred binding and Linkers, so I can reference them and help out to inspire people to get put and use GWT. When the presentation is done you'll be able to download them from my site http://www.maartenvolders.com, I'll also try to blog on the progr

Re: Unable to access RPC with GWT4Gadgets

2008-09-13 Thread Norman Maurer
Thx for the hints.. But I was unable to find the checkHeaders() method in the GWT RemoteServiceServlet class. Even in the current trunk it seems to not exists :-/ Cheers, Norman 2008/9/12 Eric Ayers <[EMAIL PROTECTED]> > We've had this as an issue for a while. GWT 1.5.2 includes a method you >

Re: New GWT Incubator Drop available

2008-09-13 Thread Michael Vogt
Hi. I know its a bit late, but... > Also, on the topic of gwt-incubator, we (the gwt team) are having > discussions about whether the gwt-incubator should compile against > a) gwt-1.5 and gwt-trunk > b) latest gwt-milestone and gwt-trunk > c) only gwt-trunk. > I'd vote for b) Thanks, Micha

Re: GWT 1.5 Now Available

2008-09-13 Thread Riyaz Mansoor
This bug still exists in 1.5.2 Actually I didn't know it was a bug - except when I saw this post :) On Sep 12, 1:26 pm, Schimki86 <[EMAIL PROTECTED]> wrote: > Maybe you know the "Bug", that the ScrollPanel doesn't work inside an > TabPanel, because it grows up instead showing scrollbars. Now we