Textbox width according to the characters present in the textbox.

2013-12-16 Thread P
Hi, I need to set the size of the text box according to the length of the text inside that box, it may contain localized characters like Chinese. Is any we can calculate the length in pixels for this? Thank you, Parag -- You received this message because you are subscribed to the Google Gr

Re: Suggestions for transferring a GWT project to javascript?

2013-12-16 Thread Jens
gwt-exporter might help you to export an API that your JS developers can use. For example you could export the model and services to JS. https://code.google.com/p/gwt-exporter/ -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To u

Suggestions for transferring a GWT project to javascript?

2013-12-16 Thread rjcarr
I have a pretty large project that's over 7 years old that has used GWT from the very early days and is nearly 100% GWT (i.e., there's very little manually written javascript). However, we'd like to transition the client to be written in javascript, but if possible, we'd like to retain the GWT

Re: Super Dev Mode - Mac 10.9, Eclipse (Kepler), Oracle JDK 1.7.0_45

2013-12-16 Thread Jens
I would guess your classpath is different as it looks like you have either no or a wrong version of SLF4J on classpath. Or you have two versions of SLF4J on classpath and on your linux host the ordering was different. Keep in mind that you can only debug SuperDevMode itself in your IDE but not

Super Dev Mode - Mac 10.9, Eclipse (Kepler), Oracle JDK 1.7.0_45

2013-12-16 Thread MacWiz
I'm trying to connect Eclipse (Kepler) running on my Mac (OSX 10.9) using super dev mode. When I try to launch my debug configuration, I get the following: workDir: /var/folders/rm/5_qww_6j2d734y94k758fh50gn/T/gwt-codeserver-7672352643087966792.tmp Module setup completed in 766 ms java.l

Re: Layout with nested SplitLayoutPanel

2013-12-16 Thread Patrick Tucker
I'm pretty sure your problem is above PortalPanel. I will try to put all of the pieces together tonight. On Monday, December 16, 2013 11:49:50 AM UTC-5, Magnus wrote: > Hi Patrick, > > nothing happens. What am I doing wrong? > > Magnus > > - > > public class PortalPanel extends Composite im

Re: GWT project structure to reduce compile time

2013-12-16 Thread Beatriz Nombela
Yep, all modules produce the javascript code that I'm going to run. In that case I'll keep the current structure I have. Thanks! El lunes, 16 de diciembre de 2013 15:00:17 UTC+1, salk31 escribió: > > Are all your modules actually producing JavaScript you are going to run? > > If not then you don

Re: Layout with nested SplitLayoutPanel

