Re: control goes away from the gwt window

2008-09-09 Thread Thomas Broyer
On 9 sep, 05:33, hemant [EMAIL PROTECTED] wrote:   I'm facing a weird issue, if I open a pop up on clicking of some menu item I'm loosing control of my current working window and some other application window comes front. Please help me out on this. This is fixed on 1.5 (since RC2):

Re: Integration with Mapstraction

2008-09-09 Thread anglers
More correctly to use some DIV element, f.e. with name 'mapstraction', and use such code: ... JavaScriptObject jso = getMap(DOM.getElementById(mapstraction)); ... protected native JavaScriptObject getMap(Element element)/*-{ var m = new $wnd.Mapstraction(element, 'google');

Hiding dates in Date Picker

2008-09-09 Thread Karl
Hello. I've got a question regarding the Date Picker widget. Is there a way to hide the dates coming from the month before and after the current month? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: gwt-google-apis Maps: manually triggering map events

2008-09-09 Thread Eric Ayers
Currently, there are some 'trigger' methods defined for Polyline and Polygon that you can use to push one of these events, but they are package protected. You could create a class in the package com.google.gwt.maps.client.overlay in order to invoke these methods. I have not tried to see how they

Re: Integration with Mapstraction

2008-09-09 Thread Eric Ayers
There is a method named 'checkResize()' which might help. Notifies the map of a change of the size of its container. Call this method after the size of the container DOM object has changed, so that the map can adjust itself to fit the new size. Call it after you attach you map to the

Re: Cannot get value from MapString, Serializable

2008-09-09 Thread [EMAIL PROTECTED]
It's work. I'm sure that you made some mistake in your source code. On 9月9日, 午後2:29, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I created DataMap class something like below. public class DataMap extends HashMapString, Serializable { } It looks O.K. to send value with DataMap, but

Re: Referencing external source (netbeans project dependency)

2008-09-09 Thread Rob Wilson
[bump] ;-) --~--~-~--~~~---~--~~ 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

CSS in gwt 1.5

2008-09-09 Thread jamer
Hi group! If we use a widget in GWT 1.5, his style is one that has a default, but where is the CSS stylesheet which is written this way? Thank you! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Caching, compression and https

2008-09-09 Thread Thomas Broyer
On 9 sep, 09:54, walker1c [EMAIL PROTECTED] wrote: I have been reading a number of posts about problems caused because browsers do not cache content under https.  The problem, for those who haven't seen it, is that the slow load caused by first-time loading of a large Javascript application

Re: Integration with Mapstraction

2008-09-09 Thread anglers
Well, it is not problem with resizing I believe... On this example there are gray map loading area with label within, it is resizable by client window resize event. There are controls too on the map :) But content of the map area is not loaded... SImple example: package com.test.client;

Re: Caching, compression and https

2008-09-09 Thread Folke
On 9 Sep., 03:54, walker1c [EMAIL PROTECTED] wrote: The general view is that Javascript files are normally cached under https. Yes, but users of Firefox 2 have to set browser.cache.disk_cache_ssl to true and for users of Firefox 3 you need to add the HTTP header Cache-Control: public when you

How can I send the current displayed page from the client back to the server?

2008-09-09 Thread egin
Before I read this I had the same problem as you I tried to solve it like this: - 1) I wrote a servlet wich writes the content into the session: /** public PDFServiceImpl() { super(); } public String prepareSession(String header, String

Re: SOP and SVN woes with GWT

2008-09-09 Thread walden
Roelant, If I were you, I'd get a copy of the RESTful service on my local machine and do all my development locally. I don't know much about your application, but in general, it's a good idea to to enforce separation of development environment and production environment. This would solve your

Re: Integration with Mapstraction

2008-09-09 Thread anglers
Thanks for reply, Eric I`ll try it, mayby it will help I`m not using GWT Google Maps API (MapWidget is the part of it). In my case I should to edit mapstraction.js directly. Interesting fact: If I use Microsoft VE Maps, all works correctly, map is rendered, resizable etc But for Yahoo and Google

Re: Integration with Mapstraction

2008-09-09 Thread anglers
Well, in mapstraction.js in case of Google Maps there are such code: this.maps[this.api].checkResize(); It means that checkResize() method is called for GMap... But gray rectangle for Google and Yahoo maps is still here :) On 9 сент, 16:40, anglers [EMAIL PROTECTED] wrote: Thanks for reply,

Re: How can I send the current displayed page from the client back to the server?

2008-09-09 Thread Thomas Broyer
On 9 sep, 14:09, egin [EMAIL PROTECTED] wrote: IMPORTENT HERE: == This worked with firefox but the ie returned a html without quotes and other important characters So I was forced to parse the whole html on server-site and clean all the mass that ie returned me by hand.

Re: Integration with Mapstraction

2008-09-09 Thread Eric Ayers
Have you tried searching on the Google Maps group? (Read the message BEFORE YOU POST: Read our Suggested Posting Guidelines) http://groups.google.com/group/Google-Maps-API 2008/9/9 anglers [EMAIL PROTECTED]: Well, in mapstraction.js in case of Google Maps there are such code:

Random javascript issue with IE 7.0.5730 on a big project.

2008-09-09 Thread [EMAIL PROTECTED]
Hi all, My team and I are developing two GWT projects based on a same software architecture and the first one starts to become huge. On this project, the size of client package exceeds 28 Mo with at least 200 java files, and now we can see a strange behavior : All our workstations use the same

GWT javascript

2008-09-09 Thread onalekitso
Can someone please show how to compress GWT javascript to load faster, other than OBF or further compress it. GWT javascript is currently loading slowly on my web page. Please help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

GWT 1.5 Tree and TreeItem, doesn't 'highlight' widgets

2008-09-09 Thread Arilian
I'm testing out the Tree widget to see what I can do with it. I've setup a very simple tree and added some items to it. I've tried adding text items (addItem(Label 1)) and adding Label widgets (addItem(new Label(Label 2)). Text items are highlightable by the tree, widgets aren't. I can't find

Problem with TreeItem indentation in IE

2008-09-09 Thread Pavel
Hi. After migration from 1.4.6 to 1.5.2 indentation for TreeItem element with children and without are different in IE but all looks fine in FF. Tree example in IE: ..treeitem1 .+.treeitem2 .+.treeitem3 ..treeitem4 The same tree in FF: treeitem1 .+.treeitem2 .+.treeitem3

Google GWT training/consultants?

2008-09-09 Thread Douglas
My company is looking at GWT for use in new web apps, but they're picky about having support available for their technology. That means that they want a contract with the company, so they can request tech support if they get stuck on something (not an issue with GWT that I've seen so far...)

Re: Integration with Mapstraction

2008-09-09 Thread anglers
No, I have not tried searching on this group. But I have solved my problem :) It was very stupid :) Google and Yahoo maps require point for center map. Microsoft does not. If one does not specify center (start point) for map, map shows just a gray rectangle. This method works properly:

GWT 1.5.2 Hosted Mode Browser Error on Linux

2008-09-09 Thread daniel.z
I'm getting the following error when trying to launch an freshly created gwt application in hosted mode with gwt 1.5.2. Everything works fine when using 1.5.0's GWTShell. [ERROR] The browser widget class could not be instantiated org.eclipse.swt.SWTError: XPCOM error -2147221164 at

Re: gwt 1.5 JspSourceDependent problem

2008-09-09 Thread massimo malvestio
Thx for the answer. I will follow your suggest On Tue, Sep 9, 2008 at 3:21 PM, Isaac Truett [EMAIL PROTECTED] wrote: Regardless, simply remove the conflicting jar from whatever classpath is in use by the operation that is failing. If you can't remove the jar entirely due to other

Re: best practice to upgrade Eclipse project

2008-09-09 Thread Alex Rice
OK thanks I will try that next time. edit the paths in: Class-compile Class-shell Class.launch then edit the path in (Eclipse 3.4): Project | Properties | Java Build Path| gwt-user.jar On Sep 8, 5:19 pm, Ian Bambury [EMAIL PROTECTED] wrote: Oh yeah, also... You'll need to change the launch

Plurals should be my choice, not the Locale's

2008-09-09 Thread Matt Bishop
I spent a couple of fruitless hours yesterday trying to get plurals to work the way I wanted them to with the new Plural API. After digging through the source code (never a good sign) I discovered that I have to accept GWT's notion that '0' is a plural in the English language. Really? Zero?

ANN: SL 0.1.5a released

2008-09-09 Thread George Georgovassilis
Dear All We have recently released version 0.1.5a of the SL which is mainly a compatibility release for GWT 1.5 and Hibernate4GWT. For those of you who are new joiners, the SL is a sister project of the GWT-Widget Library [1] aimed at integrating the Spring framework via RPC with GWT through

Re: ANN: SL 0.1.5a released

2008-09-09 Thread Miroslav Genov
Hello, Thanks for the good news :). I'm glad that this library now is integrated with the latest version of GWT. Thanks for the announcement. Regards, Miroslav George Georgovassilis wrote: Dear All We have recently released version 0.1.5a of the SL which is mainly a compatibility

Re: Need help on writing test cases for asynchronous call backs.

2008-09-09 Thread Miroslav Genov
Hello, The main test class GWTTestCase contains two method which are used in this situation: delayTestFinish() and finishTest. The first tells on the test to wait some time to allow on async callback to be executed where the second tells on the test class to end it's execution. To see more

Re: Using getter/setter as compared to direct variable access

2008-09-09 Thread Ian Petersen
On Tue, Sep 9, 2008 at 3:15 PM, Niraj [EMAIL PROTECTED] wrote: Does the above logic make sense?? Nope. The GWT compiler will generally inline your getters and setters wherever possible so the generated Javascript should be the same in either case. Since getters and setters provide the

Reduce number of round trips to load js and css

2008-09-09 Thread alided
Hello, I have pretty complex page written in GWT which uses different widgets i also use GWT-ext. Page loading is very slow take around 10-15 sec. After investigation using YSlow i notice that most of the time is spent on round trips to load different js and css files. The obvious solution to me

DecoratedTabPanel alignment of tabs

2008-09-09 Thread sboulay
Is there any way to set the alignment of the tabs in a DecoratedTabPanel. All of my tabs are on the left side of the page, I would like them on the right side of the page.HorizontalPanel has something like setHorizontalAlignment ... how is this done when adding tabs to DecoratedTabPanel . Thanks

Re: http 501 not implemented

2008-09-09 Thread Thomas Broyer
On Sep 9, 4:50 pm, Jason Essington [EMAIL PROTECTED] wrote: Well, define what you mean with connection with the server If you are trying to send a GET request to a servlet that only   implements POST you will get that error. Actually, no, if a given resource only supports POST, you should

Re: gwt-google-apis Maps: manually triggering map events

2008-09-09 Thread Eric Ayers
Those details helped a lot. I've filed issue 169: http://code.google.com/p/gwt-google-apis/issues/detail?id=169 -Eric. On Tue, Sep 9, 2008 at 2:57 PM, Nevin Freeman [EMAIL PROTECTED]wrote: Thanks for the quick response. When the line overlay is removed while drawing is still enabled, the

Re: EntryPoint test harness for GWT

2008-09-09 Thread Sumit Chandel
Hi Niraj, There is no easy way to do what you've described. Also, even if you did setup your widgets so as they each implement an EntryPoint and in a sense represent their own module, your GWT application would suffer from performance hits as the GWT compiler would not be able to optimize your

Re: Reduce number of round trips to load js and css

2008-09-09 Thread Thomas Broyer
On Sep 9, 8:13 pm, alided [EMAIL PROTECTED] wrote: Hello, I have pretty complex page written in GWT which uses different widgets i also use GWT-ext. Page loading is very slow take around 10-15 sec. After investigation using YSlow i notice that most of the time is spent on round trips to

DecoratorPanel

2008-09-09 Thread Len
Hi I have an odd problem with DecoratorPanels when they are filling their container to 100% width and height then the borders are a mess ? Anyone else seen this or any ideas ? Thanks Len --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Need help on writing test cases for asynchronous call backs.

2008-09-09 Thread Sudhindra HS
that was good help, i did write test cases to test async call backs. thanks ... On Tue, Sep 9, 2008 at 11:53 PM, Miroslav Genov [EMAIL PROTECTED]wrote: Hello, The main test class GWTTestCase contains two method which are used in this situation: delayTestFinish() and finishTest. The first

Re: http 501 not implemented

2008-09-09 Thread Cecilia
thank you the problem was a firewall blocking the content type that gwt generates bye! On Sep 9, 4:55 pm, Thomas Broyer [EMAIL PROTECTED] wrote: On Sep 9, 4:50 pm, Jason Essington [EMAIL PROTECTED] wrote: Well, define what you mean with connection with the server If you are trying to

Default filename in FileUpload?

2008-09-09 Thread JohnnyGWT
I realize you're not usually allowed to provide a default filename in FileUpload, and that browser's typically support it (IE?) and that it represents a security threat etc, etc. That said, has anyone found a way to add a default file name to FileUpload? Or to just upload a file using a fixed

Default filename in FileUpload?

2008-09-09 Thread JohnnyGWT
I realize you're not usually allowed to provide a default filename in FileUpload, and that browsers typically do not support it (IE?) and that it represents a security threat and that input type=file doesn't support you setting the value, etc etc That said, has anyone found a way to add a

Re: Problem with TreeItem indentation in IE

2008-09-09 Thread Pavel
I`ve resolved it by adding transparent image 16x16 to leafs. --~--~-~--~~~---~--~~ 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

[gwt-contrib] Re: Documentation Review: update JS to Java Marshaling documentation

2008-09-09 Thread John Tamplin
On Tue, Sep 9, 2008 at 10:11 AM, Eric Ayers [EMAIL PROTECTED] wrote: Would you please review the following change I made to the Developer's Guide? Updated the page: http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/DevGuideMarshaling?updated=DevGuideMarshalingts=1220969310 with

[gwt-contrib] Re: Documentation Review: update JS to Java Marshaling documentation

2008-09-09 Thread Eric Ayers
On Tue, Sep 9, 2008 at 11:53 AM, John Tamplin [EMAIL PROTECTED] wrote: On Tue, Sep 9, 2008 at 10:11 AM, Eric Ayers [EMAIL PROTECTED] wrote: Would you please review the following change I made to the Developer's Guide? Updated the page:

[gwt-contrib] Re: Documentation Review: update JS to Java Marshaling documentation

2008-09-09 Thread John Tamplin
On Tue, Sep 9, 2008 at 1:09 PM, Eric Ayers [EMAIL PROTECTED] wrote: When passing arrays between JavaScript and Java, the helper classes JsArray, JsArrayBoolean, JsArrayInteger, JsArrayNumber, and JsArrayStringcan be used. These classes are wrappers around a native JavaScript array. LGTM.

[gwt-contrib] Re: gwt-incubator build:look for global

2008-09-09 Thread Freeland Abbott
Optional, it might be helpful to have a check that, if both files are available, warns you that there're two sources and could be in conflict. But it's a cherry; I'm not sure it's worth any real effort, so I'm back to my opening LGTM. On Tue, Sep 9, 2008 at 2:10 PM, Emily Crutcher [EMAIL

[gwt-contrib] Re: gwt-incubator build:look for global

2008-09-09 Thread Emily Crutcher
Thanks! Committed at 957. On Tue, Sep 9, 2008 at 2:37 PM, Freeland Abbott [EMAIL PROTECTED]wrote: Optional, it might be helpful to have a check that, if both files are available, warns you that there're two sources and could be in conflict. But it's a cherry; I'm not sure it's worth any real

[gwt-contrib] [google-web-toolkit commit] r3638 - branches/oophm

2008-09-09 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Tue Sep 9 12:47:16 2008 New Revision: 3638 Removed: branches/oophm/ Log: Remove old oophm branch, will replace with newer trunk merge. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Documentation Review: update JS to Java Marshaling documentation

2008-09-09 Thread Scott Blum
Eric, was this an addition, or was there text there before? I think we should be clear that passing a Java array into JavaScript is not supported, then we can turn around and suggest the JsArray* classes as an alternative. On Tue, Sep 9, 2008 at 10:11 AM, Eric Ayers [EMAIL PROTECTED] wrote:

[gwt-contrib] Re: Documentation Review: update JS to Java Marshaling documentation

2008-09-09 Thread Scott Blum
Probably. Maybe I'm just thinking a slight word tweak would make it clearer, like: Although Java arrays cannot be used directly in JavaScript, the helper classes On Tue, Sep 9, 2008 at 4:31 PM, Eric Ayers [EMAIL PROTECTED] wrote: This is an addition. There is a note about Java arrays

[gwt-contrib] [google-web-toolkit commit] r3641 - changes/spoon/runAsync/samples/showcase/src/com/google/gwt/sample/sho wcase/client/content...

2008-09-09 Thread codesite-noreply
Author: [EMAIL PROTECTED] Date: Tue Sep 9 13:33:36 2008 New Revision: 3641 Modified: changes/spoon/runAsync/samples/showcase/src/com/google/gwt/sample/showcase/client/content/widgets/CwCheckBox.java Log: Load the check box demo synchronously, because it is the first demo used by

[gwt-contrib] Re: Documentation Review: update JS to Java Marshaling documentation

2008-09-09 Thread Eric Ayers
Edits welcome! On Tue, Sep 9, 2008 at 4:33 PM, Scott Blum [EMAIL PROTECTED] wrote: Probably. Maybe I'm just thinking a slight word tweak would make it clearer, like: Although Java arrays cannot be used directly in JavaScript, the helper classes On Tue, Sep 9, 2008 at 4:31 PM, Eric

[gwt-contrib] Re: Documentation Review: update JS to Java Marshaling documentation

2008-09-09 Thread Scott Blum
:) On Tue, Sep 9, 2008 at 4:34 PM, Eric Ayers [EMAIL PROTECTED] wrote: Edits welcome! --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Code Review: gwt-google-apis gears package.html updates

2008-09-09 Thread Eric Ayers
Hi Miguel, I would like for you to review this addition of package level javadoc summary files for Gears. A gears/src/com/google/gwt/gears/offline/client/package.html A gears/src/com/google/gwt/gears/client/localserver/package.html A

[gwt-contrib] Brainstorming : Accumulating intra-compilation state across Generator invocations

2008-09-09 Thread BobV
Working on CssResource has shown a limitation in the Generator model in that there are no provisions to accumulate state between invocations of a Generator while rebinding a module. The general problem with assuming stateful Generators is that the lifecycle and invocation order of Generators

[gwt-contrib] Re: Brainstorming : Accumulating intra-compilation state across Generator invocations

2008-09-09 Thread Scott Blum
I just remembered one trick I think you might get by with until we resolve this question. There's something involving caching a reference to the TypeOracle and doing an identity check on it to determine that you're part of the same compilation. Um, you'd have to check if this is brittle in

[gwt-contrib] Re: RR : Allow define-property to redefine an existing property

2008-09-09 Thread Fred Sauer
+1 I think this would be very useful. Indeed it would allow me to simplify my .gwt.xml files in gwt-log a great deal. Thanks Fred Sauer [EMAIL PROTECTED] On Tue, Sep 9, 2008 at 5:33 PM, BobV [EMAIL PROTECTED] wrote: This patch against trunk allows multiple define-property tags for the same