Re: Class.newInstance and Class.cast

2009-06-24 Thread Kwhit
+1 It leaves me with a long and ugly if-then-else as a work around --~--~-~--~~~---~--~~ 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

Re: Class.newInstance and Class.cast

2009-06-24 Thread Kwhit
I'm not sure that it does any good or not but if you need the method too you should star the issue by clicking on the link in Andre's post above and clicking on the star. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Send objects from/to Java usting GWT

2009-06-24 Thread Max
OOo yeahh.. that helps! This is weird that I need to add those libraries manually to war/WEB- INF/lib folder. I though they will be added automatically once I add them via Eclipse UI (Right click on the project then Properties then Libraries). Isn't it right to add libs via Eclipse UI? I'm sorry

How to load a url in a panel?

2009-06-24 Thread Sow
Hi, I have two hmls in my module. How do I load one html content into a panel of another html? panel.load(First.html) doesnt work for me. Please help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

dom manipulation works in IE but not in FF

2009-06-24 Thread bhomass
I am doing an operation in which I remove a form but keep all its children. Element parent = (Element) currentForm.getParentElement(); NodeListNode formChildren = currentForm.getChildNodes(); // for (int i = 0; i formChildren.getLength(); i++) {

Re: GWT + OpenID - experiences?

2009-06-24 Thread gscholt
Then it seems possible, though perhaps hairy to make it work with a fat client app. Since login verfication is still done serverside, the fat client just launches some form of browser (say, embed a WebView in android) to let the user log in, and verifies successful login at the server using

Re: Dynamic Root Panels

2009-06-24 Thread gscholt
On Jun 24, 12:26 am, Daniel Pascariu daniel.pasca...@gmail.com wrote: Dear All, I have the following problem: I have a Java servlet which creates a dynamic table, each row containing a button that I want to use for the deletion of the row. I want to delete the rows in the table without

Re: How to get tab Widget in a TabPanel?

2009-06-24 Thread Bonor
hmmmno you didn't ;-) On 24 jun, 01:31, Booth Martin bo...@hiapes.com wrote: Which is what I said in the first place and got slammed for it. Rey wrote: Oke, thanks! I've used the solution with an ArrayList. On 21 jun, 21:20, Enea eneager...@gmail.com wrote: I think that there

Re: HELP

2009-06-24 Thread olivier nouguier
(poor subject) The module path requested, /isp/CEL1234/, is not in the same web application as this servlet, /cel-secure. Default serialization policy doesn't support your layout ( != module). You should provide your own serialization policy if you want/need this layout. On Wed, Jun 24, 2009

Re: Job Posting

2009-06-24 Thread Paul Hargreaves
That is certain another good idea but it may take some time to design, develop and get off the ground. In these fast moving times it can be advantage to have something instantly available. I agree it should not be just be a blog. They do have their place and as you pointed out it can be about

Re: onMouseMove and preventDefault doesn't work in Chrome

2009-06-24 Thread Thomas Broyer
On 24 juin, 05:56, PH phlcas...@gmail.com wrote: Hi,  I'm trying to use this code bellow to prevent text selection (I want to use it together with a drag and drop code). It works very well in IE, FF and in Hosted Browser. But when I try it on Chrome I still can select the text...  

Re: GWT best Practices - JS Library Wrappers Overlay Types

2009-06-24 Thread Thomas Broyer
On 24 juin, 05:18, Bobby bobbysoa...@gmail.com wrote: Nice. Is the JsCollections module your own or are you referencing it externally from somewhere? I'd like to add it via svn:externals. It is my own, under Apache License 2.0 (same as GWT). You'll find a gwt-jscollections.jar in the ZIP

generics, events, dependency injection

2009-06-24 Thread rocha.po...@gmail.com
Hi all. I've been trying to get a nice setup of the best practices presented at google i/o. I have something working, but a few questions. The first one is how fine-grained do you go for the events you define? Say i have events for updates in entities A and B in my model: UpdatedAEvent,

Re: Class.newInstance and Class.cast

2009-06-24 Thread ClusterCougar
The reason this is a low priority for the GWT team is because reflection goes against the spirit of GWT. It introduces a lot of problems that are difficult to deal with in a fashion that would result in speedy client-side code. My suggestion would be to work around it, but if you would like help,

Re: @DontCompileToJavaScript method annotation