2013-12-16 Thread Juan Pablo Gardella
Try add a docklayoutPanel outside. 2013/12/16 Magnus > Hi Patrick, > > nothing happens. What am I doing wrong? > > Magnus > > - > > public class PortalPanel extends Composite implements RequiresResize > { > private static PortalPanelUiBinder uiBinder = GWT.create > (PortalPanelUiBinder.cla

Re: Layout with nested SplitLayoutPanel

2013-12-16 Thread Magnus
Hi Patrick, nothing happens. What am I doing wrong? Magnus - public class PortalPanel extends Composite implements RequiresResize { private static PortalPanelUiBinder uiBinder = GWT.create (PortalPanelUiBinder.class); @UiField SplitLayoutPanel slp_Outer; @UiField SplitLayoutPanel slp_

Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Olaf Raether
thanks again, i found this - good sample too: http://lumpofcode.blogspot.com/2012/11/configuring-gwt-codeserver-and.html now everything is working fine. The only thing that is a little bit disappointing is, that I codeserver can´t handlewithin module files -- You received this message beca

Re: Some advice to argue for GWT vs JSF

2013-12-16 Thread salk31
So it would have been totally safe to bet the farm on EJB2.1 because that is here for good? CORBA inside JSE! On Friday, December 13, 2013 1:35:27 AM UTC, Willie Slepecki wrote: > > My team just wrapped up an evaluation comparing gwt to jsf to be used in a > new series of applications we are pl

Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Thomas Broyer
On Monday, December 16, 2013 2:09:06 PM UTC+1, Olaf Raether wrote: > > Thanks, > your hint brought me back on the track. > I added the related projects to the buildpath and the errors went away. > > Now everything is fine, except that I only get a list of files when i > click on module after op

Re: GWT project structure to reduce compile time

2013-12-16 Thread salk31
Are all your modules actually producing JavaScript you are going to run? If not then you don't need to GWT compile those? To do the clever optimisation GWT does it looks at the source for all the client code. So I don't think you would save a lot re-structuring (if you really need to produce Ja

Why a variable inside a private inner class can't get value of a private variable that has value from AsynCallback method in Gwt?

2013-12-16 Thread Tom
I found this very weird behavior in Gwt. Ok, I have a simple TestPresenter.java that have 2 buttons. Button 1 get data from DB and return value via Asyncallback method. Button 2 is to retrive that value from a private inner class. private String test1;private String test2;private AsyncCallba

Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Olaf Raether
Thanks, your hint brought me back on the track. I added the related projects to the buildpath and the errors went away. Now everything is fine, except that I only get a list of files when i click on module after opening the codeserver url. But this is a different story. I will open up a new post

Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Thomas Broyer
Try adding the "src" folder to the classpath (like you'd do for DevMode or the Compiler) instead of passing it as a -src. On Monday, December 16, 2013 11:19:45 AM UTC+1, Olaf Raether wrote: > > I´m starting codeserver from eclipse. > This is standalone project. So there no additional classpath en

Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Olaf Raether
I´m starting codeserver from eclipse. This is standalone project. So there no additional classpath entries except the ones needed for gwt and codeserver. The arguments look like this -src "${workspace_loc:GwtProject}/src" -src "${workspace_loc:DependentProject}/src" de.project.mymodule --

Re: Create ImageResource from URL derived from DB?

2013-12-16 Thread Thomas Broyer
I think Nolan wants to use APIs such as http://www.gwtproject.org/javadoc/latest/com/google/gwt/cell/client/ButtonCellBase.html#setIcon(com.google.gwt.resources.client.ImageResource)that expect an ImageResource. On Monday, December 16, 2013 8:31:55 AM UTC+1, Benjamin Possolo wrote: > > This is n

Re: GWT DevMode latest version (1.25 ?) crashes FireFox 24 ESR

2013-12-16 Thread Thomas Broyer
On Monday, December 16, 2013 10:16:22 AM UTC+1, MCMicS wrote: > > I updated to version 24.2.0 and the plugin still not works. > If I install the latest plugin (1.26) my Firefox crashes and cannot start. > After removing the latest plugin my Firefox starts again. > See https://code.google.com/p/

Re: "[ERROR] Resource xyz.jpg not found" when running codeserver - works without codeserver (gwt2.51)

2013-12-16 Thread Thomas Broyer
How are you launching the codeserver? (which classpath, which arguments) On Monday, December 16, 2013 8:49:23 AM UTC+1, Olaf Raether wrote: > > I want to compile my project with codeserver. > But when I do so I get the follow errors: > > > Computing all possible rebind results for > 'de.epro.m3bu

Re: "Undefined expected int" exception when using SVG in a custom DataGrid cell

2013-12-16 Thread Thomas Broyer
Each and every HTML element has a tabIndex property that's always a integer (defaults to 0 or -1 depending on whether the element is "naturally" focusable or not). Foreign elements in an HTML document (SVG, MathML) aren't HTML elements, and thus don't have that tabIndex property. …and GWT was de

Re: GWT DevMode latest version (1.25 ?) crashes FireFox 24 ESR

2013-12-16 Thread MCMicS
I updated to version 24.2.0 and the plugin still not works. If I install the latest plugin (1.26) my Firefox crashes and cannot start. After removing the latest plugin my Firefox starts again. Am Montag, 4. November 2013 11:52:25 UTC+1 schrieb stuckagain: > > Hi, > > I am trying to run devmode

How to add MouseOver handler to a VectorFeature in GWT-Openlayers

2013-12-16 Thread jatinkuberker
Hello, I want to show a custom tooltip (popup) when user hovers over a Vector Feature on the GWT-openlayers map. I know that SelectFeature.setHover() will allow me to do this but that will also select the feature which i dont want to have. it is like, when the user hovers, tooltip must be sh

"Undefined expected int" exception when using SVG in a custom DataGrid cell

2013-12-16 Thread xxxyyy
I want to include an SVG in a cell of a datagrid table. I created a test class which shows a blue square. The square displays just fine but when I click on it an exception shows up in eclipse (see below). If I change the to be a string, a span or an img, clicking on that works without err