Re: SuggestBox implementation

2012-08-28 Thread Ümit Seren
public class CustomSuggestOracle extends SuggestOracle{ ListCustomSuggestion citySugggestions = null; @Override public void requestSuggestions(Request request, Callback callback) { Response response = new

Re: FlowPanel problem.

2012-08-28 Thread Antoine Lever
float: left worked perfectly - thank you very much! On Saturday, August 25, 2012 4:55:59 AM UTC+1, Alfredo Quiroga-Villamil wrote: This should be of help: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#LayoutPanels HorizontalPanel is a bit trickier. In some

Re: FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-28 Thread Chris Lercher
I analyzed this a bit more (this time on Linux), and I noticed, that the number of Thread also grows: 1 thread per reload. Again, this happens only with Firefox, not with Chrome. So probably the ClassLoader references will be discarded only when the Thread terminates... One more thing that

Re: FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-28 Thread Thomas Broyer
In other words: it looks like the Firefox plugin doesn't send a QuitMessage to the DevMode, and worse, is kept alive in the background! On Tuesday, August 28, 2012 11:05:38 AM UTC+2, Chris Lercher wrote: I analyzed this a bit more (this time on Linux), and I noticed, that the number of

Maven gwt module dependency with an other gwt module dependency

2012-08-28 Thread Saik0
Hi @all i'm have an issue with maven and external jars as gwt module jars. Given is the following project structure: 1) Root Projekt : gwt-main 2) Singe GWT View : gwt-viewer-test 3) Model : gwt-model The Root Projekt use the gwt-viewer-test and gwt-model project. The gwt-model project is

SOLVED - Re: CellTable - Synchronization problem with AsyncDataProvider

2012-08-28 Thread Magnus
Hi, I'm sorry, but I made a stupid mistake. I set both row data and row count within on RangeChanged, but I only used the (correct) user filter when fetching the row data via RPC call. When fetching the row count via RPC call I used a new, empty user filter, so the count was wrong. Sorry for

How to size a widget for optimal presentation?

2012-08-28 Thread Magnus
Hello, I have a Widget SelectionField, which extends Composite and contains a label and a button, within a HorizontalPanel. The label should always occupy all the horizontal space that is available besides the button. I tried to set its width to 100%. I also tried around with RequiresResize

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-28 Thread Fille
Is there any reason for not using just gwt HTML or somthing else with @UiHandler(loginButton) to make a RPC-call for log in? Ex: UiBinder: g:HTMLPanel g:TextBox ui:field=username / g:PasswordTextBox ui:field=password / g:HTML ui:field=loginButton LOGIN /g:HTML /g:HTMLPanel

Re: [gwt-visualization-api] Export chart to image

2012-08-28 Thread Victor
Renato Beserra renatobeserra@... writes: Hi guys,My team is working on an application that uses Google Image Chart api to generate a few charts. We are finishing a new analysis component and the number of generated charts will increase a lot. So, we'd like to use a more sofisticated

Best practices waiting for DOM parsing

2012-08-28 Thread Joseph Lust
I wanted to ask the community's opinion on the best practice for waiting for a DOM resource to become available. Use Case: You make an elaborate component via UiBinder or injecting some HTML/SVG into the DOM and upon executing the following statement trying to access an element that was

Re: Best practices waiting for DOM parsing

2012-08-28 Thread Chris Price
I was under the impression that all DOM manipulation calls are synchronous, are you sure it's not GWT using the Scheduler under the hood to run some of your code asynchronously? Can you give some example code? On Tue, Aug 28, 2012 at 2:33 PM, Joseph Lust lifeofl...@gmail.com wrote: I wanted to

Re: DART vs. GWT

2012-08-28 Thread dhoffer
+1 Very well said. On Monday, August 27, 2012 9:33:36 AM UTC-6, Ryan Shillington wrote: Google is an incubator. They throw a lot of darts at the wall to see what sticks (pun intended). When you have 10 irons in the fire, one or 2 of them are bound to glow hot. There's no reason to

Re: How to size a widget for optimal presentation?

2012-08-28 Thread Jens
First pnl.setWidth(100%); and instead of lbl_Tournament.setWidth(200px) I think you should do pnl.setCellWidth(btn_Select, 50px); btn_Select.setWidth(100%); This should limit the cell that contains the button to fixed 50px width and as you have not specified any width for the label cell and

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-28 Thread Derek
Hi Seth, I personally am not a fan of Spring. I'm generally not a fan of anything that says, First, create a bunch of XML files (GWT excepted :) ). That's why I gravitated to Guice for all my DI needs. That said, Guice and Spring aren't quite the same thing, and you could leverage both of

Re: Clear Cell table data

2012-08-28 Thread lucky
Can any one help me on this? On Monday, 11 June 2012 21:13:45 UTC+5:30, lucky wrote: How to clear celltable data when i click on the Button 'Clear'? i tried with cellTable.setRowCount(0); and private void clearTable() { if (dataProvider.getDataDisplays() != null

Parsing error after update WebCore Elemental

2012-08-28 Thread Cristian Rinaldi
I updated WebCore (third_party) from de Dart Project and when run build script the following error occurs: Traceback (most recent call last): File ./scripts/elemental_fremontcutbuilder.py, line 217, in module sys.exit(main()) File ./scripts/elemental_fremontcutbuilder.py, line 214, in

Re: Best practices waiting for DOM parsing

2012-08-28 Thread Alfredo Quiroga-Villamil
Hi Joseph: Not as familiar with SVG as I am with Canvas, but I am thinking that you can likely (assuming I interpreted the documentation correctly) hook into the SVG load event. Do investigate this, as I am not sure, but below are a couple of sources. Take a look at SVGLoad, perhaps you can use

Re: FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-28 Thread Brian Slesinsky
Thanks, I think I can do something about this. On Tue, Aug 28, 2012 at 2:15 AM, Thomas Broyer t.bro...@gmail.com wrote: In other words: it looks like the Firefox plugin doesn't send a QuitMessage to the DevMode, and worse, is kept alive in the background! On Tuesday, August 28, 2012 11:05:38

Re: DART vs. GWT

2012-08-28 Thread Chris Lercher
About Dart: - I really (!) hope that Dart will succeed. - Ideally, Dart would even become the new JavaScript alternative in all browsers (however, AFAIK a few browser vendors have signaled, that this ain't gonna happen). If not, then it could maybe still be successful with dart2js. About GWT:

Editor Framework and BeanValidation (setConstraintViolations problem).

2012-08-28 Thread Ümit Seren
I am trying to get the Editor Framework to work with BeanValidation (JSR303) (GWT 2.4) for client side validation and run into an issue. Validation works fine. I want to use the Editor's built in capability to display errors (i.e ValueBoxEditorDecorator). However the EditorDriver interface

Metro UI Windows 8 with GWT

2012-08-28 Thread Allahbaksh
Dear All, Whether you are aware of any gwt library using which we can develop Windows 8 based applications. Warm Regards, Allahbaksh -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

GWT 2.5 and IBM JVM problems

2012-08-28 Thread Adolfo Panizo Touzon
Hi all, Someone can update us about the problems with GWT 2.5 and IBM JVM?? Related posts: https://groups.google.com/forum/#!msg/gwt-steering/WGs-uiyHQA8/Te0hEfj5miEJ http://code.google.com/p/google-web-toolkit/issues/detail?id=7530 Any news are very welcome... Thanks in advance, Adolfo. --

GWT 2.4.0 - DataGrid - Differentiating between single click and double clicks on rows

2012-08-28 Thread dave_mcgee
Hi there, I am currently picking up on a row selection (single click) in a DataGrid using NoSelectionModel (As seen below). This works fine and I perform a certain action based on this selection. However, I also want to pick up on when a user double clicks a row in this data grid. Does anyone

Re: GWT 2.4.0 - DataGrid - Differentiating between single click and double clicks on rows

2012-08-28 Thread Juan Pablo Gardella
See https://groups.google.com/forum/?hl=trfromgroups=#!topic/google-web-toolkit/j_HF85Mqhnk 2012/8/28 dave_mcgee daveomc...@gmail.com Hi there, I am currently picking up on a row selection (single click) in a DataGrid using NoSelectionModel (As seen below). This works fine and I perform a

Re: Editor Framework and BeanValidation (setConstraintViolations problem).

2012-08-28 Thread Thomas Broyer
On Tuesday, August 28, 2012 5:11:20 PM UTC+2, Ümit Seren wrote: I am trying to get the Editor Framework to work with BeanValidation (JSR303) (GWT 2.4) for client side validation and run into an issue. Validation works fine. I want to use the Editor's built in capability to display

Request for change of access control of CellTree.BasicStyle

2012-08-28 Thread Thad
A request/suggestion: In a future release, can com.google.gwt.user.cellview.client.CellTree.BasicStyle be made public? It's a bit of a bother to have to extend and modify com.google.gwt.user.cellview.client.CellTree.Style and hack all of CellTree.css when all I want to do is modify one thing

Re: Override body style with CssResource

2012-08-28 Thread Charles Chan
I looked at the way the CSS files are loaded. Sure enough, the standard.css file is loaded first and then my custom CSS is loaded. Although the end result is what I want (my styles override the standard ones), the user will see the standard styles in a split second before they see my styles.

Re: Override body style with CssResource

2012-08-28 Thread Jens
You can inherit StandardResources.gwt.xml instead of Standard.gwt.xml. When you do so, only the images used by the standard theme will be copied to your app folder and no CSS will be automatically included in your host page. Then you create a new css file and copy everything from gwt's theme to

Re: How to insert a new row in to a DataGrid

2012-08-28 Thread Claire
Hi, Is anyone able to assist with my query please? Thanks. On Thursday, August 23, 2012 8:13:10 PM UTC+1, Claire wrote: Hi, I have a button assigned to the onClick method. Within this method I add a new element to the list, reset the data grid row count by calling

Re: GWT 2.5 and IBM JVM problems

2012-08-28 Thread Brian Slesinsky
Nobody is currently working on it. Perhaps someone should rebuild GWT using the IBM JDK to see if that's the issue. Setting serialVersionUID in all the Serializable compiler classes seems like a reasonable idea except that I wonder why removing the gwtar files didn't help? There shouldn't be

Re: Best practices waiting for DOM parsing

2012-08-28 Thread Joseph Lust
@Chris Price Thanks, I'll try to put together a simple demo. The only trouble is that this only happens on quite complex UI's, but I'll try to distill it down to it's essence. @Alfredo The issues I found with SVG is that these events are not well supported. For example, in Mozilla,

Re: Best practices waiting for DOM parsing

2012-08-28 Thread Joseph Lust
@Chris Price Thanks, I'll try to put together a simple demo. The only trouble is that this only happens on quite complex UI's, but I'll try to distill it down to it's essence. @Alfredo The issue I found with SVG is that these events are not well supported. For example, in Mozilla,

how to write a 2D game by using GWT and html5.

2012-08-28 Thread Joey
I want to write a simple animated 2D game by using GWT and HTML5. The game basically needs to keep running several animations all the time, but I do not know what libraries or techniques I should use to achieve this. Based on my experience in GWT so far, I know I can just use plain GWT and

Re: how to write a 2D game by using GWT and html5.

2012-08-28 Thread Chris Price
Have you looked at PlayN? http://code.google.com/p/playn/ On Tue, Aug 28, 2012 at 8:51 PM, Joey lihaizhou...@hotmail.com wrote: I want to write a simple animated 2D game by using GWT and HTML5. The game basically needs to keep running several animations all the time, but I do not know what

Re: GWT 2.5 and IBM JVM problems

2012-08-28 Thread Daniel Kurka
I still don`t really get the issue since this is only an issue while developing GWT (am I right?) As far as I know the jars we are packing (gwt-servlet,...) do not depend on a certain JVM. Can people who need an IBM JVM running for their servers not simply use the -noserver option with an Oracle

GwtQuery 1.2.0 was released

2012-08-28 Thread Julien Dramaix
Dear GWT community, The GQuery team is proud to announce the version 1.2.0 of the library. We have been working hard in order to fix many issues and to achieve a closed jQuery API. Thanks for all contributors sending, fixing and testing the library. What's new :

Re: GwtQuery 1.2.0 was released

2012-08-28 Thread Alain Ekambi
Good job as always ! Keep it up. 2012/8/28 Julien Dramaix julien.dram...@gmail.com Dear GWT community, The GQuery team is proud to announce the version 1.2.0 of the library. We have been working hard in order to fix many issues and to achieve a closed jQuery API. Thanks for all

GwtChosen: make your select boxes much more user-friendly

2012-08-28 Thread Julien Dramaix
Dear community, I just released the first version of GwtChosen. GwtChosen is the entire rewritte in Google Web Toolkit of the Chosen component (http://harvesthq.github.com/chosen/) making this nice component available for all GWT developers. It is available as a +GwtQuery plugin or as a

Re: Request for change of access control of CellTree.BasicStyle

2012-08-28 Thread Thomas Broyer
On Tuesday, August 28, 2012 6:54:32 PM UTC+2, Thad wrote: A request/suggestion: In a future release, can com.google.gwt.user.cellview.client.CellTree.BasicStyle be made public? It's a bit of a bother to have to extend and modify com.google.gwt.user.cellview.client.CellTree.Style and hack

Re: GwtChosen: make your select boxes much more user-friendly

2012-08-28 Thread Juan Pablo Gardella
Great work! Thanks for sharing!! Juan 2012/8/28 Julien Dramaix julien.dram...@gmail.com Dear community, I just released the first version of GwtChosen. GwtChosen is the entire rewritte in Google Web Toolkit of the Chosen component

Re: GWT 2.5 and IBM JVM problems

2012-08-28 Thread Thomas Broyer
On Tuesday, August 28, 2012 10:17:41 PM UTC+2, Daniel Kurka wrote: I still don`t really get the issue since this is only an issue while developing GWT (am I right?) As far as I know the jars we are packing (gwt-servlet,...) do not depend on a certain JVM. Can people who need an IBM JVM

Re: GwtChosen: make your select boxes much more user-friendly

2012-08-28 Thread koma
looks great.. will definitely try it! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gr2GL0QhTqsJ. To post to this group, send email to

Re: GWT 2.5 and IBM JVM problems

2012-08-28 Thread Brian Slesinsky
On Tuesday, August 28, 2012 1:45:42 PM UTC-7, Thomas Broyer wrote: On Tuesday, August 28, 2012 10:17:41 PM UTC+2, Daniel Kurka wrote: I still don`t really get the issue since this is only an issue while developing GWT (am I right?) As far as I know the jars we are packing

Re: FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-28 Thread Brian Slesinsky
Does the connection leak happen with all plugins (other than GWT) disabled? On Tuesday, August 28, 2012 7:57:37 AM UTC-7, Brian Slesinsky wrote: Thanks, I think I can do something about this. On Tue, Aug 28, 2012 at 2:15 AM, Thomas Broyer wrote: In other words: it looks like the Firefox

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-28 Thread GWTter
Hi Derek, After do some more research and receiving some more advice from others and another helpful answer on SO I'll be going with Spring (I agree about the XML, but they have introduced/incorporated more annotations since the earlier versions). However what you detailed still makes a lot of

Re: FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-28 Thread Chris Lercher
Yes. I disabled all Add-Ons: All Extensions (except for the GWT Extension) and all Plugins, and restarted Firefox. On Wednesday, August 29, 2012 12:12:03 AM UTC+2, Brian Slesinsky wrote: Does the connection leak happen with all plugins (other than GWT) disabled? -- You received this

Re: GwtChosen: make your select boxes much more user-friendly

2012-08-28 Thread Chris Lercher
Very useful. Great widget. On Tuesday, August 28, 2012 10:34:09 PM UTC+2, Julien Dramaix wrote: Dear community, I just released the first version of GwtChosen. GwtChosen is the entire rewritte in Google Web Toolkit of the Chosen component (http://harvesthq.github.com/chosen/) making this

how to write a 2D game by using GWT and html5.

2012-08-28 Thread Andrei
I love GWT, but I think it's the wrong choice for a simple game. Take a look at my game: www.playgrape.com. I did it in jQuery using canvas. It has its own physics engine with collision detection, etc., and the total size of the game is less than 6kB (plus jQuery). Even a simple GWT app will

SmartScreen Filter performance issue in IE8

2012-08-28 Thread KamBha
Hi, In IE8, our GWT application seems to suffer significant slowdown when we have slow PCs and smart screen filter on. Profiling the code, it looks like the problem is with com.google.gwt.user.client.impl.DOMImpl.setEventListener. We are generating a very large amount of HTML when we assign

Re: Login form auto-complete and GWT-RPC (or RequestBuilder), a solution!

2012-08-28 Thread Craig Mitchell
Just for autocomplete. If you don't care about autocomplete, I'd recommend doing it as you say with GWT RPC. On Tuesday, 28 August 2012 22:19:37 UTC+10, Fille wrote: Is there any reason for not using just gwt HTML or somthing else with @UiHandler(loginButton) to make a RPC-call for log

Re: Override body style with CssResource

2012-08-28 Thread Charles Chan
Thank you Jens. That's exactly what I missed (StandardResources). Instead of making the modified css as pat of my ClientBundle, I serve it as a flat CSS file. It works perfectly! I thought this should be a rather common thing to do but apparently not Charles On Tuesday, August 28, 2012

Re: Best serverside architecture(framework/stack) to use with GWT for large application...please show me the light

2012-08-28 Thread James
Would you give the detail about how to handle history using GIN, Activity and Place. Is it possible to implement GWT-platform way? Thanks, James, On Tuesday, August 28, 2012 10:12:43 AM UTC-4, Derek wrote: Hi Seth, I personally am not a fan of Spring. I'm generally not a fan of anything

Re: Cloning EntityProxies

2012-08-28 Thread El Mentecato Mayor
This works! Thanks. (just wanted to state that for the record). On Thursday, April 12, 2012 11:57:27 AM UTC-4, gwtomni gwtomni wrote: try with this: AutoBeanT oldBean = AutoBeanUtils.getAutoBean(oldProxy); AutoBeanT newBean =

Re: FF DevMode plugin + Memory leaks (+ Address already in use)

2012-08-28 Thread Brian Slesinsky
Reproduced the thread leak in the Firefox 15 release that I'm working on. (On a Mac; using jps to list the threads.) On Tuesday, August 28, 2012 3:31:10 PM UTC-7, Chris Lercher wrote: Yes. I disabled all Add-Ons: All Extensions (except for the GWT Extension) and all Plugins, and restarted

[gwt-contrib] Use c.g.g.core.shared.GWT in shared code. (issue1818803)

2012-08-28 Thread t . broyer
Reviewers: skybrian, Message: For inclusion in GWT 2.5 Description: Use c.g.g.core.shared.GWT in shared code. Issue 7527 Please review this at https://gwt-code-reviews.appspot.com/1818803/ Affected files: M user/src/com/google/gwt/dom/builder/shared/ElementBuilderFactory.java M

[gwt-contrib] Re: Use c.g.g.core.shared.GWT in shared code. (issue1818803)

2012-08-28 Thread jat
LGTM, as far as it goes However, when you use GWT.create in non-client code, there is some setup you need to do - you have to create the ServerGwtBridge, set the deferred binding properties (either globally or per-thread), and you need to register any ClassInstantiators you need for the various

[gwt-contrib] Re: Use c.g.g.core.shared.GWT in shared code. (issue1818803)

2012-08-28 Thread t . broyer
On 2012/08/28 13:17:58, jtamplin wrote: LGTM, as far as it goes However, when you use GWT.create in non-client code, there is some setup you need to do - you have to create the ServerGwtBridge, set the deferred binding properties (either globally or per-thread), and you need to register

[gwt-contrib] Re: Use c.g.g.core.shared.GWT in shared code. (issue1818803)

2012-08-28 Thread skybrian
LGTM, but I'm not going to be able to submit this right away. (Working on Firefox plugin.) https://gwt-code-reviews.appspot.com/1818803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] devmode for Firefox 15

2012-08-28 Thread John A. Tamplin
On Mon, Aug 27, 2012 at 7:35 PM, Brian Slesinsky skybr...@google.comwrote: While I'm here, does anyone know what the deal is with 32-bit versus 64-bit architecture on the Mac? It looks like we only have one Darwin directory per gecko version under plugin-sdks, unlike Linux where we have both

Re: [gwt-contrib] devmode for Firefox 15

2012-08-28 Thread Brian Slesinsky
Yep, figured it out. I'll have a new release out soon (after some testing). On Tue, Aug 28, 2012 at 9:23 PM, John A. Tamplin j...@jaet.org wrote: On Mon, Aug 27, 2012 at 7:35 PM, Brian Slesinsky skybr...@google.com wrote: While I'm here, does anyone know what the deal is with 32-bit versus