Re: How to capture that the user has moved away from the current browser window.

2010-03-22 Thread Subhrajyoti Moitra
Thanks a lot Thomas for pointing me to the right direction. I need to spend some more time into this!! Thanks, Subhro. On Fri, Mar 19, 2010 at 8:50 PM, Thomas Broyer t.bro...@gmail.com wrote: On Mar 19, 5:20 am, subhro subhrajyo...@gmail.com wrote: Hello, I am trying to implement a

what event does the PopupPanel use to autohide?

2010-03-22 Thread Tristan
Hi, I'm trying to automate my testing via Selenium. When I do it myself by hand, the popup panel hides when I click outside of it (ie.. it works as expected), however when I use selenium.click or clickAt or fireEvent blur or mouseDownAt, etc... i cannot get the popup panel to hide and my test

Re: FileUpload widget trouble

2010-03-22 Thread malliseven.hills
Hi, i think the following links would be help full for you : http://java-malli.blogspot.com/2010/03/gwt-upload-file.html (Client Side). http://java-malli.blogspot.com/2010/03/file-upload-server-side.html (sever side i'm using Spread Sheet Loading ). Thanks, Malli. On Sat, Mar 20, 2010

Re: Class Observer/Observable not emulated

2010-03-22 Thread Nathan Wells
Can't speak for the GWT team here, but this could be a reason: http://forums.sun.com/thread.jspa?threadID=5336733 On Mar 20, 10:43 am, jcb jcbpa...@gmail.com wrote: I am very satisfied with gwt, and I am making a simple gwt app with just client side code. I  want to separate model and view,

Re: GWT 1.3 and firefox 3.6

2010-03-22 Thread Roland
Yes, after paying more attenition, discovered that $doc.getBoxObjectFor is not a function was thrown. Got it fixed following this: http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg36310.html But I'd like to know whether this is a failure only for gwt's earlier versions or not?

gwt for a servlet / jsp guy....

2010-03-22 Thread JayUnit100
Hi guys I'm trying to wrap my head around GWT. I want to bundle it into a simple FrontMan based web app, with a controller and some jsps. However, I'm realizing that maybe I need to think a little differently with GWT. That is, so much stuff about web app development that we take for

[Newbie] java.net.SocketException: Invalid argument when running devmode

2010-03-22 Thread Chihab Otmani
Hi all, I've got the following errors when running the development mode code server as described in this tutorial: http://code.google.com/webtoolkit/doc/latest/tutorial/create.html, either using eclipse or webAppcreator ant. When using Eclipse, the following message is displayed in the console

Using -noserver option in GWT project

2010-03-22 Thread shree
Can anyone help me to understand that how to use -noserver option in my GWT project? Please give me the detailed steps also some screen shots will be beneficial(if possible). Please,please reply immediately. -- You received this message because you are subscribed to the Google Groups Google Web

GWT + SPRING SECURITY

2010-03-22 Thread larry
Hi all. I'm new here. I'm currently using gwt 1.7 gwt-ext 2.0.x, spring 2.5 and spring-security 2.0.4. I met a problem that I have tried to get a solution for two days with no answer yet. The problem is that any unprotected gwt pages return blank with an error message Line: 2 Char: 1 Error: Syntax

Tree and Composites

2010-03-22 Thread Talmge
When I add a simple Widget to a tree (Such as a checkbox or call addItem with a string) I can select the item -- that is, if I click on it the blue background appears around the text showing me that I selected that node in the tree. With other widgets such as labels or composites that blue

Save page content using gwt

2010-03-22 Thread Rijin
help please how save a url content and existence of a url using gwt code..help please...? -- 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-tool...@googlegroups.com. To unsubscribe from this

Problems with Eclipse Plugin

2010-03-22 Thread moe
Hey, after installing the GWT Plugin, I want to change the directory of Eclipse - it was in my downloads folder. But now the Google SDKs aren't found any more by Eclipse. To change the directory first and then install didn't work either. I use Mac OS X 10.6, Eclipse 3.5.2 (64 bit) and GWT 2.0.3.

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-22 Thread mkkm...@gmail.com
2.0.x x can be 0, 1, 2 or 3. Michael On 21 mar, 03:03, zggame zgg...@gmail.com wrote: I am fairly new to maven.  I might miss something in their description.  Do you just need to change gwt.version1.6.4/gwt.version to 2.0?  thanks. Sincerely Zhu, Guojun On Mar 18, 3:45 pm, Piotr

