Re: Where can I find gwt-servlet.jar source jar?

2013-03-20 Thread Frank Hossfeld
If you only want to see the code, take a look here: http://grepcode.com/file/repo1.maven.org/maven2/com.google.gwt/gwt-servlet/2.5.0/com/google/gwt/place/shared/PlaceController.java Am Dienstag, 19. März 2013 22:41:39 UTC+1 schrieb Michael Prentice: The source is included with gwt-dev.jar and

Re: Compiler exception after upgrade to 2.5.1

2013-03-20 Thread Thomas Broyer
Delete the gwt-unitCache and try again. On Wednesday, March 20, 2013 3:27:16 AM UTC+1, mdwarne wrote: Hi, My project compiles and runs OK with GWT 2.5.0. After upgrading to version 2.5.1 Compiling the project causes an exception (see below) This is using Java EE 6 (Mac OSX) Any ideas?

Re: Where can I find gwt-servlet.jar source jar?

2013-03-20 Thread Jens
gwt-servlet.jar is a subset of gwt-user.jar and as along as you have gwt-user.jar in your classpath you don't need to have gwt-servlet.jar in your classpath (although it needs to be deployed). So you can either exclude gwt-servlet.jar in Eclipse or you make sure that gwt-user.jar is before

Re: PopupPanel.center() not centering content?

2013-03-20 Thread Thomas Broyer
This is strange, I'd swear it used to work… It must then be a lower-level change, as I don't see anything suspicious in the latest changes to PopupPanel or any ancestor class. On Tuesday, March 19, 2013 9:09:33 PM UTC+1, Ed wrote: An example: Attacheded: the FF (19,02), Chrome (24), IE (10)

Re: PopupPanel.center() not centering content?

2013-03-20 Thread Jens
This is strange, I'd swear it used to work… It must then be a lower-level change, as I don't see anything suspicious in the latest changes to PopupPanel or any ancestor class. We use PopupPanel.center() for showing wizards. Also we calculate optimal wizard sizes before first showing the

Re: PopupPanel.center() not centering content?

