Re: Space between widgets in FlowPanel ?
What you want is the "margin" property, not the "padding" property. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Confusion with MVP.
Hi, I'm starting to get more confused as I'm going deeper with MVP. In my project I have a view which has many video 'tiles' (thumbnails with headlines). Should I make each tile a view by its own, and each one of these views would have its own presenter? Is that a normal solution or am I doing a horrible thing? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Error when compiling with "strict" -- BaseGwtConfiguration.java
When I turn on "strict" compiling with GWT my build fails and I get this error: Compiling module com.termalabs.ac.AnalyticsConsole Validating units: [ERROR] Errors in 'com/google/gwt/validation/client/BaseGwtConfiguration.java' [ERROR] Line 54: The constructor GwtConfigurationState() is undefined [ERROR] Aborting compile due to errors in some input files /home/mhirsch/Workspace/jaws-trunk/product/console/build.xml:242: Java returned: 1 at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111) Without strict my code compiles and runs fine. Can anyone explain what this means? What am I missing that I get this error? Is it meaningful? I'm disturbed that strict completely fails. I was expecting to see warnings. Thanks, Michael -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Space between widgets in FlowPanel ?
the new label did do anything either.. On Wednesday, February 20, 2013 2:51:22 PM UTC-8, hprc wrote: > > you just have to add [new Label(" ")] in between it. > 2013/02/21 3:44 "Kris" >: > >> Hi, How can I get spaces between widgets in FlowPanel ? I have google a >> while now, but couldn't find any solution, and can see a lot of other >> people have the same problem. >> I have a FlowPanel with text boxes.. and all are right on top of each >> other. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com . >> To post to this group, send email to >> google-we...@googlegroups.com >> . >> Visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Space between widgets in FlowPanel ?
That didn't help.. the textbox just got a little bigger.. :( On Wednesday, February 20, 2013 12:40:41 PM UTC-8, Stevko wrote: > > Try adding a style name to your textboxes and set the padding there. > > *height.addStyleName*("paddedTextbox") > > > in your style resource > .paddedTextBox { > padding: 3px 3px 3px 3px; > } > > > On Wed, Feb 20, 2013 at 12:14 PM, Kristian Lind > > wrote: > >> Here is a part of my code... >> >> FlowPanel txtBoxes = new FlowPanel(); >> txtBoxes.setWidth("100px"); >> >> final TextBox name = new TextBox(); >> name.setVisibleLength(30); >> txtBoxes.add(name); >> name.setSize("200px", "10px"); >> final TextBox media = new TextBox(); >> media.setVisibleLength(30); >> txtBoxes.add(media); >> media.setSize("200px", "10px"); >> >> final TextBox height = new TextBox(); >> height.setDirectionEstimator(false); >> height.setVisibleLength(30); >> txtBoxes.add(height); >> height.setSize("200px", "10px"); >> >> final TextBox width = new TextBox(); >> width.setVisibleLength(30); >> txtBoxes.add(width); >> width.setSize("200px", "10px"); >> >> On Wed, Feb 20, 2013 at 12:09 PM, Andy Stevko >> >> > wrote: >> >>> Do you have a uibinder fragment that shows the widgets you are using? >>> >>> >>> >>> On Wed, Feb 20, 2013 at 11:05 AM, Kristian Lind >>> >>> > wrote: >>> And how.. I tried diff ways, nothing works.. do you have an example On Wed, Feb 20, 2013 at 11:03 AM, Andy Stevko > wrote: > padding the style? > > > On Wed, Feb 20, 2013 at 10:44 AM, Kris > > wrote: > >> Hi, How can I get spaces between widgets in FlowPanel ? I have google >> a while now, but couldn't find any solution, and can see a lot of other >> people have the same problem. >> I have a FlowPanel with text boxes.. and all are right on top of each >> other. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, >> send an email to >> google-web-toolkit+unsubscr...@googlegroups.com >> . >> To post to this group, send email to >> google-we...@googlegroups.com >> . >> Visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > -- A. Stevko > === > "If everything seems under control, you're just not going fast > enough." M. Andretti > > > > > -- > You received this message because you are subscribed to the Google > Groups "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to google-web-toolkit+unsubscr...@googlegroups.com > . > To post to this group, send email to > google-we...@googlegroups.com > . > Visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Best regards Kristian Lind -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com . To post to this group, send email to google-we...@googlegroups.com . Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >>> -- >>> -- A. Stevko >>> === >>> "If everything seems under control, you're just not going fast enough." >>> M. Andretti >>> >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Web Toolkit" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to google-web-toolkit+unsubscr...@googlegroups.com >>> . >>> To post to this group, send email to >>> google-we...@googlegroups.com >>> . >>> Visit this group at >>> http://groups.google.com/group/google-web-toolkit?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> Best regards >> >> Kristian Lind >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com . >> To post to this group, send email to >> google-we...@googlegroups.com >> . >> Visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> For more options, visit https://groups.google.com/groups
Re: send event (click) to an external html page
sorry i dont't know what do you do. i recommend you reading beginner book that explain for GWT. because it explain you several base sample. 2013/02/21 5:58 "Laurent Garnier" : > Hi, > > first, excuse me for my poor english, but I'm french. > I load an external page into a frame : final Frame frame = new Frame(url); > The external page is from a public website. > Can I send event to an element on this page, like click on a button, or > fill a textfield ? > > Thx for help > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Space between widgets in FlowPanel ?
you just have to add [new Label(" ")] in between it. 2013/02/21 3:44 "Kris" : > Hi, How can I get spaces between widgets in FlowPanel ? I have google a > while now, but couldn't find any solution, and can see a lot of other > people have the same problem. > I have a FlowPanel with text boxes.. and all are right on top of each > other. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Is using GWT interfaces like HasText and HasValue considered good for portability?
As it says in the title, especially if I'm considering using mgwt or supporting Android platform. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Overriding CSS styles in ResourceBundle
I don't know if it's proper solution, but be aware of http://code.google.com/p/google-web-toolkit/issues/detail?id=6144 If I understand correctly consequences of above issue, if your ResourceBundles would use the same class TestCss, styles will be mixed up, in your stylesheet you'll have two different styles with the same names. W dniu środa, 20 lutego 2013 14:58:10 UTC+1 użytkownik Igor Cherednichenko napisał: > > I have try to find good solution to partially override css styles of > CssResources in ResourceBundle. > > In generally, I create my UI components and use simple components (like > ValueBox) for constructing more complicated components (like > DatePickerBox). > > From begin, I use ResourceBundle instances for manage style of simple > components. So, when they should be aggregated into complicated one, I have > problem with fine styles adjusting. > > As posible decision, simple components has alternative constructor with > ResourceBundle parameter. Using it, is possible to extend default > ResourceBundle and override required styles. > > And now the problem in that I dont want reimplement all styles in my > CssResource (where can be a lot of CSS classes). Usually, I need fine only > several CSS classes. > > I found one solution, it work, but I cannot find confirmation for this > trick in official documentation. I use @Import and @ImportedWithPrefix > annotation for same scope and override some css styles using prefix. > > The ClientBundle for simple component. > >> *public interface* TestResources *extends* ClientBundle >> >> { >> >> @Source(TestCss.DEFAULT_CSS) >> >> TestCss css(); >> >> >>> @CssResource.ImportedWithPrefix("tr") >> >> *interface* TestCss *extends* CssResource >> >> { >> >> String DEFAULT_CSS = "/client/test/test.css"; >> >> >>> String imgStyle(); >> >> >>> String frameStyle(); >> >> >>> String textStyle(); >> >> } >> >> } >>> >> > Default CSS clases are stored in default file "/client/test/test.css". > >> .frameStyle { >> >> border: 1px solid #00; >> >> margin: 10px; >> >> } >> >> >>> .textStyle { >> >> font-size: 15px; >> >> color: red; >> >> background-color: #ffd700; >> >> } >> >> >>> .imgStyle { >> >> border: 2px dashed green; >> >> } >> >> > Override default styles, CHANGE ONLY IMAGE BORDER STYLE > >> *public interface* OverriddenTestResource *extends* TestResources >> >> { >> >> @CssResource.Import(TestCss.class) >>> >> @Source({TestCss.DEFAULT_CSS, "changedtest.css"}) >> >> TestCss css(); >> >> } >> >> > The style changes is stored in additional file "changedtest.css". > >> .tr-imgStyle { >> >> border: 1px solid red; >> >> } >> >> > > Can some one confirm that it done in right way or just post link to > related docs? > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Designing to fill the page
W dniu wtorek, 19 lutego 2013 03:18:12 UTC+1 użytkownik Mike Dee napisał: > > I'm trying to develop an app with a screen (using A&P) so that it fills > the browser window. The app basically displays a bunch of images in > tiles. Images are roughly the same size, 300 by 400 pixels. As the user > resizes the window, the app calculates how many full images can be > displayed horizontally. It is slightly more complicated in that there is a > strip above the image and below that contain info about the images. > > The layout I've come up with is based on a LayoutPanel. > > -LayoutPanel > --Label > ---ScrollPanel > HorizontalPanel > -Image 1 > -Image 2 > -Image N > ---Label > > The ScrollPanel is included in case the window is adjusted to smaller than > the height of an image. Than the user can simply scroll vertically. Also, > the ScrollPanel positioning is adjusted within the LayoutPanel to center > the HorizontalPanel of images. > > As the window is resized, the number of images that fits in the > HorizontalPanel is recalculated and an onResize() is called to force the > page to update. The onResize() also positions the ScrollPanel in the > center of the LayoutPanel (between the two Labels). > > The math for this is pretty straightforward and not what I'm having > trouble with. The problem is that it doesn't work in the ideal way. All > the math for positioning seems fine. However, the initial display often > times includes scrollbars - even when the LayoutPanel is sufficiently large > to contain the HorizontalPanel of images (ie. the ScrollPanel width and > height match the width and height of the HorizontalPanel!). > > I've tried deferring the onResize(), but that doesn't help. > > In debugging, I can see that while moving the edge of a window (during a > resize) that the height and width (gotten with getOffsetWidth() and > getOffsetHeight()) of the ScrollPanel is jumping around quite a bit. For > example, if the window is made narrower, the width doesn't smoothly > decrease. Instead it may increase and decrease (maybe I have a shaky > hand?). > > Anyway, is there a better way to do this? Any suggestions on the way I'm > doing it? > > Let browser do its work. Try then panel.add(image1); panel.add(image2); ... and set style float:left for images. -- Tomek -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Google compilation error
Out of the box you can only use java classes that are emulated by GWT: https://developers.google.com/web-toolkit/doc/latest/RefJreEmulation AWT and Swing are not emulated. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Direct client : NEW NEED - 12090 - Sr. Data Architect - OH
Hello folks, *No H1b* *Partners* -- *12090 - Sr. Data Architect - OH* *Location:* Columbus, OH area *Duration:* 6+ months *Start:* 3/2013 *Status:* USC / GC / EAD / JOB TITLE: Sr. Data Architect *MUST HAVES:* 1.Skills and demeanor to engage with senior business executives and partner with IT leaders, drive discussions to gather tactical and strategic business requirements, facilitate meetings across diverse groups to find gaps and opportunities across the organization and construct enterprise data models at conceptual, logical, and canonical levels to drive business needs to completion. 2.Expertise with industry standard models around Product domain and experience in implementing Product master data in a large healthcare organization. 3.High proficiency in data modeling tools such as Sybase Power Designer and/or Erwin is a must. 4.Candidate must have 15+ years of relevant experience in the data domain. *DESCRIPTION OF WORK:* Senior Data Architect, Data Modeler, and Data Analyst with skills and demeanor to engage with senior business executives and partner with IT leaders, drive discussions to gather tactical and strategic business requirements, facilitate meetings across diverse groups to find gaps and opportunities across the organization and construct enterprise data models at conceptual, logical, and canonical levels to drive business needs to completion. Expertise with industry standard models around Product domain and experience in implementing Product master data in a large healthcare organization using IBM MDM and SAP ECC technologies is highly desirable. High proficiency in data modeling tools such as Sybase Power Designer and/or Erwin is a must. Candidate must have 15+ years of relevant experience in the data domain. Past exposure to iSeries DB2 database is an added advantage. -- *Thanks ,* * * *Srinivas* * * *IT Recruiter* *Email: v...@inspirixtek.com* *Contact: 636-209-5062, * *Inspirix Technologies LLC, * *http://www.inspirixtek.com* Gtalk : sgabber07 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: empty "ghost" place token getting created
The same situation. I removed handlers but it didn't help. The problem in com.google.gwt.place.shared.PlaceHistoryHandler#tokenForPlace: if (defaultPlace.equals(newPlace)) { return ""; } Solution in using empty ("") token for default place. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
send event (click) to an external html page
Hi, first, excuse me for my poor english, but I'm french. I load an external page into a frame : final Frame frame = new Frame(url); The external page is from a public website. Can I send event to an element on this page, like click on a button, or fill a textfield ? Thx for help -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Overriding CSS styles in ResourceBundle
I have try to find good solution to partially override css styles of CssResources in ResourceBundle. In generally, I create my UI components and use simple components (like ValueBox) for constructing more complicated components (like DatePickerBox). >From begin, I use ResourceBundle instances for manage style of simple components. So, when they should be aggregated into complicated one, I have problem with fine styles adjusting. As posible decision, simple components has alternative constructor with ResourceBundle parameter. Using it, is possible to extend default ResourceBundle and override required styles. And now the problem in that I dont want reimplement all styles in my CssResource (where can be a lot of CSS classes). Usually, I need fine only several CSS classes. I found one solution, it work, but I cannot find confirmation for this trick in official documentation. I use @Import and @ImportedWithPrefix annotation for same scope and override some css styles using prefix. The ClientBundle for simple component. > *public interface* TestResources *extends* ClientBundle > > { > > @Source(TestCss.DEFAULT_CSS) > > TestCss css(); > > >> @CssResource.ImportedWithPrefix("tr") > > *interface* TestCss *extends* CssResource > > { > > String DEFAULT_CSS = "/client/test/test.css"; > > >> String imgStyle(); > > >> String frameStyle(); > > >> String textStyle(); > > } > > } >> > Default CSS clases are stored in default file "/client/test/test.css". > .frameStyle { > > border: 1px solid #00; > > margin: 10px; > > } > > >> .textStyle { > > font-size: 15px; > > color: red; > > background-color: #ffd700; > > } > > >> .imgStyle { > > border: 2px dashed green; > > } > > Override default styles, CHANGE ONLY IMAGE BORDER STYLE > *public interface* OverriddenTestResource *extends* TestResources > > { > > @CssResource.Import(TestCss.class) >> > @Source({TestCss.DEFAULT_CSS, "changedtest.css"}) > > TestCss css(); > > } > > The style changes is stored in additional file "changedtest.css". > .tr-imgStyle { > > border: 1px solid red; > > } > > Can some one confirm that it done in right way or just post link to related docs? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Dart with GWT
Hey guys, I put together a video on how to use Dart with GWT: http://news.dartlang.org/2013/02/dart-with-google-web-toolkit.html In it, I show a bunch of ways to interoperate such as: - Using GWT and Dart to manage different parts of the same page - Using Dart to retrieve JSON from a Java servlet - Using window.postMessage and JSNI to pass messages between GWT and Dart - Using JavaScript, JSNI, and Dart's js package for synchronous interoperability between GWT and Dart - Using CustomEvent objects and Elemental to pass messages between GWT and Dart I had a really good time using GWT and Dart to build the sample application, so I hope you enjoy the video! Best Regards, -jj -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Google compilation error
when i used class at http://www.javapractices.com/topic/TopicAction.do?Id=82 in my web application i got after gwt compilation this Compiling module com.se.ParametricAutomation Validating newly compiled units Ignored 2 units with compilation errors in first pass. Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. [ERROR] An internal compiler exception occurred com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:140) at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71) at com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:730) at com.google.gwt.dev.jjs.impl.BuildTypeMap.process(BuildTypeMap.java:821) at com.google.gwt.dev.jjs.impl.BuildTypeMap.access$700(BuildTypeMap.java:99) at com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.process(BuildTypeMap.java:325) at com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTypeMap.java:244) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:1198) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:687) at com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:637) at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514) at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:599) at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33) at com.google.gwt.dev.Precompile.precompile(Precompile.java:284) at com.google.gwt.dev.Precompile.precompile(Precompile.java:233) at com.google.gwt.dev.Precompile.precompile(Precompile.java:145) at com.google.gwt.dev.Compiler.run(Compiler.java:232) at com.google.gwt.dev.Compiler.run(Compiler.java:198) at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) at com.google.gwt.dev.Compiler.main(Compiler.java:177) [ERROR] : public interface java.awt.datatransfer.ClipboardOwner extends java.lang.Object /* methods */ public abstract void lostOwnership(java.awt.datatransfer.Clipboard, java.awt.datatransfer.Transferable) org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding [ERROR] at CopyPaste.java(11): class CopyPaste extends Object com.google.gwt.dev.jjs.ast.JClassType -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Problem with Column .getValue(T object) in CellTable.
Hi guys, I am trying to add a Column using TextInputCell into a CellTable. The code is like below: //the display data class: public class Foo { ... //the field to be used in CellTable int quantity; ... //setters and getters... public int getQuantity() { return quantity; } public void setQuantity(int quantity) { this.quantity = quantity; } ... } //In the entry point onModuleLoad(): CellTable cellTable = new CellTable(); final ListDataProvider dataProvider = new ListDataProvider(); Column quantityCol = new Column(cell) { @Override public String getValue(Foo object) { //format the integer with MyFormatter to add thousand separators. //e.g. 1000 -> 1,000 return MyFormatter.*addSeparator*(object.getQuantity()); } }; quantityCol.setFieldUpdater(new FieldUpdater() { @Override public void update(int index, Foo object, String value) { // remove thousand seperator, e.g. 1,000 -> 1000 // and set it back to the object. object.setQuantity(MyFormatter.*removeSeparator*(value)); //to refresh the display. dataProvider.refresh(); } }); //add this column to cellTable cellTable.addColumn(quantityCol, "Quantity"); //adds cellTable to the dataProvider. dataProvider.addDataDisplay(cellTable); //adds it to the RootPanel. RootPanel.get().add(cellTable); //creates a data object, and push it into dataProvider to display. Foo foo = new Foo(); foo.setQuantity(1000); dataProvider.getList().add(foo); *Problem*: The cellTable correctly shows a formatted value 1,000 in the TextInputCell after the page finished its loading. After I input a value, e.g. 10. the TextInputCell remained its display 10, rather than displaying a formatted value 100,000. I have debugged that getValue(Foo object) did get invoked after dataProvider.refresh(), and its return value is as correct as 100,000. I have tried using cellTable.redraw() instead of dataProvider.refresh(). It does not work either. The GWT version I am using is 2.5.0 release. Does anyone know why the TextInputCell never gets updated accordingly after Column.getValue(T object), or whether this is the right solution to use cases like above? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Space between widgets in FlowPanel ?
Here is a part of my code... FlowPanel txtBoxes = new FlowPanel(); txtBoxes.setWidth("100px"); final TextBox name = new TextBox(); name.setVisibleLength(30); txtBoxes.add(name); name.setSize("200px", "10px"); final TextBox media = new TextBox(); media.setVisibleLength(30); txtBoxes.add(media); media.setSize("200px", "10px"); final TextBox height = new TextBox(); height.setDirectionEstimator(false); height.setVisibleLength(30); txtBoxes.add(height); height.setSize("200px", "10px"); final TextBox width = new TextBox(); width.setVisibleLength(30); txtBoxes.add(width); width.setSize("200px", "10px"); On Wed, Feb 20, 2013 at 12:09 PM, Andy Stevko wrote: > Do you have a uibinder fragment that shows the widgets you are using? > > > > On Wed, Feb 20, 2013 at 11:05 AM, Kristian Lind wrote: > >> And how.. I tried diff ways, nothing works.. do you have an example >> >> >> On Wed, Feb 20, 2013 at 11:03 AM, Andy Stevko wrote: >> >>> padding the style? >>> >>> >>> On Wed, Feb 20, 2013 at 10:44 AM, Kris wrote: >>> Hi, How can I get spaces between widgets in FlowPanel ? I have google a while now, but couldn't find any solution, and can see a lot of other people have the same problem. I have a FlowPanel with text boxes.. and all are right on top of each other. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >>> -- >>> -- A. Stevko >>> === >>> "If everything seems under control, you're just not going fast enough." >>> M. Andretti >>> >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google Web Toolkit" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to google-web-toolkit+unsubscr...@googlegroups.com. >>> To post to this group, send email to google-web-toolkit@googlegroups.com >>> . >>> Visit this group at >>> http://groups.google.com/group/google-web-toolkit?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> Best regards >> >> Kristian Lind >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com. >> To post to this group, send email to google-web-toolkit@googlegroups.com. >> Visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > -- A. Stevko > === > "If everything seems under control, you're just not going fast enough." > M. Andretti > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Best regards Kristian Lind -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Space between widgets in FlowPanel ?
And how.. I tried diff ways, nothing works.. do you have an example On Wed, Feb 20, 2013 at 11:03 AM, Andy Stevko wrote: > padding the style? > > > On Wed, Feb 20, 2013 at 10:44 AM, Kris wrote: > >> Hi, How can I get spaces between widgets in FlowPanel ? I have google a >> while now, but couldn't find any solution, and can see a lot of other >> people have the same problem. >> I have a FlowPanel with text boxes.. and all are right on top of each >> other. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-web-toolkit+unsubscr...@googlegroups.com. >> To post to this group, send email to google-web-toolkit@googlegroups.com. >> Visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > -- A. Stevko > === > "If everything seems under control, you're just not going fast enough." > M. Andretti > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Best regards Kristian Lind -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Space between widgets in FlowPanel ?
Hi, How can I get spaces between widgets in FlowPanel ? I have google a while now, but couldn't find any solution, and can see a lot of other people have the same problem. I have a FlowPanel with text boxes.. and all are right on top of each other. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT 2.5.0-rc1 and eclipse (3.7 and 4.2) problems
> 3) AND clear the browser cache!! > Ah yeah makes sense. I have a local apache pointing to my IntelliJ project output and that local apache adds no-cache headers for hosted.html and proxies server requests to the backend (embedded jetty or external servlet container). So I do not have the caching issue and forgot about it. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Disable Chrome focus outline in general?
In your apps css file just add the below 2 lines. It will scour the outline off of everything. :focus {outline:none;} ::-moz-focus-inner {border:0;} On Tuesday, February 19, 2013 5:28:17 AM UTC-7, membersound wrote: > > Hi, > > how can I disable the yellow/orange Chrome focus outline border in general > on all objects, whatsoever they are? > > I already have the outline: none !important; property on eg gwt button, > input. But time and again I find components which suddently have again the > outline. Can I disable this in general? > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT 2.5.0-rc1 and eclipse (3.7 and 4.2) problems
Ok so the problem reappeared despite my comment above. This time the following procedure helped: 1) Stop DevMode server process 2) remove the IntelliJ Gwt Cache (including war//hosted.html) 3) AND clear the browser cache!! NOTE that ONLY removing the IntelliJ Gwt Cache (including war//hosted.html) did not do it. On 19.02.13 22:21, Jens wrote: Does the error go away when you delete the folder war/ ? I think your war//hosted.html page is maybe outdated and needs to be regenerated by GWT DevMode. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Robert Hoffmann, Phd -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Difficulties with addWindowClosingHandler in IE
link Adding return false; has the same result as calling event.preventDefault() * and* event.stopPropagation(). You can also do that on the href attribute directly I guess. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Difficulties with addWindowClosingHandler in IE
I have installed a WindowClosingHandler to catch when people leave my application without saving any data they have entered. In my application, some HTML text is stored in a database and displayed on a page. This text contains an element. When I click on this element, IE calls my window closing handler. I have read through https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/vaxeiEvNoUs which references called ClickEvent#preventDefault in a click handler to avoid this problem, but this is not possible since my code is not actually responding to the click event; it's the browser doing it in response to clicking on the element. Having the content come from the database is a strict requirement; it can't become part of the application. Is there any way to deal with this? It doesn't happen in Firefox or Chrome, but most of my users will likely be using IE. Thanks! Ryan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Are there any style templates?
GWT itself offers three styles: standard, clean, dark. Then there is a theme generator but I have really no idea how well it works as I have never tried it. Looks like it only changes the colors: http://gwt-theme-generator.appspot.com/ -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.