HorizontalSplitPanel children

2010-03-22 Thread TM
Hi, I'm having quite a lot of trouble with panels and layouts. My app currently consists of a DockPanel containing a HorizontalSplitPanel, which in turn contains various widgets either side of the split. However, when the HorizontalSplitPanel splitter is moved nothing happens to the sizes of the

Re: Two generator questions

2010-03-22 Thread Alexander
You have no idea how deep the rabbit hole is :) On 22 March 2010 03:06, Philippe Beaudoin philippe.beaud...@gmail.comwrote: Yes. Much simpler indeed. Would you believe I didn't even know you could have static instances attached to interfaces... I'm still relatively new to Java. :) Cheers

Re: Using -noserver option in GWT project

2010-03-22 Thread Nathan Wells
Well, since you asked so nicely: http://www.screaming-penguin.com/node/4500 Note that I found this site using Google. The search engine. I typed gwt noserver. You're welcome :) On Mar 20, 11:52 pm, shree bmshej...@gmail.com wrote: Can anyone help me to understand that how to use -noserver

Re: How do I use GWT-Ext 2.0.6 widgets with GWT 2.0?

2010-03-22 Thread Sebastian
Yes it it still possible. We still use it. You might discover something that doesn't work, but I cannot remember making any (GWT-EXT related) change when upgrading from GWT 1.7 to 2.0. We certainly use the date time pickers and the multiple fields form. Sebastian On Mar 21, 4:17 pm, Dan

PopupPanel, UiBinder and setGlassEnabled

2010-03-22 Thread hriess
Is there a way to enable the glass panel of a popup with UiBinder? My definition g:popupPanel glassEnabled=true doesn't work - there is no compilation error but also no glass panel. If I set the property in my java class with public class DatasheetWidget extends PopupPanel { ...

Add RetentionPolicy.RUNTIME to @RemoteServiceRelativePath

2010-03-22 Thread Ulon
The annotation @RemoteServiceRelativePath is used in the client side by GWT to find out the URL path of the RPC service. Server side code could make use of this annotation too. After all, our server-side code is going to implement the client side remote interface, so we should be able to get

Re: Keeping a class reference to CssResource

2010-03-22 Thread shahid
ok many thanks .. On Mar 19, 3:29 pm, Thomas Broyer t.bro...@gmail.com wrote: On Mar 19, 10:49 am, shahid shahidza...@gmail.com wrote: I am a little confused about this and I wonder if someone could clarify it for me. I have a CssResource interface called Css in my application. Is it OK

MouseMoveEvent doesn't fire