2013-03-20 Thread Thomas Broyer
I suppose Ed does not set the popup size explicitly and relies on the intrinsic size of the content. And strangely getOffsetWidth() returns 0 so the top-left corner is positioned at the center of the viewport (and then only the popup gets its actual intrinsic dimensions, but it's too late; but

Re: PopupPanel.center() not centering content?

2013-03-20 Thread Ed Bras
This is strange, I'd swear it used to work… Could you please try this and see if you have the same result as me? I suppose Ed does not set the popup size explicitly and relies on the intrinsic size of the content. Yes, exactly, I don't calculate anything (just like the code shows). I don't even

Re: PopupPanel.center() not centering content?

2013-03-20 Thread Jens
I just changed my code a bit and removed any explicit sizes on the PopupPanel itself. Now when adding a Label without any size or something else with explicit sizes everything still works as expected without using any deferred command. @Ed: We use LayoutPanel inside PopupPanel so either the

Re: XMLParser Problems

2013-03-20 Thread skippy
Thanks for the response. I have one more question. I am reusing assets from a XSLT Translation application in a GWT application. I want to reuse the XML Page layouts and XML Data payloads. My question is, can I use a more Xpath like parsing? Like first parse the Filter/column nodes. Then parse

Re: Detecting Drag and Drop on a RichTextArea

2013-03-20 Thread kim . mertens
I found a solution adopting http://stackoverflow.com/questions/10317644/how-to-make-gwts-richtextarea-detect-content-pasting-and-cutting-events IFrameElement iFrame = IFrameElement.as(richTextArea.getElement()); //listen for paste event addDropHandler(iFrame); /** * Add a listener for

Re: Where can I find gwt-servlet.jar source jar?

2013-03-20 Thread Michael Prentice
OK, thank you. I verified that I do not have swt-servlet.jar in my classpath. I also verified that I have gwt-user.jar in my classpath and that it is set to point to itself for sources. I don't use Maven. It seems like Eclipse figured things out now as I'm getting JavaDoc and can browse to

Re: Not able to store JSON data in offline mode( SQLLite + MGWT)

2013-03-20 Thread Michael Prentice
How big is your database? i.e. how much data did you put in there before this call failed? On Monday, March 18, 2013 10:51:52 AM UTC-4, rahul@darkhorseboa.com wrote: I am using Mgwt and SQLLite for andriod development. I am not able to store the JSON Data in offline mode. I am getting

Re: Saving results from GWT-RPC call on client

2013-03-20 Thread Xi
Hi, I've made a framework to do the serialization/deserialization of object in client side. Just like monkeyboy's solution, it is based on GWT RPC's serialization/deserialization. *But the difference is*, my framework is more like *an extension of localStorage/sessionStorage*, that

Re: Code splittingmysteries

2013-03-20 Thread Ashton Thomas
I would also be interested in any updates to this as I am currently working on the async aspect or my app. (I wouldn't even know how to identify anomalies due to a lack of experience here) I also remembrer having the same questions with soyc -at On Wednesday, March 20, 2013 7:53:11 AM

Reed xml file inside my project (src)

2013-03-20 Thread Crease
Hi, I have 2 doubt about gwt: - I´m developing a app and it have to read a xml file that it´s inside project, but I put this: Document doc = docBuilder.parse(new File(stringPath)); Document doc = docBuilder.parse(new File(stringPath)); being stringPath: URL path =

Re: How to change the locale at runtime

2013-03-20 Thread Honza Rames
Hi, you can't do it in runtime since each locale will produce different permutations, but what you can do is set the locale parameter of the URL. You can use UrlBuilder like this: UrlBuilder url = Window.Location.createUrlBuilder(); url.setParameter(locale, locale);

Re: RequestFactoryEditorDriver (or any type of Editor) and ValueChangedEvent

2013-03-20 Thread El Mentecato Mayor
I think you can do what you want with ValueAwareEditor: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/editor/client/ValueAwareEditor.html On Thursday, March 14, 2013 12:34:09 PM UTC-4, Jonathan Jones wrote: Hi all, I am new to GWT 2.5 so please forgive me. I

Re: Styling a custom CellList

2013-03-20 Thread Carl
(replied for those who find this old post) in your css file add a line before the css definition for X: @external X; This tells GWT not to obfuscate the style name (where X is the style name) Don't include the dot prefix and end the line with a semi-colon. e.g., @external header; .header

Re: XMLParser Problems

2013-03-20 Thread Andy King
I don't know of any way to use XPath against the GWT XML library, but that's not to say that you can't do so. In my work with it I just walk through the Document object and extract the elements and attributes into my own structure. If you know the structure of your XML ahead of time then

Re: Can't deploy my project anymore

2013-03-20 Thread Juan Carlos Aranda
Do you fix the problem??? I have the same problem and not find the solution. I install Eclipse, Gwt plugin and Designer. Now my app not deploy. Saludos. Thanks. El lunes, 18 de marzo de 2013 14:38:02 UTC-6, JoyaleXandre escribió: Hi everybody, Since friday I can't deploy my project

Re: Can't deploy my project anymore

2013-03-20 Thread Juan Pablo Gardella
Did you remove gwt-cache directories? 2013/3/20 Juan Carlos Aranda aranda...@gmail.com Do you fix the problem??? I have the same problem and not find the solution. I install Eclipse, Gwt plugin and Designer. Now my app not deploy. Saludos. Thanks. El lunes, 18 de marzo de 2013

Re: Can't deploy my project anymore

2013-03-20 Thread JoyaleXandre
Yes, I removed the gwt-cache folder. I managed to compile my war file by executing the build.xml ant file manually. But I liked more when the deploy button was generating the xml for me. Now, I need to update it manually. Le mercredi 20 mars 2013 13:06:24 UTC-4, Juan Pablo Gardella a écrit :

Re: Compiler exception after upgrade to 2.5.1

2013-03-20 Thread mdwarne
Thanks, I'm using the Netbeans plugin for GWT can anyone point me to where the gwt-unitCache folder would be? Thanks, Mike. On Tuesday, March 19, 2013 11:11:14 PM UTC-10, Thomas Broyer wrote: Delete the gwt-unitCache and try again. On Wednesday, March 20, 2013 3:27:16 AM UTC+1, mdwarne

Gwt validation

2013-03-20 Thread ravi kumar
Hi All, im trying to execute validation sample which is in gwt sdk itself...When i start the jetty server using maven like mvn jetty:run the server is displaying only welcom file.. Actual output it should ask username and validate nameIs anyone knows the answer please help me... --

Re: problem with gwt designer in myeclipse for spring 10.6

2013-03-20 Thread Sh Darambazar
me too the same problem. Please help me my ubuntu is 12.10 java when java -version java version 1.7.0_15 OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10.1) OpenJDK Server VM (build 23.7-b01, mixed mod and oracle java the same error. On Saturday, March 9, 2013 7:07:53 AM

Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml.

2013-03-20 Thread Sh Darambazar
hi i am using ubuntu 12.10 eclipse 3.7 Indigo but gwt designer can't open error Could not open the editor: The editor class could not be instantiated. This usually indicates a missing no-arg constructor or that the editor's class name was mistyped in plugin.xml.

Re: Compiler exception after upgrade to 2.5.1

2013-03-20 Thread Sang Hero
Why don't you try searching this folder with that name? 2013/3/21 mdwarne mike.wa...@gmail.com Thanks, I'm using the Netbeans plugin for GWT can anyone point me to where the gwt-unitCache folder would be? Thanks, Mike. On Tuesday, March 19, 2013 11:11:14 PM UTC-10, Thomas Broyer wrote:

Re: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.

2013-03-20 Thread MarDeMar
ERRATA CORRIGE The solution for me is more trivial than it seemed. I had this error using bean with a list property not initialized. For example: public class Order implements Serializable { private ListItem items; ... } Simply initializing the list property the error disappears: public

Drag and drop (and Internet Explorer)

2013-03-20 Thread Helen
Hello all, I've created a test project to experiment with native drag and drop (2.5.1). It works in fine Firefox and Chrome, but in Internet Explorer the dropItem events don't fire. Here is the code: public void onModuleLoad() { final TextBox textBox = new TextBox(); final HTML

Event handler in capture phase

2013-03-20 Thread qinyc
How could I add an event handler to an element during the capture phase not the bubbling phase? The problem is the same as how to convert js code addEventHandler('click', element, true). The addDomHandler seems working in the bubbling phase. Thanks -- You received this message because you are

Re: Compiler exception after upgrade to 2.5.1

2013-03-20 Thread Michael Prentice
I thought that it might be the temp folder in user/applocal/temp, but that didn't fix it. The fix came when I deleted the /gwt-unitCache dir within the root directory of my project. Thank you! I hit this today after upgrading to 2.5.1 yesterday. On Wednesday, March 20, 2013 2:14:22 PM UTC-4,

Re: How to change the locale at runtime

2013-03-20 Thread sahli . sabrina
Le lundi 18 mars 2013 09:53:31 UTC+1, sahli@gmail.com a écrit : Hi, i'm beginner in gwt, how can i change the locale language at runtime like the http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCheckBox, thank you, -- You received this message because you are

Re: How to change the locale at runtime

2013-03-20 Thread sahli . sabrina
thank you for the reply, this is what i did and it works now :) Le lundi 18 mars 2013 09:53:31 UTC+1, sahli@gmail.com a écrit : Hi, i'm beginner in gwt, how can i change the locale language at runtime like the http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCheckBox,

Re: Drag and drop (and Internet Explorer)

2013-03-20 Thread Andrea Boscolo
Reading [1] seems like IE9 supports dataTransfer object only on images, links, and text. Starting from IE10 it supports dd on any element (using the draggable attribute), and the file attribute to the dataTransfer object. On IE9 try to use an hyperlink/image as a draggable. [1]

Re: [gwt-contrib] Re: gwt rebranding

2013-03-20 Thread Kerry Wilson
I would leave gorgeous out of it. I would just consider it a recursive acronym like PHP. GWT: Web Toolkit kw On Wed, Mar 20, 2013 at 5:28 AM, Jens jens.nehlme...@gmail.com wrote: On the note of @Gorgeous Web Toolkit@, my $.02 is nice but isn't quite Gorgeous isn't geeky enough. The self

[gwt-contrib] Re: Issue 7890 : ListBox: allow CSS class for options (issue1897803)

2013-03-20 Thread tuckerpmt
On 2013/03/19 15:40:06, tbroyer wrote: I agree, returning the OptionElement seems like a better idea. http://gwt-code-reviews.appspot.com/1897803/ -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups

[gwt-contrib] Change in gwt[master]: Issue 6256: getAbsoluteTop/getScrollTop returns wrong values...

2013-03-20 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Issue 6256: getAbsoluteTop/getScrollTop returns wrong values for IE9 when body has been scrolled * Moved methods that are specific to WebKit/Safari from DOMImplStandardBase to DOMImplWebkit so that they don't affect

[gwt-contrib] Change in gwt[master]: Changes StackTraceDeobfuscator to abstract and provide vario...

2013-03-20 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Changes StackTraceDeobfuscator to abstract and provide various factory methods. .. Patch Set 3: Code-Review+1 -- To view, visit

[gwt-contrib] Change in gwt[master]: Refactors c.g.gwt.junit to use common SerializableThrowable ...

2013-03-20 Thread Goktug Gokdogan
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/2290 Change subject: Refactors c.g.gwt.junit to use common SerializableThrowable StacktraceDeobfuscator. .. Refactors

Re: [gwt-contrib] Re: gwt rebranding

2013-03-20 Thread David
Not that I have anything of authority here, but why not adopt Guice instead of all the gwt.xml trickery and call it the Guicy Web ToolKit David On Wed, Mar 20, 2013 at 1:44 PM, Kerry Wilson ke...@allthingswilson.comwrote: I would leave gorgeous out of it. I would just consider it a recursive

[gwt-contrib] Change in gwt[master]: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest.

2013-03-20 Thread Goktug Gokdogan
Hello Brian Slesinsky, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2190 to look at the new patch set (#3). Change subject: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest.

[gwt-contrib] Change in gwt[master]: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest.

2013-03-20 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest. .. Patch Set 3: Code-Review+1 (5 comments) Looking good. Some javadoc tweaks.

[gwt-contrib] Change in gwt[master]: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest.

2013-03-20 Thread Goktug Gokdogan
Hello Brian Slesinsky, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2190 to look at the new patch set (#4). Change subject: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest.

[gwt-contrib] Change in gwt[master]: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest.

2013-03-20 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest. .. Patch Set 3: (5 comments) File

[gwt-contrib] Change in gwt[master]: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest.

2013-03-20 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Moves GWTTestCase to Impl#setUncaughtExceptionHandlerForTest. .. Patch Set 4: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2190 To

[gwt-contrib] Change in gwt[master]: Moves c.g.gwt.logging to common StackTraceDeobfuscator.

2013-03-20 Thread Goktug Gokdogan
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/2300 Change subject: Moves c.g.gwt.logging to common StackTraceDeobfuscator. .. Moves c.g.gwt.logging to common

[gwt-contrib] Change in gwt[master]: Attempt to continue after the JDT compiler aborts.

2013-03-20 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Attempt to continue after the JDT compiler aborts. .. Patch Set 1: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2271 To unsubscribe,

Re: [gwt-contrib] Re: gwt rebranding

2013-03-20 Thread Matthew Dempsky
On Wed, Mar 20, 2013 at 12:25 PM, David david.no...@gmail.com wrote: Not that I have anything of authority here, but why not adopt Guice instead of all the gwt.xml trickery and call it the Guicy Web ToolKit I don't believe Guice can 100% replicate the functionality provided by .gwt.xml files,