GWT Compilation Time Performance Improvement

2012-09-04 Thread Niraj Salot
Hi Members, We are using GWT Version 2.4 in our current project. On server side, we are using Spring Custom JDBC framework. We are using Maven as our Build Tool. The application is getting deployed on JBOSS 7 Server. Currently we have everything in one single Eclipse Project. Means one

Re: fundamental problems with predictive layout

2012-09-04 Thread Magnus
Hello, I have changed the composite widget to use just HTML/CSS, but the label is not visible (size 0) after adding the composite widgetto a LayoutPanel. In addition I have to hard code the height of the widget, without knowing how much height a button and a lable need in the different

Re: fundamental problems with predictive layout

2012-09-04 Thread Magnus
Am Montag, 3. September 2012 10:09:45 UTC+2 schrieb Ümit Seren: How about using nested LayoutPanels? Or if you don't want to use LayoutPanels all the way but need resizing in one of the inner widget you could wrap it in a

Re: fundamental problems with predictive layout

2012-09-04 Thread Magnus
Hello, I have changed the composite widget to use just HTML/CSS, but the label is not visible (size 0) after adding the composite widgetto a LayoutPanel. In addition I have to hard code the height of the widget, without knowing how much height a button and a lable need in the different

Re: CellTable, Custom Header and Focus Problem

2012-09-04 Thread Ümit Seren
Well the deffered command doesn't really work either properly, because it has a delay and that doesn't work when the user is typing fast. I ended up putting the search box in a separate div above the table and using CSS to align them and make them look like as if they were headers. There is an

Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Hilco Wijbenga
On 3 September 2012 23:10, Niraj Salot salotni...@gmail.com wrote: 1) Will this help us in Improving the compilation time? No. 2) IF we change only Module 2 and then compile Module Main, will GWT still compile Module 1 as it is inherited by Module Main? Yes. Please share your views on

Issue with flush when implementing a NullableSetEditor by wrapping a NullalbleListEditor

2012-09-04 Thread Jeff
HI, I spent a lot of time on the following issue but couldn't figure it out. Any clue is appreciated. Thanks! I have a working NullableStringListEditor implementation: public class NullableStringListEditor extends Composite implements IsEditorOptionalFieldEditor ListString, ListEditorString,

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

2012-09-04 Thread Thomas Broyer
On Tuesday, September 4, 2012 1:26:37 AM UTC+2, Craig Mitchell wrote: I'm a little confused. The way Tomas showed (above) used to work with Autocomplete, however, Chrome decided it wasn't going to play nice with that any more. The only solution I could find was to do a login with a

Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Thomas Broyer
On Tuesday, September 4, 2012 9:04:05 AM UTC+2, Hilco Wijbenga wrote: On 3 September 2012 23:10, Niraj Salot salot...@gmail.com javascript: wrote: 1) Will this help us in Improving the compilation time? No. 2) IF we change only Module 2 and then compile Module Main, will GWT

Re: Issue with flush when implementing a NullableSetEditor by wrapping a NullalbleListEditor

2012-09-04 Thread Thomas Broyer
You say you implemented flush() as a no-op, so it's no surprise it doesn't do what you expect, right? On Tuesday, September 4, 2012 9:08:16 AM UTC+2, Jeff wrote: HI, I spent a lot of time on the following issue but couldn't figure it out. Any clue is appreciated. Thanks! I have a

Developing a simple web application using Spring and GWT. Part 5 - UiBinder

2012-09-04 Thread Alex Tretyakov
Hello everyone! I have written a post about develoing such application with usage of UiBinder. Please, welcome! http://alextretyakov.blogspot.com/2012/08/using-uibinder.html -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Chris Lercher
Another possibility would be to replace some classes with stubs (- dependency injection) - only activating the functionality that is currently interesting. The rest doesn't need to be compiled. Of course it depends on the application's architecture, if this can be done easily or not. On

Re: Multipages with GTW

2012-09-04 Thread David
TabPanel or your own styled Anchors usually do the job. If your individual tabs need to be represented by urls ( i.e to bookmark them) then you may want to consider one of the MVP techniques to capture a url change. In Gwt this is generally done by using the same url ( so as not to incur a

Re: GWT Mobile App in Same WAR File

2012-09-04 Thread Alfredo Quiroga-Villamil
Dont have a pc here to send links, but look for the gwt sample mobile app. More specifically look for the MobileFactor.gwt.xml, that I think is the file name if my memory serves me right. You will essentially sprinkle some js code in your x.gwt.xml. The js will setup some variables that you can

Re: fundamental problems with predictive layout

2012-09-04 Thread Andrei
When you add a widget to a LayoutPanel, it automatically takes the entire space within that LayoutPanel, unless you use .setWidgetTopHeight or similar methods to specify which part of the LayoutPanel this widget should occupy. If your FlowPanel has size 0, this means that your LayoutPanel has

Re: enable closure compiler

2012-09-04 Thread Alex opn
Yep. You got it : ) Am Dienstag, 28. August 2012 10:45:53 UTC+2 schrieb Henrik Aasted Sørensen: Alex, Could it be this post? https://plus.google.com/110412141990454266397/posts/ACHHv2KSBCD Regards Henrik On Monday, August 27, 2012 11:56:44 PM UTC+2, Alex opn wrote: In my case

