Re: Convert a Java Swing Application

2009-06-26 Thread romant
can I use Google Web Toolkit to convert a Java Swing Application? It depends on the complexity and functionality of your Swing application, but generally I would say yes, you can. Of course you must take into account that the set of components which GWT offers is different than the set which is

Re: docs on creating custom widgets?

2009-06-26 Thread romant
I would say for creating the widget you describe you should not need any low-level stuff. Actually with GWT you should not need such stuff at all (perhaps except some tricky or unusual situations). I would firstly try to implement your widget extending Composite. If you look at the rich text

Re: Bug? Serialization of inner classes

2009-06-26 Thread Paul Robinson
Your inner class does not have a no-arg constructor. It may look like it does, but non-static inner classes require an instance of the containing class to be given to them, and this is an implicit constructor argument. Make your inner class static, and then it might work. Kwhit wrote: Still no

Re: Problem with making serializable Collections

2009-06-26 Thread Paul Robinson
AdminPrivilege needs a no-arg constructor to be gwt serializable joe young wrote: Hi all, Having problem with Parsing HashMap from RPC, here is the error message: Analyzing 'com.sun.dmt.admin.client.login.LoginService' for serializable types Analyzing methods:

Re: Google Calendar and GWT

2009-06-26 Thread Paul Robinson
No. Google calendar was written before gwt. See http://code.google.com/p/ftr-gwt-library/ Fergus Reig wrote: Is Google Calendar write in GWT? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: Bug? Serialization of inner classes

2009-06-26 Thread Kwhit
Great answer (you got 5 stars for that). The reason that I want it for an inner class of course is so I have access to the containing class. I've got a work around in place so I guess I'll have to stick with that. --~--~-~--~~~---~--~~ You received this message

Re: Losing some characters via POST requests

2009-06-26 Thread Morpheu5
Hi, thanks for the replies. The code is as simple as you can imagine: urlencoding and post request on the client side (as copypasted from examples I found on the Internet and slightly modified to suit my needs), $_POST dumping on the server side. Anyway, the problem was apparently only appearing

Problem with the hibernate mapping file in gwt project. Please help

2009-06-26 Thread Sowjanya Yerramneni
Hi, I have a problem integrating hibernate and gwt. I googled and downloaded a sample application and deployed in eclipse. Also changed the connection parameters and hibernate properties and tried to run. The applcation works fine if the connection parameters are of the hsqldb. But for oracle

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

2009-06-26 Thread Prashanth
+10 from me!!! :-) ~Prashanth. On Jun 26, 2:08 am, tamsler tams...@gmail.com wrote: +1 On Jun 25, 10:50 am, Savio Grossi savio.gro...@powerlogic.com.br wrote: +1 wainting for Google Plugin for Eclipse 3.5 Gallileo (for Linux-GTK) Thanks On Thu, Jun 25, 2009 at 4:33 AM, lgdito

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

2009-06-26 Thread Morpheu5
I'd need to reinstall Eclipse due to PDT misbehaviour and I'd love to go for Galileo, so count me in :) -- Andrea --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: I18N with drop-in languages

2009-06-26 Thread Thomas Broyer
On 25 juin, 17:11, Jason.Sadler jason.sad...@gmail.com wrote: Hello all, I have a fair bit of experience with GWT but am by no means an expert - I have a question about I18N. I am trying to introduce GWT UIs into a very large existing web application where there is a requirement that

Re: Losing some characters via POST requests

2009-06-26 Thread Thomas Broyer
On 26 juin, 10:13, Morpheu5 andrea.francesch...@gmail.com wrote: Hi, thanks for the replies. The code is as simple as you can imagine: urlencoding and post request on the client side (as copypasted from examples I found on the Internet and slightly modified to suit my needs), $_POST dumping

Re: use of this inside native event handler

2009-06-26 Thread Thomas Broyer
On 26 juin, 05:19, bhomass bhom...@gmail.com wrote: I know that when calling a java function inside a native function, you should add this. in the front. but if this is inside event handler, this. becomes the element who received the event, and there is this ambiguity. e.g.         private

MouseEvent on round Object/Get Pixel Color

2009-06-26 Thread V.M.
Hello everybody, I started with GWT two weeks ago and now I stuck. I have a rectangular image and I want to add a MouseOverEvent to a circle which is on the image. I thought about getting the pixel color under the mouse but it seems that this is not possible. Is there any way to get the color