2009-06-24 Thread ClusterCougar
+1 to the @JavaOnly annotation On Jun 22, 4:57 pm, Tom Sorgie tom.sor...@gmail.com wrote: I've been thinking the same thing, but taking it from a reverse perspective.  In fact i just posted a question about being able to use the @GWTCompatible annotation to get reuse out of server code.  I

Re: Dynamic Root Panels

2009-06-24 Thread Daniel Pascariu
Hi Gert, I tried with the wrap method and it works great :) Thanks a lot ! Daniel On Jun 24, 9:10 am, gscholt gsch...@gmail.com wrote: On Jun 24, 12:26 am, Daniel Pascariu daniel.pasca...@gmail.com wrote: Dear All, I have the following problem: I have a Java servlet which creates

Re: Newbie Question - Integrate GWT on Existing page

2009-06-24 Thread Sean
In the default application that is created using the webAppCreator.cmd or the Eclipse plugin you will see they add specific elements to specefic parts of the page. In the HTML under the body you will see: table align=center tr td colspan=2 style=font-weight:bold;Please enter your

Re: generics, events, dependency injection

2009-06-24 Thread Thomas Broyer
On 24 juin, 12:01, rocha.po...@gmail.com rocha.po...@gmail.com wrote: Hi all. I've been trying to get a nice setup of the best practices presented at google i/o. I have something working, but a few questions. The first one is how fine-grained do you go for the events you define? Say i

Browser window size

2009-06-24 Thread Piotr Kirklewski
Hi there Does anyone knows how to size the Browser Window at the module load ? I was looking at Window. methods but I didn;t found anything like it. Window.setTitle(My Window); work perfectly so I don;t get why there isno setSize method available ? Best regards Peter

Re: Browser window size

2009-06-24 Thread Ian Bambury
It's so that when I have arranged my windows as I want them, I don't get some web site buggering it all up. Your web site doesn't own my browser. I do. If I were possible to have 10 tabs and every one of them changed the size of the browser window, then there would be an option in the browser to

Re: GWT client files in WEB-INF/classes

2009-06-24 Thread Rajeev Dayal
Hi Clanusse, You are right - the only class files that are needed are those that are used by RPC, which are: -your sync interface -any types that can be passed across the wire over RPC -your server-side classes (including the implementation of your sync interface) Unfortunately, the plugin's

Re: Browser window size

2009-06-24 Thread Alex Rudnick
It turns out that's exactly the world we live in, Ian! On Firefox 3, you can keep JavaScript from resizing your window with: Preferences Content Enable JavaScript Advanced Allow scripts to Move or resize existing windows. But if you want your site to resize the window from a GWT

Re: Send objects from/to Java usting GWT