2010-03-22 Thread shahid
I have written a custom tree using GWT 2.0.4 and am trying to implement Drag and Drop for it. I have created an interface as follows : public interface IsDnDContainer extends MouseUpHandler, MouseMoveHandler { } and then I have the tree as follows : class MyTree extends Composite {

Re: MouseMoveEvent doesn't fire

2010-03-22 Thread shahid
Sorry the MyTree class does implement the interface as well : class MyTree extends Composite implements IsDnDContainer { .. } On Mar 22, 11:07 am, shahid shahidza...@gmail.com wrote: I have written a custom tree using GWT 2.0.4 and am trying to implement Drag and Drop for it. I have

Re: Sending HTTP GET request not working!

2010-03-22 Thread Jon Britton
Thanks for the advice. Could I still use the handy RequestBuilder class on the server side too or is it intended for use only on the client side? Jon On Mar 19, 4:47 pm, Thomas Broyer t.bro...@gmail.com wrote: On Mar 19, 4:52 pm, Jon Britton mankillseveryth...@googlemail.com wrote:

Re: Problem when using datastore with Tomcat

2010-03-22 Thread duclm
I need to deploy in my own server, i think i will use Tomcat, but when using Tomcat, i can't use datastore. Can you help me solve this problem On Mar 21, 12:40 am, Tristan tristan.slomin...@gmail.com wrote: I hate to make it sound like is it plugged in?, but don't you need to run the app on

Re: JsonpRequestBuilder and JsArray

2010-03-22 Thread Thomas Broyer
On Mar 22, 1:21 am, A. Kong anthony.hw.k...@gmail.com wrote: Hi, Thomas, Thanks very much for the quick reply! I am away from the workstation where the work is, so I cannot give your suggestion a go yet. But I have a question about the remedy you suggested, namely to access the 'title'

Organizing code

2010-03-22 Thread Victor Papp
Hi, I am coming from the .net/C# world, so i am quite new in GWT. Now building a 4 page website, where all pages has the same layout, except the content part. So, I suppose to use DeckPanel to navigate through pages and exchange content when user navigates through the site. I would like to put

Re: Problem when using datastore with Tomcat

2010-03-22 Thread Christian Goudreau
Hate to say that, but truth is that you can't. AppEngine only works with Google AppEngine. At least for now, there's no concrete or complete project that fake Google's infrastructure, at least, that I know of. You could use another Datastore tough, like MySQL with Hibernate + Gilead with your

Re: Upgrade from 1.5.3 to 2.0

2010-03-22 Thread San
Hi all, Can anyone help me on this. No replies since last three days to this post. Please suggest something about whether I should go with adding UIBinders with GWT1.5.3 code or not. Please someone clarify me on this. Thanks On Mar 19, 11:02 pm, San sandip.pati...@gmail.com wrote: Hi All,

Re: MouseMoveEvent doesn't fire

2010-03-22 Thread Olivier Monaco
Hi, I think it must be interesting to read http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiHandlers.html You need to register your own object to the event system. For example: public MyTree() { addDomHandler(MouseMoveEvent.getType() this); } Olivier On 22 mar, 12:16, shahid

Re: Problem when using datastore with Tomcat

2010-03-22 Thread Ashar Lohmar
lunch it in DevMode, look how the DevMode is started and clone it, check for the drawbacks still On Mar 22, 2:23 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: Hate to say that, but truth is that you can't. AppEngine only works with Google AppEngine. At least for now, there's no

Re: Problem when using datastore with Tomcat

2010-03-22 Thread duclm
So, it seem there is no way to deploy a GAE app to Tomcat server :( , may be i should try another way to store data On Mar 22, 8:06 pm, Ashar Lohmar asharloh...@gmail.com wrote: lunch it in DevMode, look how the DevMode is started and clone it, check for the drawbacks still On Mar 22, 2:23 

Re: Add RetentionPolicy.RUNTIME to @RemoteServiceRelativePath

2010-03-22 Thread Martin D'Aloia
There is an accepted issue for this... see: http://code.google.com/p/google-web-toolkit/issues/detail?id=3803 And add a star On Mon, Mar 22, 2010 at 7:44 AM, Ulon monz...@gmail.com wrote: The annotation @RemoteServiceRelativePath is used in the client side by GWT to find out the URL path of

Scrolling behaviour

2010-03-22 Thread Rolf Howarth
I'm adding a table to a split panel and if it doesn't fit a scroll bar automatically appears, even though I'm not explicitly using a ScrollPanel. So far, so good. If I press the UP or DOWN arrow keys the scroll position moves, however, which I don't want as it's interfering with my own

Re: Receiving Plugin failed to connect to hosted mode server 127.0.0.1:9997 Error

2010-03-22 Thread Jason Parekh
Hi Julian, What operating system are you running? You can try a couple things that have worked for others in the past: - Instead of 127.0.0.1:9997, try localhost:9997 - Add -bindAddress *0.0.0.0 to your program arguments in the launch configuration. This lives at Debug Debug configurations...

Re: FlexTable in a FocusPanel

2010-03-22 Thread rolf
I found a fix to the problem of FocusPanel messing up the scroll position of the table it contains when you click on the table. The answer was to create my own FocusPanel which uses FocusImpl.getFocusImplForWidget() rather than getFocusImplForPanel(). I can't pretend to understand why that works

Re: com.google.gwt.eclipse.core.gwtNature

2010-03-22 Thread Jason Parekh
Hi Jim, Sorry, the Google Plugin for Eclipse's source code is not available. You might be able to achieve what you want by looking at a sample GWT project's .project file, which will contain the GWT project nature ID. You should be able to add this to your project description. I'm curious,

Re: com.google.gwt.eclipse.core.gwtNature

2010-03-22 Thread Jason Parekh
Oh, I missed the subject of the thread. It looks like you've already found the ID of the GWT nature. Try adding that to your array of Strings which is being passed to setNatureIds. jason On Mon, Mar 22, 2010 at 10:15 AM, Jason Parekh jasonpar...@gmail.comwrote: Hi Jim, Sorry, the Google

Re: Problems with Eclipse Plugin

2010-03-22 Thread Jason Parekh
Hey Moe, You can fix this by re-adding the SDKs in the preferences. Go to Eclipse Preferences. Choose Google Web Toolkit on the left. Remove the existing SDK, and re-add it at the new path. I believe the path will be something like:

Re: [Newbie] java.net.SocketException: Invalid argument when running devmode

2010-03-22 Thread Jason Parekh
Hi Chihab, It looks like there are general issues with your configuration when listening on sockets. Given you're on Linux, I can't imagine it to be permission issues. Have you tried rebooting? Do you know if any of your other apps successfully listen on a port? Could you try a quick Java

Re: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1

2010-03-22 Thread Rajeev Dayal
HI Randell, Good point - do you mind filing an issue for this? Rajeev On Fri, Mar 19, 2010 at 11:14 AM, Randell josephrandell.benavi...@gmail.com wrote: On Fri, Mar 19, 2010 at 10:53 PM, Rajeev Dayal rda...@google.com wrote: See

Re: Grid uibinder

2010-03-22 Thread gadaleta.marco
but if i want to use grid inside code, how can bind it with uibinder method? On 20 Mar, 18:33, Tristan tristan.slomin...@gmail.com wrote: someone said this here before, but it might be easier to use g:HTMLPanel   table    tr etc... /g:HTMLPanel On Mar 20, 11:45 am, gadaleta.marco

Re: Several CSS resource questions

2010-03-22 Thread nogridbag
Thank you. It looks like it's actually not a bug - it's a feature :) It's a little annoying when working with legacy css file. On Mar 19, 5:15 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: Just noticed that the issue has a workaround: filter: literal(alpha(opacity=50)); On Mar 19,

JavaScriptException during JSNI call: Invoking an instance method on a null instance

2010-03-22 Thread ChrisK
I'm trying to perform the following JSNI callback into Java in a GWT 2.0.3 project: MyController (below) is initialised during module load. The app loads fine but when I try to call js_callback from some plain JavaScript code I get the below stacktrace. Any ideas? private final Player player;

Re: GWT writing files on server

2010-03-22 Thread Martin
The answer is written here: The http://code.google.com/intl/de-DE/appengine/kb/java.html#writefile Too bad :( On 9 Mrz., 17:40, Martin maddien...@googlemail.com wrote: I'm currently testing a GWT app in development mode. To enable search in the app, I'm using the Lucene 3.0 library. To update

Re: gwt-dispatch, gwt-presenter, mvp4g

2010-03-22 Thread Nathan Wells
I've just started designing something new for client-server communications: https://wave.google.com/wave/#restored:search:group%253Agoogle-web-toolkit-contributors%2540googlegroups.com,restored:wave:googlewave.com!w%252BdUS_imAjA I'd love to get feedback on the ideas I put down there. On Mar

Re: gwt-dispatch, gwt-presenter, mvp4g

2010-03-22 Thread Simon
I'd love to read what you have done. Unfortunately, I do not have Google Wave yet as it is not released and I cannot follow your link... I guess I'm not the only person in this case ! :) Do you have a link publicly available ? On 22 mar, 16:10, Nathan Wells nwwe...@gmail.com wrote: I've just