GWT module needs to be (re)compiled

2009-06-26 Thread strindberg
I'm having some problems getting Gwt 1.6.4 to run on my Tomcat 5.5, using the codehouse maven-gwt-plugin 1.1. I can run my project fine in hosted mode (from Eclipse), but when I build a war and deploy it (using the maven plugin), and then go to the web page containing the call to my Gwt module,

connecting gwt with orbited

2009-06-26 Thread Aljosa Mohorovic
i'm using http://orbited.org/ to enable client/browser to communicate with some services and i was wondering if anybody is using gwt with orbited or if somebody can advise what's the best way to connect gwt with orbited? Aljosa Mohorovic --~--~-~--~~~---~--~~ You

Problem in launching GWT application

2009-06-26 Thread mayuresh kulkarni
Jun 26, 2009 5:22:39 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: failed com.google.apphosting.utils.jetty.devappenginewebappcont...@16e8707 {/,G:\Projects_New\CloudSwitchWorkSpace\aspen_prototype\war} javax.xml.parsers.FactoryConfigurationError: Provider

Re: How DOM classes improve performance?

2009-06-26 Thread Amir Kashani
Take a look at Kelly Norton's presentation from Google I/O: http://code.google.com/events/io/sessions/MeasureMillisecondsPerformanceTipsWebToolkit.html Your specific question is covered around 22:40, though I highly recommend the whole presentation! - Amir On Jun 25, 8:04 pm, hezjing

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

2009-06-26 Thread Joost
I would also like to move forward to Galileo, but I rather have a save and stable Google plugin for Ganymede and wait a couple of weeks than move forward with a rushed plugin for Galileo. So Google guys, please take your time and make it great. Galileo looks great but I can manage with Ganymede

Re: JSNI to GWT Type Conversions

2009-06-26 Thread Thomas Broyer
On 26 juin, 04:07, Joseph Arceneaux joe.arcene...@gmail.com wrote: Hello, I'm trying to manage the YouTube player from GWT and experiencing some problems.  My player class contains JSNI references like:         public native final void seekTo (int seconds) /*-{                

Re: Is this a possibility in GWT?