Re: Not able to use Celltable for a requirement where I need different widgets under one column.

2012-09-04 Thread David
Sorting and pagination can merely be implemented as glorified Anchors whose job is to reload your table after performing an rpc request for different criterion. On Sunday, September 2, 2012 5:43:43 AM UTC-4, Saurabh Tripathi wrote: Hi all, I am stuck here with a requirement which is

Re: Editor with ListBox in UiBinder

2012-09-04 Thread Drew Spencer
Did you guys get anywhere with this? I'm learning the Editor Framework and my ValueListBox only contains the actual value - how do I make it so that I populate the list with a predefined set of values, and select the actual value as selected? I'm using GWTP. My code for my UiFactory:

Re: CellTable does not appear when used in CellList (or CellTable) as part of a custom widget

2012-09-04 Thread Ümit Seren
Because the way CellWidget's are designed it's not possible to simply use Widgets as Cells in CellWidgets. Instead of a CellList you can come up with an own widget that looks behaves like a CellList and can contain widgets. On Monday, September 3, 2012 9:53:05 AM UTC+2, ben wrote: Hello, I

Re: fundamental problems with predictive layout

2012-09-04 Thread Magnus
Hi Andrei, I can verify that the LayoutPanel is not zero sized! It's about 400px x 60px. It's only the label that gets height 0, not the button. I would be glad I could copy the generated HTML from the Firefox inspection panel, but this is not possible. However, I tried the following: I

Re: fundamental problems with predictive layout

2012-09-04 Thread Magnus
Hi, I managed to copy the generated HTML code with chrome. The outer div is the AbsolutePanel that acts as the intermediate panel between the LayoutPanel and the widget: div style=position: relative; overflow: hidden; border: 1px solid rgb(0, 255, 0); cls=AbsoluteInCell div style=border:

Re: RequestFactory collects request calls after onConstraintViolation response