Re: JavaScriptException during JSNI call: Invoking an instance method on a null instance

2010-03-22 Thread ChrisK
My above code got a little mangled along the way, the $entry part has (this, followed by a full stop, followed by @com.mine.PlayerImpl::callback()); -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Apache HttpClient throwing NoClassDefFoundError exceptions

2010-03-22 Thread Jon Britton
Hi, I'm trying to build a server for forwarding HTTP Get requests from my GWT client to remote servers. I'm trying to use the Apache HttpClient stuff which is in gwt-dev.jar. However, when I call my servlet I get com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public

TimePicker setDate() + 1

2010-03-22 Thread mrpantsuit
Using gwt-incubator-20100204-r1747.jar I'm calling com.google.gwt.gen2.picker.client.TimePicker.setDate(Date), which is supposed to set the date without affecting the time. I'm finding that the resulting date is one day later than that which is set. I looked at the code, and noticed a + 1, the

Textbox React on Paste (Event)

2010-03-22 Thread StrongSteve
Hi Everybody, Is it possible to react on the user pasting text into a GWT textbox? (Both using STRG+V and using the right-mouse context menu Paste). ValueChange, MouseUp, ... are not fired, as I had expected them to do. :( Any ideas? Thanks in Advance for your help! Stefan -- You received

Re: Google Plugin for Eclipse 1.3 ignores WTP web directory

2010-03-22 Thread Keith Platfoot
Hi José, Thanks for the report. We'll be updating the FAQs to include a note about moving the GWT SDK above the Tomcat library to prevent the error you saw. Keith On Sat, Mar 20, 2010 at 6:30 AM, Pepe jose.je...@gmail.com wrote: I just tried the new 1.3.1 version and it works fine now. I

Re: [Newbie] java.net.SocketException: Invalid argument when running devmode

2010-03-22 Thread Jason Parekh
Hi Chihab, Rajeev brought up a good point. It could potentially be an IPV6 issue with Sun's sockets. You could try seting the networking property: java.net.preferIPv4Stack=true as documented here: http://java.sun.com/j2se/1.4.2/docs/guide/net/ipv6_guide/index.html jason On Mon, Mar 22, 2010 at

Re: Textbox React on Paste (Event)

2010-03-22 Thread Jim Douglas
It depends on what you're trying to do, Stefan. You'll need to subclass TextBox, then do this: (1) Add this to the constructor: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/UIObject.html#sinkEvents(int)

Re: gwt-dispatch, gwt-presenter, mvp4g

2010-03-22 Thread Nathan Wells
Here's a copy of the current version on my blog: http://nathanwells.net/blog/?p=235 On Mar 22, 9:17 am, Simon simon.bar...@gmail.com wrote: I'd love to read what you have done. Unfortunately, I do not have Google Wave yet as it is not released and I cannot follow your link... I guess I'm not

Re: java.net.SocketException: Invalid argument when running devmode

2010-03-22 Thread Chihab Otmani
I've actually set up this property on my eclipse.ini because otherwise I can't download GWT plugin on Eclipse. I can successfully start Jetty (installed from debian repository) and also other java services so it doesn't seem to be a socket listening issue. Maybe, the issue is do to the way

Re: JavaScriptException during JSNI call: Invoking an instance method on a null instance

2010-03-22 Thread Thomas Broyer
On Mar 22, 4:23 pm, ChrisK cknow...@gmail.com wrote: My above code got a little mangled along the way, the $entry part has (this, followed by a full stop, followed by @com.mine.PlayerImpl::callback()); And that's the problem: this is a special keyword and will evaluate to the this context of

Re: Detect when IFrame URL changes?

2010-03-22 Thread Skyfort
Well, I discovered that GWT handles the whole invisible-IFrame thing for posts, itself. So that's good news :-) But I still don't see the onSubmitComplete handler ever getting accessed. :( On Mar 22, 11:33 am, Skyfort skyf...@gmail.com wrote: Here's a tricky thing (for me, at least ;)...I need

Re: Organizing code

2010-03-22 Thread Skyfort
That sounds like the right way to go. You can make each of your pages a new class that extends Panel...so you might have an AboutUsPanel, NewsPanel, ProductsPanel, etc... I would probably put those panels under a new package like com.example.client.ui and then in onModuleLoad() in your entry

wrap an input type=submit to a button

2010-03-22 Thread zizou84
Hi I have a button in my html code: input name=commit value=Sign In type=submit id=loginButton i woul like to wrap it to a button: Button loginButton=Button.wrap(DOM.getElementById(loginButton)); but i am getting an exception: java.lang.AssertionError: null at

Example: (simple) Label with image?

2010-03-22 Thread Ralf B
Is there a very very simple way to create a label with an image without using CSS, or is the only way to use HTML objects? I was hoping for a constructor like this: Image myImage = new Image(url); Label myLabel = new Label(myimage, This is the text); Best Regards :) -- You received this

Re: JavaScriptException during JSNI call: Invoking an instance method on a null instance

2010-03-22 Thread ChrisK
Thanks for the reply! I'm not sure I understand why this evaluates to the plain JS context. I was going off the documentation here which seems to suggest you can use this in this way: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#methods-fields Or perhaps you just

Re: Apache HttpClient throwing NoClassDefFoundError exceptions

2010-03-22 Thread Sripathi Krishnan
Unselect Google App Engine from the eclipse preferences to get it working. You cannot use HttpClient with Google App Engine. --Sri http://blog.530geeks.com On 22 March 2010 21:05, Jon Britton mankillseveryth...@googlemail.comwrote: Hi, I'm trying to build a server for forwarding HTTP Get

Re: GWT writing files on server

2010-03-22 Thread Sripathi Krishnan
Writing to files is not supported in *Google App Engine*, but that is different from *Google Web Toolkit*. If you don't want the hosting facilities provided by GAE, you can write to file system and therefore use Lucene. Disabling GAE is an option in the eclipse plugin. --Sri

Re: HorizontalSplitPanel children

2010-03-22 Thread TM
Hmm, is it just that the HorizontalSplitPanel just doesn't support resizing its children automatically? I saw some vague discussion somewhere about building a replacement out of a BorderLayout, but I'm sure I must just be missing something obvious? On Mar 21, 3:49 pm, TM tsm@googlemail.com

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-22 Thread Keith Platfoot
Hi Sergio, Just wanted to mention that we've just released the 1.3.1 version of the Google Plugin for Eclipse, which has much better interoperability with GWT+Maven projects. We even have a new FAQ dedicated to this scenario: http://code.google.com/eclipse/docs/faq.html#gwt_with_maven As of

Converting static html hrefs to use GWT history management

2010-03-22 Thread aarnott
I currently have a bunch of static HTML pages and I need to convert all of the links on the pages to use GWT's history management. What I am currently doing is reading in all of the HTML and parsing the a tags. I convert their href from path/page.html to #path/ page.html (handling cases like

Re: HorizontalSplitPanel children

2010-03-22 Thread Ian Bambury
You might be better off in a gwt-ext forum Ian http://examples.roughian.com On 22 March 2010 19:39, TM tsm@googlemail.com wrote: BorderLayout -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

HTMLPanel tag

2010-03-22 Thread Tim K
I was surprised by the behavior by a UiBinder implementation from GWT.create(). It may be that this is not a bug report, but rather a feature request. I am trying to use the tag parameter of HTMLPanel. It seems to work for many tags, but not TD. This test will demonstrate. I set a breakpoint on

Re: Class Observer/Observable not emulated

2010-03-22 Thread jcb
Thank you, interesting link ! On Mar 22, 7:40 am, Nathan Wells nwwe...@gmail.com wrote: Can't speak for the GWT team here, but this could be a reason: http://forums.sun.com/thread.jspa?threadID=5336733 On Mar 20, 10:43 am, jcb jcbpa...@gmail.com wrote: I am very satisfied with gwt,

Re: HorizontalSplitPanel children

2010-03-22 Thread TM
I'm trying to keep it simple and avoid any extensions like gwt-ext unless I have to. I thought this seemed like a fairly straightforward use of HorizontalSplitPanel? BTW Ian, I have found your site very useful lately, thanks! On Mar 22, 8:45 pm, Ian Bambury ianbamb...@gmail.com wrote: You

Determining the user's OS

2010-03-22 Thread Eric
Is there any reasonable way to determine the user's OS (independent of the browser's user agent setting)? I just realized that every version of WIndows shows dialog boxes with the OK button to the left of the Cancel button (in ltr locales, of course). The Macintosh OS use the opposite convention:

Re: HorizontalSplitPanel children

2010-03-22 Thread Ian Bambury
Sorry, I didn't read that properly. If you want to post some code, that would be good. This works OK, though... import com.google.gwt.core.client.EntryPoint; import com.google.gwt.dom.client.Style.BorderStyle; import com.google.gwt.dom.client.Style.Unit; import

Re: JavaScriptException during JSNI call: Invoking an instance method on a null instance

2010-03-22 Thread Olivier Monaco
Hi ChrisK, You need to understand how JavaScript works. Like in many languages, the this keyword means the current object. The JavaScript language allows you to manipulate code as a function. This function can be affected to any variable or object member, like: $wnd.js_callback = function() {

Re: JavaScriptException during JSNI call: Invoking an instance method on a null instance

2010-03-22 Thread Thomas Broyer
On 22 mar, 23:42, Olivier Monaco olivier.mon...@free.fr wrote: The call method of a JavaScript function allows you to call it with a differente this. Then, using $wnd.js_callback.call(otherObject), the this variable reference otherObject. So the glue is: var that = this; $wnd.js_callback

Re: Determining the user's OS

2010-03-22 Thread Thomas Broyer
On 22 mar, 22:42, Eric erjab...@gmail.com wrote: Is there any reasonable way to determine the user's OS (independent of the browser's user agent setting)? I just realized that every version of WIndows shows dialog boxes with the OK button to the left of the Cancel button (in ltr locales, of

Re: wrap an input type=submit to a button

2010-03-22 Thread Thomas Broyer
On 22 mar, 19:58, zizou84 arous.ri...@gmail.com wrote: Hi I have a button in my html code: input name=commit value=Sign In type=submit id=loginButton i woul like to wrap it to a button: Button loginButton=Button.wrap(DOM.getElementById(loginButton)); but i am getting an exception:

Re: Tree and Composites

2010-03-22 Thread Talmge
Bump - anyone have any ideas? On Mar 21, 10:02 pm, Talmge talmage.n...@gmail.com wrote: When I add a simple Widget to a tree (Such as a checkbox or call addItem with a string) I can select the item -- that is, if I click on it the blue background appears around the text showing me that I

Re: Determining the user's OS

2010-03-22 Thread Eric
On Mar 22, 7:13 pm, Thomas Broyer t.bro...@gmail.com wrote: Have you tried: Window.Navigator? its getPlatform() method might prove useful, otherwise getUserAgent()... You'd either use it in your code an generate new permutations with a define-property and its associated

Re: DockLayoutPanel blank

2010-03-22 Thread Pavel Byles
Don't use RootPanel. DockLayoutPanel only uses RootLayoutPanel. Also, make sure you're using Standards mode (strict) in you're html. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

[gwt-contrib] Proposal for including easyXDM as a new cross-domain Transport/RPC

2010-03-22 Thread Sean Kinsey
I've seen many questions on the net on how to enable cross-domain requests with GWT, and most of the solutions I've seen mentioned has been less efficient than what I know the easyXDM library can offer. For those who has never heard of it, easyXDM is a library that conveniently abstracts away all

Re: [gwt-contrib] Re: IE9 preview support ?

2010-03-22 Thread Joel Webber
I just installed the preview the other day as well, and most things seem to be working ok (the UA script should detect it as IE8 for the time being). As others point out on this thread, the DOMContentLoaded thing is expected (because they added addEventListener()) but likely harmless. I haven't

Re: [gwt-contrib] Proposal for including easyXDM as a new cross-domain Transport/RPC

2010-03-22 Thread Joel Webber
[+matt] I can't speak to any experience with either of these libraries, but this also sounds like the work Matt's been doing here: http://code.google.com/p/gwt-rpc-plus/ http://code.google.com/p/gwt-rpc-plus/Can anyone speak to the relationship between these libraries? I'd love to see a

[gwt-contrib] Re: Add 'view data' to cell, column, and updater classes. (issue248801)

2010-03-22 Thread jgw
On 2010/03/19 20:26:43, Dan Rice wrote: LGTM. http://gwt-code-reviews.appspot.com/248801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email

[gwt-contrib] [google-web-toolkit] r7755 committed - Add 'view data' to cell, column, and updater classes....

2010-03-22 Thread codesite-noreply
Revision: 7755 Author: r...@google.com Date: Mon Mar 22 05:11:01 2010 Log: Add 'view data' to cell, column, and updater classes. Make the Validation example work with view data. Review at http://gwt-code-reviews.appspot.com/248801 http://code.google.com/p/google-web-toolkit/source/detail?r=7755

[gwt-contrib] [google-web-toolkit] r7756 committed - Checkstyle fixes...

2010-03-22 Thread codesite-noreply
Revision: 7756 Author: r...@google.com Date: Mon Mar 22 05:12:31 2010 Log: Checkstyle fixes Review at http://gwt-code-reviews.appspot.com/249801 Review by: rj...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=7756 Modified:

[gwt-contrib] Re: Array implementation for Lightweight Collections. Pure Java implementation only. (issue232801)

2010-03-22 Thread rchandia
http://gwt-code-reviews.appspot.com/232801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.

[gwt-contrib] Re: Array implementation for Lightweight Collections. Pure Java implementation only. (issue232801)

2010-03-22 Thread fabbott
Comments as noted; also, what semantics do we want for equality? (Identity is certainly cheapest, and probably good, just wanted to make an explicit choice there). I think you're buggy if your first element is null, and I'm not entirely sure the singleElem special case is worth the time-cost of

[gwt-contrib] Support runAsync with the cross-site linker. (issue243802)

2010-03-22 Thread spoon
Reviewers: cromwellian, Description: Support runAsync with the cross-site linker. Review at http://gwt-code-reviews.appspot.com/213801 Please review this at http://gwt-code-reviews.appspot.com/243802/show Affected files: M

[gwt-contrib] Re: Support runAsync with the cross-site linker. (issue213801)

2010-03-22 Thread spoon
http://gwt-code-reviews.appspot.com/213801/diff/1/8 File dev/core/src/com/google/gwt/dev/jjs/impl/HandleCrossIslandReferences.java (right): http://gwt-code-reviews.appspot.com/213801/diff/1/8#newcode79 dev/core/src/com/google/gwt/dev/jjs/impl/HandleCrossIslandReferences.java:79: public void

[gwt-contrib] Re: Support runAsync with the cross-site linker. (issue213801)

2010-03-22 Thread spoon
Updated patch for review at http://gwt-code-reviews.appspot.com/243802 . http://gwt-code-reviews.appspot.com/213801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscribegooglegroups.com

[gwt-contrib] Re: Support runAsync with the cross-site linker. (issue243802)

2010-03-22 Thread spoon
This is an updated patch in response to the review comments at: http://gwt-code-reviews.appspot.com/213801 http://gwt-code-reviews.appspot.com/243802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to

[gwt-contrib] Re: Array implementation for Lightweight Collections. Pure Java implementation only. (issue232801)

2010-03-22 Thread rjrjr
Can someone explain why isFrozen is a good idea? It sounds really, really bad to me. http://gwt-code-reviews.appspot.com/232801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this group, send email to

Re: [gwt-contrib] Proposal for including easyXDM as a new cross-domain Transport/RPC

2010-03-22 Thread Matt Mastracci
Quickly browsing easyXDM and comparing to gwt-rpc-plus, it looks like the designs of both are very similar. easyXDM uses the term 'socket' where gwt-rpc-plus uses the term 'transport'. Both of them allow you to plug in the appropriate transport behind a socket-like interface. easyXDM adds some

[gwt-contrib] [google-web-toolkit] r7757 committed - Give a better error message when RunAsyncCode.runAsyncCode is passed s...

2010-03-22 Thread codesite-noreply
Revision: 7757 Author: sp...@google.com Date: Mon Mar 22 07:20:12 2010 Log: Give a better error message when RunAsyncCode.runAsyncCode is passed something other than a class literal. Review at http://gwt-code-reviews.appspot.com/220802 Review by: sco...@google.com

[gwt-contrib] [google-web-toolkit] r7758 committed - Created wiki page through web user interface.

2010-03-22 Thread codesite-noreply
Revision: 7758 Author: sp...@google.com Date: Mon Mar 22 10:44:42 2010 Log: Created wiki page through web user interface. http://code.google.com/p/google-web-toolkit/source/detail?r=7758 Added: /wiki/PrecompressLinker.wiki === --- /dev/null +++

[gwt-contrib] Adds a Precompress linker that can be used to compress public artifacts (issue254801)

2010-03-22 Thread spoon
Reviewers: jat, Description: Adds a Precompress linker that can be used to compress public artifacts as part of a GWT build. The design doc is here: http://code.google.com/p/google-web-toolkit/wiki/PrecompressLinker Please review this at http://gwt-code-reviews.appspot.com/254801/show

[gwt-contrib] [google-web-toolkit] r7759 committed - No more massive copy paste between our request...

2010-03-22 Thread codesite-noreply
Revision: 7759 Author: rj...@google.com Date: Mon Mar 22 07:44:56 2010 Log: No more massive copy paste between our request objects. Introduces the abstract classes for RequestFactory and its request object. Also some clean up to make it more clear what classes will come from GWT code generators

[gwt-contrib] Re: Adds a Precompress linker that can be used to compress public artifacts (issue254801)

2010-03-22 Thread spoon
John, can you review the bulk of this patch, which adds a Precompress linker? Dan, can you review the parts about the black list support? I factored out the black list support from RPC to be reusable. The classes involved are: Blacklist, BlacklistTypeFilter, BlacklistTypeFilterTest, RPCSuite.

[gwt-contrib] Re: Array implementation for Lightweight Collections. Pure Java implementation only. (issue232801)

2010-03-22 Thread Rodrigo Chandia
isFrozen allows assertions on the status of a mutable collection. During normal use (assertions disabled), there should be no need to call isFrozen. Moreover, using isFrozen outside of an assertion, or while assertions are disabled, is not guaranteed to work at all. The intention is to avoid

[gwt-contrib] Re: Array implementation for Lightweight Collections. Pure Java implementation only. (issue232801)

2010-03-22 Thread Ray Ryan
Can you outline a use case? I don't get it. My argument isn't with isFrozen, it's with the freezing feature per se. I can't see a reasonable use for it. On Mon, Mar 22, 2010 at 11:03 AM, Rodrigo Chandia rchan...@google.comwrote: isFrozen allows assertions on the status of a mutable collection.

  1   2   >