2009-06-26 Thread Portal Developer
Thanks. On Jun 25, 6:30 pm, Arthur Kalmenson arthur.k...@gmail.com wrote: You can communicate with any backend using GWT. You might not be able to use GWT-RPC (which I believe there's a PHP library for that though), but you can always use RequestBuilder and send regular POST/GET requests to

Re: Is this a possible in GWT?

2009-06-26 Thread Portal Developer
Thanks. On Jun 25, 12:52 pm, ClusterCougar nwwe...@gmail.com wrote: Yes, it's possible, and even documented :) http://code.google.com/webtoolkit/tutorials/1.6/JSON.html On Jun 24, 5:57 am, Portal Developer portal.devel...@gmail.com wrote: Apologies for posting this again, I posted this

Re: MouseEvent on round Object/Get Pixel Color

2009-06-26 Thread Paul Robinson
If you can calculate the location of the centre of the circle, and you get hold of the mouse location in the image mouseOver, then you can calculate the mouse distance from the centre of the circle. If you know its radius, then you can work out if you're inside it. This technique wouldn't work

Re: GWT Remember username and password continued

2009-06-26 Thread Thomas Broyer
On 26 juin, 00:35, Johan Lundberg joe...@gmail.com wrote: Merci Thomas Unfortunately I only got this working in Fire Fox again. Results on Vista: FireFox shows Window.alert and offers to store username and password Chrome 2 shows Window.alert Safari 4 shows Window.alert IE8 does not

Re: OOPHM with Apache?

2009-06-26 Thread Thomas Broyer
On 25 juin, 19:04, Carver jason.car...@gmail.com wrote: Using Hosted mode in 1.6 we have a hack that allows us to debug in Eclipse while serving from the Apache server.  Our production server runs Apache with mod_python, so our local development machines must do the same. You don't need a

Re: whats wrong with getNodeValue()

2009-06-26 Thread Thomas Broyer
On 26 juin, 02:36, G gaur...@gmail.com wrote: import com.google.gwt.xml.client.NodeList; import com.google.gwt.xml.client.XMLParser; import com.google.gwt.xml.client.Node; import com.google.gwt.xml.client.Document; : : Node n = (Node) node.getFirstChild(); Window.alert(n); String

Re: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory

2009-06-26 Thread Miles T.
This is server side. I guess it has something to do with class loaders, but I don't know what to do. On 19 juin, 15:43, Paul Robinson ukcue...@gmail.com wrote: If this is server side, could this be something to do with DocumentFactory being loaded by two different class loaders? Miles T.

scroll at a certain position

2009-06-26 Thread romant
Hi, I have a div which contains many other divs representing some data items (let's say they contain user names). The parent div has a fixed height, so to see all the data items(user names) inside it is necessary to scroll by mouse vertically. The names all sorted alphabetically and I add a new

Re: scroll at a certain position

2009-06-26 Thread romant
Ok I have got a solution - to wrap the single items in FocusPanel and to call setFocus(true) on the item which is supposed to be shown. Sorry for bothering you. On 26 čvn, 14:06, romant roman.te...@gmail.com wrote: Hi, I have a div which contains many other divs representing some data items

Reuse AsyncCallback Class

2009-06-26 Thread martinhansen
Hello, how can I reuse an AsyncCallback Class? Is there any concept? For example, I have the following AsyncCallback defined in a GUI class: AsyncCallbackLoginResult callback = new AsyncCallbackLoginResult() { public void onFailure( Throwable caught ) { // Show error

Re: scroll at a certain position

2009-06-26 Thread Paul Robinson
You should check out this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=1313 Safari and chrome misbehave when you have a FocusPanel inside a ScrollPanel. Clicking in the FocusPanel will result in it scrolling to the top. Why not use ScrollPanel.setScrollPosition()? Paul

Re: I18N with drop-in languages

2009-06-26 Thread Jason
Thanks for the tip; I think that's what I'm going to end up doing. I'm just worried that since we're using an in-house library with localized strings as well, I may be downloading strings that I don't need. Not the end of the world, but I was wondering if anyone had some better solutions. On

TextBox allow only numbers (gwt 1.6.4)

2009-06-26 Thread Dominik Erbsland
I just saw that addKeyListener() is deprecated in gwt 1.6.4. Actually I just wanted to make a listener which checks the user input in a text box and allows only numbers. with gwt 1.6.4 I could not figure out how to do that since I should not use the keyboard listener anymore. any hints how I can

Re: I18N with drop-in languages

2009-06-26 Thread Thomas Broyer
On 26 juin, 15:40, Jason jason.sad...@gmail.com wrote: Thanks for the tip; I think that's what I'm going to end up doing. I'm just worried that since we're using an in-house library with localized strings as well, I may be downloading strings that I don't need.  Not the end of the world,

Re: scroll at a certain position

2009-06-26 Thread Thomas Broyer
On 26 juin, 15:20, Paul Robinson ukcue...@gmail.com wrote: You should check out this issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=1313 Safari and chrome misbehave when you have a FocusPanel inside a ScrollPanel. Clicking in the FocusPanel will result in it scrolling

RichTextArea insert entity or custom span element

2009-06-26 Thread Chad
I am working on a project where a number of Greek characters are used to indicate requirements with a text field. Is there an easy way to create a button on the RichTextToolbar that will insert the appropriate html entities? As is it possible to create a custom span element around highlighted

RichTextArea insert entity or custom span element

2009-06-26 Thread Chad
I am working on a project where a number of Greek characters are used to indicate requirements with a text field. Is there an easy way to create a button on the RichTextToolbar that will insert the appropriate html entities? As is it possible to create a custom span element around highlighted

Re: whats wrong with getNodeValue()

2009-06-26 Thread G
n is a text node, I reverified by getNodeType() which returns 3 representing it's a TEXT_NODE. I have no clue as to why it's still returning null. On Jun 26, 4:26 am, Thomas Broyer t.bro...@gmail.com wrote: On 26 juin, 02:36, G gaur...@gmail.com wrote: import

Re: single-origin error, shouldn't be happening?

2009-06-26 Thread Brice
I was able to use the emulate IE7 hack to get IE8 to work, but that's nasty and I keep hoping there's going to be a way I can upgrade to a recent release of GWT. On Jun 25, 11:20 pm, Brice bdr...@gmail.com wrote: Good evening, I'm revisiting a project that I worked on a year back that ran

Re: scroll at a certain position

2009-06-26 Thread romant
Goddamn it, Paul you are right my solution does not work in Safari! Goddamn it, Thomas your solution seems to work well in all browsers! Thanks guys! On 26 čvn, 16:12, Thomas Broyer t.bro...@gmail.com wrote: On 26 juin, 15:20, Paul Robinson ukcue...@gmail.com wrote: You should check out

Re: How to get HTTP authentication working in hosted mode using GWT 1.6

2009-06-26 Thread Andrew Newdigate
Hi Roman, I've worked out a bit of hack to get this working for myself. It works well enough for me right now, but if I had time I would do it properly. Here's what you need to do: * Duplicate the code from the com.google.gwt.dev.shell.jetty.JettyLauncher class into your project. GWT ships with

Re: connecting gwt with orbited

2009-06-26 Thread Nathaniel
I am attempting to do the same thing. So far I have been able to include the Orbited.js file into my project by putting it in my gwt.xml file. This allows me to open sockets, but only if I do so from the entry point html page via javascript in script tags. If I attempt to call the orbited

CSS loads for 1 millisecond, then disappears

2009-06-26 Thread DTrejo
Hello, I am having a problem with my CSS. My hosted mode is a bit laggy, so when I first run my gwt app in hosted mode the css successfully loads for a few milliseconds, but when the lag stops and hosted mode settles down, my css disappears. When I compile/browse it, the css does not even show

Re: scroll at a certain position

2009-06-26 Thread jayalakshmi jahagirdar
hi...if ur using scroll panel then u have an option to make the added row visible...u can use below line of code. scrollPanel_1.ensureVisible(the row which has to be visible); jayalakshmi On Fri, Jun 26, 2009 at 5:36 PM, romant roman.te...@gmail.com wrote: Hi, I have a div which contains many

Eclipse plugin invalid errors in JSNI methods

2009-06-26 Thread Clive Cox
In Eclipse 3.4.1 with latest Google plugin I get errors showing for String arguments in JSNI methods. Eclipse shows an error that the method does not exist even when it does. For example: public native void setupDelegatorSetTags() /*-{ $wnd.setRexTags = function(tags) {

RootPanel.get(aaa) in Junit test throws NPE

2009-06-26 Thread Владимир Петрухин
I generate a simple project with maven gwt plugin: mvn archetype:generate \ -DarchetypeGroupId=org.codehaus.mojo \ -DarchetypeArtifactId=gwt-maven-plugin \ -DarchetypeVersion=1.1 \ -DgroupId=myGroupId \ -DartifactId=myArtifactId In GwtTestSample I change: public void

Re: Eclipse plugin invalid errors in JSNI methods

2009-06-26 Thread Miguel Méndez
What does the java declaration for the setTags method look like? On Fri, Jun 26, 2009 at 12:36 PM, Clive Cox clive@rummble.com wrote: In Eclipse 3.4.1 with latest Google plugin I get errors showing for String arguments in JSNI methods. Eclipse shows an error that the method does not

Re: OOPHM with Apache?

2009-06-26 Thread Carver
You don't need a hack, just use the -noserver mode of the HostedMode (or eventually, use HostedMode normally and have a local servlet to proxy requests to your Apache server:http://code.google.com/p/google-web-toolkit/issues/detail?id=3131#c14 ) Perhaps I have a fundamental

Best practices with typical LAMP backend and GWT frontend

2009-06-26 Thread Morpheu5
Hello everybody, I already started coding some small applications using backends on LAMP and creating the frontend UI with GWT, I already know how to overcome the same origin issue while testing locally, and of course I have some working knowledge of Java, but now I need some advices about some

Calling GWT servlet from an outside container

2009-06-26 Thread jkim
Hey guys, I am new to GWT so go easy on me :) Here is the scenario i am trying to do. I have a web service notification (which could potentially be on another jboss container) with data i want to push into GWT. So I am trying to use a non GWT servlet to call a GWT servlet that is inside or

GWT eclipse plugin not creating serialization policy (*.gwt.rpc) and othe files

2009-06-26 Thread mcjames01
I'm using eclipse 3.4 with GWT SDK 1.6.4 and the 1.0.1 plugin. I can create a sample project, but when I run it, it fails to generate the *.gwt.rpc (the serialization policy file?). [INFO] Starting Jetty on port 8080 [INFO] 200 - GET /FooBar.html (127.0.0.1) 2224 bytes [INFO] 200 - GET

Re: TextBox allow only numbers (gwt 1.6.4)

2009-06-26 Thread Miroslav Genov
In GWT 1.6 old listener api has been deprecated and were introduced new event system which is using handlers. More information about your case can be taken from: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/event/dom/client/KeyPressHandler.html

Re: scroll at a certain position

2009-06-26 Thread romant
Finally I used just simple FlowPanel so I utilized the Element::scrollIntoView() approach (which works fine in IE6+7, FF3, Safari, Chrome), but i expect the ScrollPanel.ensureVisible() method will work in all the browsers as well. Goddamn it, now we have mentioned all the straight solutions

How to combine History and URL Parameters?

2009-06-26 Thread markww
Hi, I'm not sure how we use history and parameters in GWT. For example, when my user wants to go to a login page, I do this: History.newItem(login); which makes the url: www.mysite.com/myproject.html#login that's ok, if they copy and paste that url to another browser instance, my app

Re: How to combine History and URL Parameters?

2009-06-26 Thread Mark
I guess I could kind of cheat and stick it all in the History call?: History.newItem(chat?id=1234color=red); this will kind of make sense to end users, and I can just parse the history item myself for all the parameters - anything horribly wrong with this, or any easier way? Thanks On Jun

Requestbuilder problems, would appreciate at least a short response

2009-06-26 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: How to combine History and URL Parameters?

2009-06-26 Thread Ian Bambury
Personally, I use history for menu structure. In your case I would imagine that #chat would take you to a list and #chat/123 would take you to an actual room. 'color=red' would either be kept in the user's settings, or possibly in a cookie for users who don't log on. But I'd probably think 'if

Re: How to combine History and URL Parameters?

2009-06-26 Thread Mark
Thanks Ian - that forward slash you have though - that's just created in a call like: String chatRoomId = 123; History.newItem(chat/ + chatRoomId); right? There's not some other special GWT method for appending those sorts of 'parameters', delimited by forward slash? Thanks On Jun 26,

Default Sample Project (GreetingService) doesn't display widgets in hosted mode

2009-06-26 Thread mcjames01
Here's what I did: From a fresh eclipse 3.4 installation, GWT 1.6.4, with the 1.0.1 GWT plugin I created a new Google Web Application (File-New-Other Google-Web Application Project) I named it FooBar, used com.example.foobar as the package. Chose Create in project workspace, Checked Use Google

translations

2009-06-26 Thread L Frohman
We are using the standard GWT i18n com.google.gwt.i18n.client.Messages for translations. We are using '' (double apos) for ', but sometimes this shows up as '' on the web page. Has anyone else seen this? Thanks, Lance --~--~-~--~~~---~--~~ You received this

unregisterDropController :S

2009-06-26 Thread Memo Sanchez
Hello, I am trying to add DD to an image who is suppose to be inserted into a GridPanel (who has my DropController), I have no problem doing an actual DD from my HorizontalPanel to the GridPanel. the problem is when I insert that Image directly using .add method of the GridPanel. This is my

Re: GWT apps suddenly working on Windows Vista machine

2009-06-26 Thread sunblaze
I experienced the same thing but on Windows 7. I found the following in their faq http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html#Navigation_to_the_page_was_canceled but their fix doesn't seem to work for me. Although I'm able to get by now if I fire the hosted mode and switch

Re: OOPHM with Apache?

2009-06-26 Thread Thomas Broyer
On 26 juin, 19:27, Carver jason.car...@gmail.com wrote: You don't need a hack, just use the -noserver mode of the HostedMode (or eventually, use HostedMode normally and have a local servlet to proxy requests to your Apache

Data formats

2009-06-26 Thread Piotr Kirklewski
Hi I'm using RPC in order to send the resultset to the client side. Unfortunately I can't send the Object array which contains Date and Integers as GWT is complaining about Object being to complex and therefore not supported. I need to send the array as String array so I'm loosing my data

Re: Default Sample Project (GreetingService) doesn't display widgets in hosted mode

2009-06-26 Thread mcjames01
I set the log level to ALL and see that I'm getting a couple exceptions. The first one is: org.mortbay.jetty.HttpException: null at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:276) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at

Re: compile gwt svn from source

2009-06-26 Thread Dominik Steiner
i had the same problem and it turned out that i had to update my svn to a newer version (1.6.3), for mac i used the dmg package at http://www.collab.net/downloads/community/ Dominik On 22 Jun., 09:21, waf wlod...@gmail.com wrote: I had similar problem and the following

Re: JSNI to GWT Type Conversions

2009-06-26 Thread Joe
Thanks very much. A float is what worked. On Jun 26, 2:05 am, Thomas Broyer t.bro...@gmail.com wrote: On 26 juin, 04:07, Joseph Arceneaux joe.arcene...@gmail.com wrote: Hello, I'm trying to manage theYouTubeplayer from GWT and experiencing some problems.  My player class contains JSNI

Re: GWT fileupload in jetty?

2009-06-26 Thread flyingb...@gmail.com
Oh... freaking a. I forgot to also import commons-io file. Seems like that was the problem. made me wasted a few hours trying to find alternative ways :/ On Jun 26, 4:19 pm, flyingb...@gmail.com flyingb...@gmail.com wrote: Hi, I  tried using the commons-fileupload-1.2.1.jar in jetty and I get

Re: How to combine History and URL Parameters?

2009-06-26 Thread Ian Bambury
No. You have to roll your own using some character that you are not going to use in the actual string. My current site uses the tilde (~) but the new version will probably use the forward slash. I also to a bit of replacing to get rid of anything that turns into %nn so it is still readable, e.g.

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

2009-06-26 Thread nanotalk
Agree. Google guys, please take your time. We'll wait :) On Jun 26, 1:52 pm, Joost joost.a.bloem...@gmail.com wrote: I would also like to move forward toGalileo, but I rather have a save and stable Google plugin for Ganymede and wait a couple of weeks than move forward with a rushed plugin

Dates from resultset

2009-06-26 Thread Piotr Kirklewski
Hi I'm getting some values from Postgres database. The First column is Date in the following format: 2008-01-01 01:00:00 But when i put the results int the array by this command: dt[m]= new Date(res.getTimestamp(1).getNanos()); Then I get : Wed Dec 31 19:00:00 EST 1969 What's going on ?

[gwt-contrib] Comment on CodeSplitting in google-web-toolkit

2009-06-26 Thread codesite-noreply
Comment by JasonThrasher: Above: The -soyc flag is currently only available on the GWTCompiler entry point, not the new Compiler entry point. Is this still true? It seems that the new Compiler takes the -soyc flag, but I don't see any output generated, other than messages saying that the

[gwt-contrib] Comment on CodeSplitting in google-web-toolkit

2009-06-26 Thread codesite-noreply
Comment by JasonThrasher: Above: The -soyc flag is currently only available on the GWTCompiler entry point, not the new Compiler entry point. Is this still true? It seems that the new Compiler takes the -soyc flag, but I don't see any output generated, other than messages saying that the

[gwt-contrib] Comment on CodeSplitting in google-web-toolkit

2009-06-26 Thread codesite-noreply
Comment by JasonThrasher: Above: The -soyc flag is currently only available on the GWTCompiler entry point, not the new Compiler entry point. Is this still true? It seems that the new Compiler takes the -soyc flag, and the old GWTCompiler does not take the -aux flag. But I don't see any

[gwt-contrib] Comment on CodeSplitting in google-web-toolkit

2009-06-26 Thread codesite-noreply
Comment by JasonThrasher: Above: The -soyc flag is currently only available on the GWTCompiler entry point, not the new Compiler entry point. On the current GWT 2.0 HEAD off of SVN, -soyc are supported for the Compiler. Also, -aux has been removed, being replaced by -extra. For more

[gwt-contrib] Comment on LightweightCollections in google-web-toolkit

2009-06-26 Thread codesite-noreply
Comment by stefan.haustein: Looks great! I really like that the base Array does not have any methods for manipulation. This stuff will make our code smaller *and* more safe at the same time -- awesome! For more information:

[gwt-contrib] Re: DockLayoutPanel

2009-06-26 Thread dflorey
That sounds really great. I've spent many hours to get this done but ended up with the WindowResizeListener approach. Do you delegate the size to child panels in case of resize? I've had trouble nesting stack panels and gwt-maps inside resizable panels (HSP/ VSP). On Jun 15, 9:11 pm, Joel Webber

[gwt-contrib] TBR: r5635 [EOM]

2009-06-26 Thread Joel Webber
--~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] [google-web-toolkit commit] r5635 - Fixes typo in text-decoration style.

2009-06-26 Thread codesite-noreply
Author: j...@google.com Date: Fri Jun 26 05:30:47 2009 New Revision: 5635 Modified: trunk/user/src/com/google/gwt/dom/client/Style.java Log: Fixes typo in text-decoration style. TBR: jlabanca Modified: trunk/user/src/com/google/gwt/dom/client/Style.java

[gwt-contrib] Re: Comment on UsingOOPHM in google-web-toolkit

2009-06-26 Thread Joel Webber
Could you give some detail as to what circumstances you're seeing this happen? It's at possible that I did something to the selection script or hosted.html that caused this to happen more frequently, but I'm not having any problems on my end. The fact that hard-coding the module (as opposed to

[gwt-contrib] OOPHM with -noserver not loading JS through Eclipse?

2009-06-26 Thread Carver
OOPHM with -noserver is not working as expected on Win XP. When I launch Hosted Mode in Eclipse and go to the specified url (eg~ http://localhost/path/?gwt.hosted=192.168.56.1:9997), I see everything as if loaded purely from my local server. The javascript is not loading through Eclipse, so I

[gwt-contrib] Problem with setVisible in UIObject

2009-06-26 Thread David Carter
What I'm trying to do is select widgets based on text entered in a text box. I have a change notifier attached to the text box that allows me to iterate through my widgets and set the visible property using setVisible. The problem is that this will only update the display when the focus

[gwt-contrib] Comment on EnumOptimizations in google-web-toolkit

2009-06-26 Thread codesite-noreply
Comment by joelgwebber: I've been mocking up a proposal very much like this, actually. I guess that's a good sign. The biggest complication is that enums extend Object, and can implement interfaces. And because we can't always tighten the types in practice, you need virtual dispatch on

[gwt-contrib] Re: DockLayoutPanel

2009-06-26 Thread Joel Webber
Right, the idea is to let the browser do 99% of the work, but walk the part of the widget hierarchy that needs layout whenever necessary (whenever any part of it changes size), to give those widgets that absolutely *must*, a chance to deal with the change. In the example you give, the map widget

[gwt-contrib] add a test for AsyncFragmentLoader

2009-06-26 Thread spoon
Reviewers: bobv, Description: This patch adds a test for AsyncFragmentLoader. It pokes the loader with different sequences of runAsync requests, load success events, and load failed events, and makes sure that the correct fragments are requested in the correct order. To make it work,

[gwt-contrib] Allow detached JDO objects to be transferred via RPC

2009-06-26 Thread rice
Reviewers: bobvawter_google.com, Description: Attempting to transfer objects marked as @PersistenceCapable(detachable=true) via RPC currently fails due to mismatched class bytecode between the server and client. This patch detects such objects and manually serializes the extra information

[gwt-contrib] Re: Allow detached JDO objects to be transferred via RPC

2009-06-26 Thread cromwellian
On 2009/06/26 19:57:28, Dan Rice wrote: Two general comments: 1) What are the implications of stashing an extra field on java.lang.Object, is there any impact on output size? 2) I've noticed that the JDO enhanced classes seem to track field mutations and update the jdoDetachedState. This patch

[gwt-contrib] Re: add a test for AsyncFragmentLoader

2009-06-26 Thread scottb
I didn't look at anything but the bounded queue, which piqued my interest. :) http://gwt-code-reviews.appspot.com/47806/diff/1/11 File user/src/com/google/gwt/core/client/impl/AsyncFragmentLoader.java (right): http://gwt-code-reviews.appspot.com/47806/diff/1/11#newcode105 Line 105: * A

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

2009-06-26 Thread Andrew Pietsch
Howdy, The main issue I have with your proposal is that I have to define a second definition of my model (the bean).   While that's a pain it's also deliberate since I'm binding to DTO's and other domain level objects and these don't (and shouldn't IMHO) define form based state (such as