2009-06-24 Thread Alejandro D. Garin
On Wed, Jun 24, 2009 at 3:15 AM, Max maks...@gmail.com wrote: OOo yeahh.. that helps! This is weird that I need to add those libraries manually to war/WEB- INF/lib folder. I though they will be added automatically once I add them via Eclipse UI (Right click on the project then Properties

Re: hosted mode compile error from eclipse

2009-06-24 Thread Rajeev Dayal
Hi Chris, Right now, we use a heuristic to exclude test directories from your project's classpath on execution. If the folder containing your test source is named test, then we will not add it to your project's runtime classpath. We use this heuristic because the plugin currently has no

Re: PagingScrollTable generates PageChangeEvent between builds

2009-06-24 Thread hezjing
With the latest trunk build, we have to call pagingScrollTable.gotoFirstPage() to load the data. On Tue, Jun 23, 2009 at 1:35 AM, hezjing hezj...@gmail.com wrote: Hi The PagingScrollTable seems to behave differently between gwt-incubator-march-02-2009.jar and the one I built from the trunk

Re: Browser window size

2009-06-24 Thread Ian Bambury
I thought that was only if you opened it yourself. Oh well. Ian http://examples.roughian.com 2009/6/24 Alex Rudnick a...@google.com It turns out that's exactly the world we live in, Ian! On Firefox 3, you can keep JavaScript from resizing your window with: Preferences Content Enable

Re: How to get tab Widget in a TabPanel?

2009-06-24 Thread bcottam
well, Bonor, I'm not sure if you were being totally sarcastic in your reply to Booth, but it did seem kinda rude man. If you're asking a group of people for help it's usually a good idea to be nice :) I hope you get your TabPanel issue worked out, and if you don't mind posting your solution

Re: GWT client files in WEB-INF/classes

2009-06-24 Thread Thomas Broyer
On 24 juin, 17:00, Rajeev Dayal rda...@google.com wrote: Hi Clanusse, You are right - the only class files that are needed are those that are used by RPC, which are: -your sync interface -any types that can be passed across the wire over RPC -your server-side classes (including the

Re: Hide PopupPanel....

2009-06-24 Thread Bonor
Well, I tell myself...first you read the manual... than you know you need to add addMouseOutHandler() On 24 jun, 00:57, Rey rey...@gmail.com wrote: I want to controle the hiding of my PopupPanel PopupPanel implements MouseOutHandler.. . .         @Override         public void

Is this a possible in GWT?

2009-06-24 Thread Portal Developer
Apologies for posting this again, I posted this already but I don't see it appearing on the list, might be due to it being moderated. Hi, Is something like this possible in GWT? I have an existing portal written by myself in php which contains a huge amount of functionality that has been

Is this a possibility in GWT?

2009-06-24 Thread Portal Developer
Hi, Is something like this possible in GWT? I have an existing portal written by myself in php which contains a huge amount of functionality that has been developed over the last few years. I would like to continue using this php functionality purely from the business logic and database point

Call jsp from GWT in a Frame

2009-06-24 Thread guitarpro
Hi everyone. The SetUp is the following. I have an existing WebPage that has a complex Frame structure with several jsp's that contain jsp's again. The case that interests me most is the following: I have a GWT-application that shows one of the jsp's in a Frame-Widget called FrameSetStart.jsp.

Java VM crash when I try to run the application

2009-06-24 Thread A R
Hello Everyone, I am trying to run my first test GWT application but when I try to run it, JVM crashes. Has anyone else experienced this? Any pointers to fix it? Eclipse Version: 3.4.1 (Build id: M20080911-1700) I am using the latest GWT plugin for eclipse jdk1.6.0_10 OS: Linux

Re: Project structure and MVP

2009-06-24 Thread roundcrisis
There is a good example of MVC in the book GWT in practise ( the code is freely available for download) and its only in chapter 2 maybe you can get some ideas from there Hope it helps On Jun 22, 8:48 am, hojberg r.ha...@gmail.com wrote: thx, but i already looked at it and feel inspired, but no

Exception while dispatching incoming RPC call java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2009-06-24 Thread TimTimGo
Hi, I recently upgradet to GWT 1.6.4 and my application just worked fine for a while, so I kept developing. Then suddenly when I compiled my latest changes I got an IndexOutOfBounds exception on the serverside when loading the application in a browser. The stacktrace reveals that my own code is

Is this possible in GWT?

2009-06-24 Thread Portal Developer
Apologies for posting this again, but I don't think it was posted first time round. - Hi, Is something like this possible in GWT? I have an existing portal written by myself in php

GWT and Hibernate using different Eclipse projects

2009-06-24 Thread HenningS
Hi there, i'd like to seperate my GWT application in two Eclipse projects: Database (persistence) and Application application). To prevent compiler errors (cannot be resolved as a type...) in Eclipse the persistence project is added to the classpath of application. Also the project is added

Re: hosted mode compile error from eclipse

2009-06-24 Thread chris
Thanks for the reply.. I'm not sure what plugin you're referring to, though. With regards to removing the test folder from the runtime classpath, it seems that the only option is to remove the entire project from the classpath.. I see no option to remove an individual source folder. --Chris On

Re: Is this possible in GWT?

2009-06-24 Thread Ian Bambury
You can create all the visual elements in GWT, passing it only the data it needs to display, or you can create pretty much all of it in PHP and then wrap the elements (e.g. a button) that you want to add functionality to. It's entirely up to you. A problem you might face is that your current PHP

Re: Is this possible in GWT?

2009-06-24 Thread Ian Bambury
BTW, your message has come through three times (so far) Ian http://examples.roughian.com 2009/6/24 Ian Bambury ianbamb...@gmail.com You can create all the visual elements in GWT, passing it only the data it needs to display, or you can create pretty much all of it in PHP and then wrap the

Re: hosted mode compile error from eclipse

2009-06-24 Thread Rajeev Dayal
Hey Chris, I think I misunderstood you. I thought that you were using the Google Plugin for Eclipse, but I guess that is not the case. If you're interested in using it, you can find it here: http://code.google.com/eclipse Do you mind sending a screenshot of the classpath tab for the run

change HTML after the initWidget() call

2009-06-24 Thread daim
ok i got this code: table.setHTML(table class=\mytable\ cellspacing=\+cellSpacing +\ cellpadding=\0\ + tr class=\mytable_tr\ + td class=\mytable_left\ + vPanelLeft +

Re: hosted mode compile error from eclipse

2009-06-24 Thread chris gwt
I didn't know about the eclipse plugin, i'll have to check that out when I have some time. My classpath tab looks like: - Bootstrap Entries L JRE System Library - User Entries + MyProject (default classpath) L GWT \MyProject\source\ L Other \MyProject\source\ L classes

Re: Setting bg color of a panel?

2009-06-24 Thread Mark
Hi Jamie, Thanks for the info, yeah firebug has been a big help. I'm not getting one part of the layout now (the rest works). I just want a HorizontalPanel split in two, with the left portion a fixed-width: HorizontalPanel hp = new HP(); hp.setStyleName(hp); hp.add(new

Re: GWT client files in WEB-INF/classes

2009-06-24 Thread Rajeev Dayal
Hey Thomas, Responses inline: On Wed, Jun 24, 2009 at 12:19 PM, Thomas Broyer t.bro...@gmail.com wrote: On 24 juin, 17:00, Rajeev Dayal rda...@google.com wrote: Hi Clanusse, You are right - the only class files that are needed are those that are used by RPC, which are: -your

Re: Hide PopupPanel....

2009-06-24 Thread Eduardo Nunes
That is something I don't understand yet (I'm new to GWT). If the class has a method onMouseOut doesn't it means that this class already expect mouse out events? What is the reason to have this method? On Wed, Jun 24, 2009 at 1:20 PM, Bonor bono...@gmail.com wrote: Well, I tell myself...first

Re: GWT client files in WEB-INF/classes

2009-06-24 Thread Rajeev Dayal
Sorry, as I wrote that last response, I realized that I was incorrect. Reflection does not come into play when dealing with GWT RPC types, since GWT's RPC servlet must know about all possible types that could be sent across the wire. I believe that GWT's RPC generator will compute the exact set of

Re: Project structure and MVP

2009-06-24 Thread gscholt
MVC != MVP On Jun 24, 5:03 pm, roundcrisis roundcri...@gmail.com wrote: There is a good example of MVC in the book GWT in practise ( the code is freely available for download) and its only in chapter 2 maybe you can get some ideas from there Hope it helps On Jun 22, 8:48 am, hojberg

Re: hosted mode compile error from eclipse

2009-06-24 Thread Rajeev Dayal
In the diagram there, are GWT, Other, etc.. are those children of MyProject (default classpath)? If so, how did you get GWT \MyProject\source\ and Other \MyProject\source\ in the list? Do the entries actually say \MyProject\source? Did you add those to your Java build path? All of that aside, what

Newbie Question : Is Chunked decoding supported in GWT 1.6.4 ?

2009-06-24 Thread Amitabh
I'm a newbie at GWT and am using RequestBuilder to send and receive a request to a server which is sending me a response which has transfer encoding chunked and content encoding gzipped. In the response when I do response.getText().Length(), I get a zero and I can't see the text. Is that because

Re: Page navigations in GWT

2009-06-24 Thread satya
Yes, i used a similar approach. I have a main panel which is always present, and i add and remove composites on need. I too have a Search screen, on click on the search button, i remove the Search composite from the panel and add the search results composite. I have a seperate HashMap of

Re: Eclipse Classic 3.5

2009-06-24 Thread mihai007
Oh well just landed here because I already have eclipse 3.5 Didn't even knew about this, nor I was actually using Eclipse 3.5 already I think people should be more careful about those timelines... Great plugin by the way but now that it does not work it's a little useless On Jun 23, 4:58 pm,

Re: GWT Support for other browsers

2009-06-24 Thread Jeff Chimene
On 06/23/2009 06:50 PM, progen wrote: Hi Jeff, Thank you for the suggestion, This is exactly what i tried to do, i changed the UserAgent.gwt.xml to make GWT identify Ant Galio as other browsers one by one and found that it works well when i set as safari. But when i browse the pages in

passing variables

2009-06-24 Thread Piotr Kirklewski
Hi there I have a connection to a database on the server side, I'm sticking results into array, this is in my com.xxx.login.server.PSQLConnection class. I also have a class which is responisble for drawing the webpage etc com.xxx.login.client.Report. I have no idea at this point how to pass

Re: Hide PopupPanel....

2009-06-24 Thread Ian Bambury
If a class implements MouseOutHandler, it means it is *capable* of dealing with MouseOut events. You may be able to catch a ball, but no-one is going to throw a ball to you unless you tell them you want them to. addMouseOutHandler arranges that a certain widget will tell another widget (a

Re: hosted mode nothing displayed

2009-06-24 Thread satya
I believe you should have the application name. if Hello is the application name, then the URL should be: http://localhost:/Hello/Hello.html Did you check the entry point in Applicationgwt.xml file? On Jun 23, 10:56 am, alkatal jassin.mekna...@googlemail.com wrote: Hi i m using GWT 1.6.4

Re: Using GWT in Microsoft Vista Sidebar widgets

2009-06-24 Thread Sumit Chandel
Hi dzhang, I'm not very familiar with Vista sidebar gadgets, but from what I've read in the Vista Sidebar developer guide, it should be possible to use a GWT application as a Vista Sidebar Gadget. You can test this out for yourself by copying over GWT-generated sample application files (JS and

Re: Using GWT in Microsoft Vista Sidebar widgets

2009-06-24 Thread dzhang
Thanks for the response. I've never actually thought of trying one of the sample apps, only my own. I'll give that a go and see how it works out Thanks! On Jun 24, 3:08 pm, Sumit Chandel sumitchan...@google.com wrote: Hi dzhang, I'm not very familiar with Vista sidebar gadgets, but from what

Re: Setting bg color of a panel?

2009-06-24 Thread Ian Bambury
It might be better if you showed real code. There is no way the code you show will even compile. But anyway ...you might be better off with a flowpanel as the top level and float the VPs how you want them. Ian http://examples.roughian.com 2009/6/24 Mark mar...@gmail.com Hi Jamie,

Re: passing variables

2009-06-24 Thread satya
GWT uses RPC mechanism for communication between server and client. I would do something like this: myserver.getresultsservercall( new AsyncCallback() { public void onFailure ( Throwable caught )

Re: Will Google Plugin for Eclipse lineup with Eclipse Galileo Release ?

2009-06-24 Thread me3x
Great! Anyway galileo has been released today. Please specify: What does soon mean? Is it in few days or few weeks or tomorrow? On Jun 22, 2:45 pm, Miguel Méndez mmen...@google.com wrote: We are working on support for Galileo which we should release soon. On Mon, Jun 22, 2009 at 5:10 AM, Ivan

Re: Will Google Plugin for Eclipse lineup with Eclipse Galileo Release ?

2009-06-24 Thread me3x
Is there some beta or development update site? On Jun 22, 2:45 pm, Miguel Méndez mmen...@google.com wrote: We are working on support for Galileo which we should release soon. On Mon, Jun 22, 2009 at 5:10 AM, Ivan Ooi olibr...@gmail.com wrote: Will Google Plugin for Eclipse lineup with

Re: Aligning labels and fields

2009-06-24 Thread satya
I am using a FlexTable and i have more than 10 fields. I too use the setWidget to see each of my fields. but i dont set the style for each single field seperately. Since your input textboxes use the same style and all your labels uses teh same style: you can reduce the lines to set styles for

Re: Is this possible in GWT?

2009-06-24 Thread Portal Developer
Thanks for the reply. Apologies for the message coming through 3 times, mea culpa On Jun 24, 5:43 pm, Ian Bambury ianbamb...@gmail.com wrote: BTW, your message has come through three times (so far) Ian http://examples.roughian.com 2009/6/24 Ian Bambury ianbamb...@gmail.com You

Re: hosted mode compile error from eclipse

2009-06-24 Thread chris gwt
In the diagram there, are GWT, Other, etc.. are those children of MyProject (default classpath)? They are children of User Entries. MyProject is also a child of User Entries and is unexpanded (+) If so, how did you get GWT \MyProject\source\ and Other \MyProject\source\ in the list?

Re: Job Posting

2009-06-24 Thread Paul Hargreaves
Ahh, I am sorry. I probably spoke out turn given the silence, :o( I shall go back to the depths from where I came. All the best. Aim for the optimal - Original Message From: Paul Hargreaves cbassthef...@yahoo.co.uk To: Google-Web-Toolkit@googlegroups.com Sent: Wednesday, 24 June,

Re: onMouseMove and preventDefault doesn't work in Chrome

2009-06-24 Thread PH
Solved using onMouseDown instead of onMouseMove on Chrome. On Jun 24, 6:11 am, Thomas Broyer t.bro...@gmail.com wrote: On 24 juin, 05:56, PH phlcas...@gmail.com wrote: Hi,  I'm trying to use this code bellow to prevent text selection (I want to use it together with a drag and drop

Re: Is this possible in GWT?

2009-06-24 Thread Ian Bambury
No problem. Damn computers. Never could get the hang of them myself, either. :-) I use PHP with GWT quite a lot, so let me know it there is anything else or you need more details. Ian http://examples.roughian.com 2009/6/24 Portal Developer portal.devel...@gmail.com Thanks for the reply.

Re: Job Posting

2009-06-24 Thread Hugo Garcia
Ok This the simplest thing to do: I created a google group for employment. http://groups.google.com/group/Google-Web-Toolkit-Employment enjoy -H On Wed, Jun 24, 2009 at 5:47 PM, Paul Hargreavescbassthef...@yahoo.co.uk wrote: Ahh, I am sorry. I probably spoke out turn given the silence,

[Announce] Google-Web-Toolkit-Employment Group

2009-06-24 Thread Hugo Garcia
Hi I created a Google Group just for employment for everyone with knowledge and expertise with GWT. It is free for all to use. Hope it helps. http://groups.google.com/group/Google-Web-Toolkit-Employment cheers -H --~--~-~--~~~---~--~~ You received this message

Re: Problems with jUnit setup for StockWatcher tutorial

2009-06-24 Thread mabogie
I have the same problem, and I can't find an answer either. Something's wrong with either eclipse or the google docs for starting a test. On 9 jun, 00:04, Marty Fried public.for...@gmail.com wrote: Well, I went through the tutorial with no problems, and I'm ready to write that killer app the

Re: Problems with jUnit setup for StockWatcher tutorial

2009-06-24 Thread mabogie
Ok i figured it out. - make sure your 'test' directory is a source directory, and if not: add it to the source. - the stockwatcher example you can download on the junit test page, misses a 'gwt' in its package name. change this one way or the other. it should work now. On 25 jun, 03:15,

java.util.StringTokenizer; org.apache.commons.beanutils.BeanComparator; org.apache.commons.collections.comparators.ComparatorChain; java.io.FileInputStream;java.io.InputStreamReader; java.io.Reader;

2009-06-24 Thread Simon
Dear all, Is it all the listed libraries not supported by GWT? I got the error that 'did you forget to inherit a required module'? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

[gwt-contrib] [google-web-toolkit commit] r5621 - Unbreak the build by fixing doubled content of the file from applying a patch

2009-06-24 Thread codesite-noreply
Author: j...@google.com Date: Tue Jun 23 22:55:33 2009 New Revision: 5621 Modified: trunk/user/test/com/google/gwt/i18n/client/impl/CurrencyTest.java Log: Unbreak the build by fixing doubled content of the file from applying a patch having had the file lying around already. Patch by: jat

[gwt-contrib] [google-web-toolkit commit] r5620 - Add support for deprecated currencies. They can be found by lookup,

2009-06-24 Thread codesite-noreply
Author: j...@google.com Date: Tue Jun 23 20:13:51 2009 New Revision: 5620 Added: trunk/user/test/com/google/gwt/i18n/client/impl/CurrencyTest.java Modified: trunk/user/src/com/google/gwt/i18n/client/impl/CurrencyData.java

[gwt-contrib] Re: Yet more Data Binding and Validation Thoughts

2009-06-24 Thread Johan Rydberg
On Jun 23, 2009, at 1:18 AM, Andrew Pietsch wrote: Hi there, Like many others I'm looking forward to see what you guys come up with in the databinding area. But I miss some of the PresentationModel/ ValueModel style frameworks I've come to like in Swing and thought I'd put in my 2c

[gwt-contrib] Running Ant Tests

2009-06-24 Thread Ben Chambers
Hello, I'm trying to run ant test and keep getting a variety of errors. Specifically, many of the tests fail due to Out of Memory errors, and I'm not sure how to get them to succeed. I have followed all the documentation for building GWT, and that seems to have worked, but I am unable to get

[gwt-contrib] Assertion enabled by default when running GWT web mode tests and add the disabled flag -da

2009-06-24 Thread flin
Reviewers: , Description: Add features: 1) Assertion should be enabled by default for web mode testing. 2) Users need to use -da flag to force assertions back off. The request came from Lex Spoon: The idea of -da is that assertions would be disabled. It's possible that some people will not

[gwt-contrib] Re: HelpRequired : GWT-Incubator: GlassPanel changes

2009-06-24 Thread Surya
Hi , I am fairly new to GWT and my requirement needs a glasspanel to be used. But due to the heavy size of incubator.jar file i would like to just copy the GlassPanel class and GlassPanelImpl into my own workspace and create a custom glasspanel . This would remove the dependency on incubator.jar

[gwt-contrib] GlassPanelImpl throws compiletime errors

2009-06-24 Thread Surya
Hi, I am relatively new to GWT. My requirement is to use GlassPanel but my hands are tied down because of the heavy size of incubator.jar file which my deployment war file cannot afford. So the only option is to use custom glasspanel. So i copied down teh source code both GlassPanel.java and

[gwt-contrib] Re: Running Ant Tests

2009-06-24 Thread Freeland Abbott
ant test should do it. What platform and JVM are you using? Do even the dev directory's tests fail? (cd dev; ant test will check that, so long as you've built things like build-tools already.) The memory limits for GWTTestCase tests (i.e. for user) are set in trunk/common.ant.xml, currently at

[gwt-contrib] Re: naming runAsync calls

2009-06-24 Thread Lex Spoon
Is there any other design criterion that people can see? The main ones I see are that it's easy to implement and maintain, it's easy to spec, and that developers can use it without needing any major code refactor. That narrows it down to either an annotation on the method (option 1), or an

[gwt-contrib] Re: naming runAsync calls

2009-06-24 Thread Ian Petersen
On Wed, Jun 24, 2009 at 9:32 AM, Lex Spoonsp...@google.com wrote: It's the *call* of runAsync that the compiler pays direct attention to, not its argument.  That's why I am pushing back against approaches that annotate some aspect of the argument. I think the push-back is a really good idea.

[gwt-contrib] Re: RadioButton now sinks ONMOUSEOUT instead of ONMOUSEUP

2009-06-24 Thread jgw
On 2009/06/24 15:54:52, jlabanca wrote: LGTM. http://gwt-code-reviews.appspot.com/48801 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Update code museum to use HostedMode

2009-06-24 Thread jgw
On 2009/06/24 16:02:54, jlabanca wrote: LGTM. http://gwt-code-reviews.appspot.com/48802 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] gen2 PagingScrollTable column headers

2009-06-24 Thread jay
Here's another thought to please keep in mind during the transition from the incubator to trunk... I've got a subclass of AbstractColumnDefinition (call it TheUsualColumnDefinition), which I use in most every place. It does all the stuff I normally need, like setting the right kind of cell

[gwt-contrib] Re: Moving PagingScrollTable Friends to Trunk

2009-06-24 Thread jay
Just curious if the effort has been resumed? Regardless, is there anyway for you to commit what you do have somewhere we could look and provide feedback? thanks, jay On Jun 10, 8:28 am, John LaBanca jlaba...@google.com wrote: @jay - I got side tracked with other tasks, but I'll pick up the

[gwt-contrib] Make i18n generator use ResourceOracle

2009-06-24 Thread scottb
Reviewers: , Description: Makes it go much faster Please review this at http://gwt-code-reviews.appspot.com/48803 Affected files: user/src/com/google/gwt/i18n/rebind/AbstractLocalizableImplCreator.java user/src/com/google/gwt/i18n/rebind/ResourceFactory.java

[gwt-contrib] Re: Make i18n generator use ResourceOracle

2009-06-24 Thread jat
LGTM after the change below. http://gwt-code-reviews.appspot.com/48803/diff/1/3 File user/src/com/google/gwt/i18n/rebind/ResourceFactory.java (right): http://gwt-code-reviews.appspot.com/48803/diff/1/3#newcode183 Line 183: Resource resource = resourceMap.get(path); I think this is going to

[gwt-contrib] Re: GlassPanelImpl throws compiletime errors

2009-06-24 Thread Freeland Abbott
John's second point is perhaps most important: the size of your compile-time classpath is irrelevent to your deployment. Once compiled, GWT spits out a collection of javascript files and other resources (from your modules' public resources, generated resource bundles, RPC serialization policy

[gwt-contrib] Re: Make i18n generator use ResourceOracle

2009-06-24 Thread Scott Blum
Lots. Like, a whole lot. I had a measurement at one time but lost them. :( Would take a while to remeasure. On Wed, Jun 24, 2009 at 1:47 PM, Bruce Johnson br...@google.com wrote: How much? On Wed, Jun 24, 2009 at 1:45 PM, sco...@google.com wrote: Reviewers: , Description: Makes it

[gwt-contrib] Re: Assertion enabled by default when running GWT web mode tests and add the disabled flag -da

2009-06-24 Thread spoon
I haven't looked at the code yet, but would be happy to do so if Freeland's review is not enough. I just want to say that I would vote for the -da flag to be longer and more obscure, because the use case is important but not common. Perhaps -XdisableAssertions?

[gwt-contrib] Re: Running Ant Tests

2009-06-24 Thread Eric Ayers
I noticed that many of my ant tests started to run out of memory when I switched to a new Linux install. I downloaded Sun's 32 bit jdk and that helped. -Eric. On Wed, Jun 24, 2009 at 12:39 PM, Freeland Abbottfabb...@google.com wrote: ant test should do it.  What platform and JVM are you

[gwt-contrib] Re: naming runAsync calls

2009-06-24 Thread Lex Spoon
On Wed, Jun 24, 2009 at 12:48 PM, Ian Petersenispet...@gmail.com wrote: The following should be allowed: @SplitPointName(foo) final AsyncCallback callback = chooseACallback(); if (flipACoin())  GWT.runAsync(callback); else  GWT.runAsync(callback); I don't see how to literally allow

[gwt-contrib] Re: naming runAsync calls

2009-06-24 Thread John Tamplin
On Wed, Jun 24, 2009 at 2:15 PM, Lex Spoon sp...@google.com wrote: Overall, unless I missed something, it's down to style and taste. I'd pick 1, then 4, then 6. Ian has indicated preferring 6, then 4, then 1. I presume Cameron prefers 4 over anything else. Shall we go with 4, then,

[gwt-contrib] Re: naming runAsync calls

2009-06-24 Thread Ian Petersen
On Wed, Jun 24, 2009 at 11:15 AM, Lex Spoonsp...@google.com wrote: On Wed, Jun 24, 2009 at 12:48 PM, Ian Petersenispet...@gmail.com wrote: The following should be allowed: @SplitPointName(foo) final AsyncCallback callback = chooseACallback(); if (flipACoin())  GWT.runAsync(callback);

[gwt-contrib] Issue 1433: Richtext support for inserthtml

2009-06-24 Thread jlabanca
Reviewers: jgw, Description: This patch adds the ability to insert arbitrary HTML at the current caret position in a RichTextArea. The InsertHTML command is actually widely supported on all browsers except IE. I used IEs doc.selection to achieve the same effect. If text is selected, it will

[gwt-contrib] Re: Issue 1433: Richtext support for inserthtml

2009-06-24 Thread jgw
LGTM. http://gwt-code-reviews.appspot.com/48804/diff/1/2 File user/src/com/google/gwt/user/client/ui/impl/RichTextAreaImplIE6.java (right): http://gwt-code-reviews.appspot.com/48804/diff/1/2#newcode79 Line 79: } So I assume there's no InsertHTML command on IE6, right? Since you just did all

[gwt-contrib] Re: Make i18n generator use ResourceOracle

2009-06-24 Thread Bruce Johnson
On Wed, Jun 24, 2009 at 1:59 PM, Scott Blum sco...@google.com wrote: Lots. Like, a whole lot. I had a measurement at one time but lost them. :( Would take a while to remeasure. Sold. --~--~-~--~~~---~--~~

[gwt-contrib] Re: naming runAsync calls

2009-06-24 Thread Lex Spoon
On Wed, Jun 24, 2009 at 2:15 PM, Lex Spoonsp...@google.com wrote: Overall, unless I missed something, Okay, Bruce pointed out a new constraint to me: if different libraries name their runAsync calls, then we want to able to refer to those calls reliably even if different libraries choose the

  1   2   >