2012-09-04 Thread Manuel Schrag
Thank you for your response!! - fire() once without the rejectBankCheck to validate the proxies, then if OK create a new RequestContext, edit the proxies, call rejectBankCheck and fire again This approach worked for me in that case! Cheers -- You received this message because

Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Abraham Lin
What could possibly help is to precompile the modules into *.gwtar files, but it's something that's supposed to only be used by GWT itself (you'll find such gwtar files in the gwt-user.jar) AFAIK. At least it's not designed to build libraries, as the gwtar files depend on the version of

Re: GWT Maps V3 Api, clearing directions

2012-09-04 Thread Deepak Singh
I want to use this library. I have lattitude and longitude with me and i need to show the location on the map. Also, need to find the nearest locations based on lattitue/longitude. I went through the docs but could not understand the right class to be used. Can you give me some sample code ?

GWT DeckLayoutPanel sliding to a NEW (not-rendered-yet) widget? Doesn't work

2012-09-04 Thread Navigateur
I can't seem to slide to a new, not-rendered-yet widget added to a DeckLayoutPanel, no matter what I try. It appears without the slide transition if it's never been rendered before. However, when I do showWidget(...) back and forward to the new widget, then the slide transition works fine.

Re: Issue with flush when implementing a NullableSetEditor by wrapping a NullalbleListEditor

2012-09-04 Thread Jeff
Hi Thomas, In the original post, I forgot to mention that, I tried the following flush() implementation but it didn't make a difference: @Override public void flush() {wrappedEditor.asEditor().flush();} I am not sure what else I can do within flush() since the only member variable of the class

Re: Issue with flush when implementing a NullableSetEditor by wrapping a NullalbleListEditor

2012-09-04 Thread Thomas Broyer
On Tuesday, September 4, 2012 5:49:01 PM UTC+2, Jeff wrote: Hi Thomas, In the original post, I forgot to mention that, I tried the following flush() implementation but it didn't make a difference: @Override public void flush() {wrappedEditor.asEditor().flush();} I am not sure what else

Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Gal Dolber
You could also move the compilation process to a bigger machine on the cloud and then if you need to run the compiled site locally do a script to download the content. That improved a lot the compilation time for me. You can also try doing distributed builds (I personally never tried), but here

Re: DevMode for Firefox 14

2012-09-04 Thread Alan Leung
Please uninstall and download from the official website. The one hosted there is the official build without any debug symbol. -Alan On Sun, Sep 2, 2012 at 5:28 PM, Charles Huang hjbol...@gmail.com wrote: Hi Alan, I'm running Firefox 14 on my Fedora 16 64-bit machine, after upgrade to the

Firefox 15 and dev mode plug-in

2012-09-04 Thread Hristo Stoyanov
... well, here we go again. FF15 has been pushed out. Does anyone tried the dev plugin that Alan Leung maintains for FF15? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Firefox 15 and dev mode plug-in

2012-09-04 Thread Juan Pablo Gardella
See https://groups.google.com/forum/#!msg/google-web-toolkit/QIKcaRoCzfc/hXW8ED9XM5gJ 2012/9/4 Hristo Stoyanov hr.stoya...@gmail.com ... well, here we go again. FF15 has been pushed out. Does anyone tried the dev plugin that Alan Leung maintains for FF15? -- You received this message

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

2012-09-04 Thread Brian Slesinsky
Tracking bug: http://code.google.com/p/google-web-toolkit/issues/detail?id=7648 On Tuesday, August 28, 2012 7:13:27 PM UTC-7, Brian Slesinsky wrote: 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,

Re: GWT FileUpload

2012-09-04 Thread Thad
Check the Javadoc: FormPanel.SubmitCompleteEvent getResults() does not return XML, it returns HTML. Your HttpServletResponse should call setContentType(text/html) and you should return HTML or plain text, not XML. If you try to return an XML, the results will vary between browsers. I

CellList - clicking an item makes the other list items disappear?

2012-09-04 Thread markww
Hi, I'm trying to implement a CellList. It works ok, but when I click an item, it seems like all other items in the list are destroyed, and I'm left with the clicked item in the upper left corner of the screen. Here's my setup: CellList list = new CellListFoo(cell);

Re: CellList - clicking an item makes the other list items disappear?

2012-09-04 Thread markww
My fault, my custom cell implementation was a copy-paste from the contacts demo. I commented out the closing table tag which was messing things up. On Tuesday, 4 September 2012 18:44:44 UTC-4, markww wrote: Hi, I'm trying to implement a CellList. It works ok, but when I click an item, it

Re: [gwt-contrib] Cleanup: is IE6 JNI really needed?

2012-09-04 Thread Daniel Kurka
Am 03.09.2012 um 17:15 schrieb Thomas Broyer t.bro...@gmail.com: On Mon, Sep 3, 2012 at 2:39 PM, John A. Tamplin j...@jaet.org wrote: On Mon, Sep 3, 2012 at 4:44 AM, Thomas Broyer t.bro...@gmail.com wrote: Also, while I understand the usefulness of the pings (I'll rollback my changes in

Re: [gwt-contrib] Remove long-deprecated event listeners and EventPreview. (issue1822803)

2012-09-04 Thread Ray Cromwell
Thomas, thanks for all of the work on this, but we will have to delay this until after we get the open-source git/gerrit repo up and running. A preliminary investigation of internal Google apps shows a bunch of them still relying on EventListener, so we'll have to create an uber-patch to fix all

Re: [gwt-contrib] Remove long-deprecated event listeners and EventPreview. (issue1822803)

2012-09-04 Thread Stephen Haberman
give internal teams a lead time to fix their usages first Haven't these been deprecated since ~2008? How much more lead time is necessary? Is there a @NoSeriouslyWeReallyMeanItDeprecated annotation we should use instead? Even with the new process, if google-vendor is going to diverge from

Re: [gwt-contrib] Remove long-deprecated event listeners and EventPreview. (issue1822803)

2012-09-04 Thread John A. Tamplin
On Tue, Sep 4, 2012 at 6:48 PM, Stephen Haberman step...@exigencecorp.comwrote: give internal teams a lead time to fix their usages first Haven't these been deprecated since ~2008? How much more lead time is necessary? Is there a @NoSeriouslyWeReallyMeanItDeprecated annotation we should

Re: [gwt-contrib] Remove long-deprecated event listeners and EventPreview. (issue1822803)

2012-09-04 Thread Ray Cromwell
In ordinary cases where there is no API change, I don't think the problem is so severe. But removing APIs, even deprecated ones, is always hard, just look at the Web and the debates over vendor prefixes. At Google we do have tools that help with 'company wide refactoring', the EventListener issue