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 an

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) > > An

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 gwt-

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 th

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; bu

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 eve

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 Pop

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 t

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

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 sour

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 gettin

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 provide

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 UTC-4,

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 = nameClase.class.ge

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); Window.Location.replace(url

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. > >

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 {back

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 th

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 a

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 > 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

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 wr

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... -- You

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. java.lang.ClassNotFoundE

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 > 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 t

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 List items; ... } Simply initializing the list property the error disappears: public class O

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 /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, mdwa

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 y

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#!CwCheckB

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 d&d 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] http://msdn.mic