DockLayoutPanel.getOffsetHeight return zero even after calling forceLayout()

2012-03-28 Thread tong123123
there is a simplePanel and the simplePanel add a DockLayoutPanel called AdvancedSearchPanel. in the AdvancedSearchPanel constructor, the width is set to 100% and height to 1800px. then there is a menu item and when it is clicked, I try to add the AdvancedSearchLogsPanel() to simplePanel and

Re: GWT history handling library - give it a try

2012-03-28 Thread Thomas Broyer
On Tuesday, March 27, 2012 5:36:21 PM UTC+2, Kostya Kulagin wrote: Simple open source etc library for automatical handling of GWT components state in URL (browser history). Contains sample application which demonstrates its usage. Give it a try :)

Re: Code Coverage : How to configure cobertura and selenium with Gwt Client project for code coverage

2012-03-28 Thread Thomas Broyer
I never used it. I know GWT can be built with EMMA enabled for the tests (ant -Demma.enabled=true), I haven't run it for a while but I believe it still works. The patch is here, with the instructions for re-building EMMA in the README.txt:

Re: GWT Celltable : How to avoid entering particular value in editTextCell- column- Celltable?

2012-03-28 Thread vaibhav gwt
Thanks for reply. How to cancel key events for spaces when in edit mode? On Mar 27, 8:52 pm, Thomas Broyer t.bro...@gmail.com wrote: Answered on SO:http://stackoverflow.com/questions/9891671/gwt-celltable-how-to-avoid... On Tuesday, March 27, 2012 3:55:38 PM UTC+2, vaibhav gwt wrote:

Re: GWT Celltable : How to avoid entering particular value in editTextCell- column- Celltable?

2012-03-28 Thread Thomas Broyer
On Wednesday, March 28, 2012 10:50:05 AM UTC+2, vaibhav gwt wrote: Thanks for reply. How to cancel key events for spaces when in edit mode? Answered on SO. Could we please stop this silly cross-posting? -- You received this message because you are subscribed to the Google Groups Google

Re: GWT Performance : Good or Bad ?

2012-03-28 Thread Raphael André Bauer
On Wed, Mar 28, 2012 at 12:51 AM, Joseph Lust lifeofl...@gmail.com wrote: My company just completed a very large intranet UI using GXT. The overall lesson learned was don't use GWT. For the most part it was much slower and the model used in GXT did not extend well to our MVP setup. Perhaps GXT

Re: DockLayoutPanel.getOffsetHeight return zero even after calling forceLayout()

2012-03-28 Thread tong123123
the code is attached as follow: public class ALS implements EntryPoint { ScrollPanel basePanel = new ScrollPanel(); DockLayoutPanel baseDockLayoutPanel = new DockLayoutPanel(Unit.PX); SimplePanel simpleContentPanel = new SimplePanel(); public void onModuleLoad()

Re: does any Breedcrumb widget in gwt 2.4?

2012-03-28 Thread Derek
I used a tablayoutpanel for my breadcrumb bar in a project where i needed breadcrumbs. just style the tabs to be plain text. On Mar 27, 11:11 am, tong123123 tong123...@gmail.com wrote: anyone know? On Friday, March 16, 2012 2:52:30 PM UTC+8, tong123123 wrote: Hi, is there

Re: Code Coverage : How to configure cobertura and selenium with Gwt Client project for code coverage

2012-03-28 Thread dodo dard
I've work with GWT and Selenium separately, But to make Selenium work, basically you have set and unique id to the component that you want to test. But then for Cobertura, I dont know -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: GWT history handling library - give it a try

2012-03-28 Thread Kostya Kulagin
Hi! Thanks for the response - personally I like critisism very much. Noone perfect (this is about myself). Comments inlined I tend to not trust projects that have an empty source repository and only provide downloads. I generally take it as a sign that the developer doesn't use a VCS, and so

Re: GWT Performance : Good or Bad ?

2012-03-28 Thread dodo dard
Finally, I've made my application faster. The idea is not using GridRenderer and prepared the model in the server. For example I write img src=http:/foo/toto.jpg/ in the server than create an Image object in the client. Like I said, the target application is IE8 (not very performance), and by

Re: does any Breedcrumb widget in gwt 2.4?

2012-03-28 Thread tong123123
Oh, would you mind to share the code? On Wednesday, March 28, 2012 1:27:35 PM UTC+8, mukarev wrote: I didn't find a breadcrumb too. So I had to build one on my own -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion

Re: DockLayoutPanel.getOffsetHeight return zero even after calling forceLayout()

2012-03-28 Thread skippy
I have had this problem before. The widget needs to be visible before it knows the size atributes. Here is some code that might help you. you need to schedule a deferred commad. Do some searched to understand object. Hope this helps! public static void adjustHeight(final DockLayoutPanel

Re: GWT history handling library - give it a try

2012-03-28 Thread Thomas Broyer
On Wednesday, March 28, 2012 4:42:07 PM UTC+2, Kostya Kulagin wrote: As for the general approach (from what I can read from the wiki pages), I don't think it really works. Do you really want to save the open/close state of each tree item in the browser's history? Navigating the app

Re: Code Coverage : How to configure cobertura and selenium with Gwt Client project for code coverage

2012-03-28 Thread Joseph Lust
Thomas, Thanks for the tip. I'll rebuild GWT and Emma when I get home with these flags tonight. Sincerely, Joseph -- 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: GWT history handling library - give it a try

2012-03-28 Thread Joseph Lust
Speaking of GoogleCode projects, did anyone else notice last week when they removed the Activity bar graph from the left hand side of project landing pages? Perhaps this was because most GoogleCode projects were in the low category. It would be nice to be able to get that back as it was a quick

Aspect Security / Sonatype Study - GWT Vunlerabilities

2012-03-28 Thread Geoffrey Wiseman
This study by Aspect Security and Sonatype is making the rounds, and implies that GWT is the most-downloaded component in Maven central with security vulnerabilities: http://www.sonatype.com/Products/Sonatype-Insight/Why-Insight/Mitigate-Security-Risks/Security-Brief I've asked, but I'm curious

Re: Aspect Security / Sonatype Study - GWT Vunlerabilities

2012-03-28 Thread Geoffrey Wiseman
On Wednesday, March 28, 2012 11:10:44 AM UTC-4, Geoffrey Wiseman wrote: This study by Aspect Security and Sonatype is making the rounds, and implies that GWT is the most-downloaded component in Maven central with security vulnerabilities:

Re: Errer after GWT 2.4 upgrade.

2012-03-28 Thread skippy
Looks like my problem is related to the Crome-Frame installed but disabled, I have not seen a complete workaround. Does anyone have an update? Issue 6665:GWT2.4RC applies wrong DOMImpl with disabled chrome frame On Mar 27, 3:31 pm, skippy al.leh...@fisglobal.com wrote: I upgraded to GWT

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-28 Thread Deepak Singh
The reason is that Gmail does not allow to be opened in Frame/IFrame. When i replace it with browser window, it works. But i dont want my page to be refreshed, so any solution to avoid reloading the window in case of Gmail authentication ? Thanks Deepak On Wed, Mar 28, 2012 at 7:04 AM, Joseph

How to get page state

2012-03-28 Thread Deepak Singh
Hi, At some point of time, i have to reload the window (After login through Gmail authentication), so i want that the page should be loaded in the same state as it was before login. how can i save the state of the entire page and come back to the same state after login ? Thanks Deepak Singh --

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-28 Thread Thomas Broyer
Window.open() ? On Wednesday, March 28, 2012 6:15:47 PM UTC+2, Deepak Singh wrote: The reason is that Gmail does not allow to be opened in Frame/IFrame. When i replace it with browser window, it works. But i dont want my page to be refreshed, so any solution to avoid reloading the window

Re: GWT history handling library - give it a try

2012-03-28 Thread Chris Price
@Joseph apparently it was a performance issue - http://code.google.com/p/support/issues/detail?id=24324 On Wed, Mar 28, 2012 at 4:09 PM, Joseph Lust lifeofl...@gmail.com wrote: Speaking of GoogleCode projects, did anyone else notice last week when they removed the Activity bar graph from the

Re: Errer after GWT 2.4 upgrade.

2012-03-28 Thread skippy
Just some more details on the problems. This is when you use IE8 with Crome-Frame installed but not enabled. We recommend Crome-Frame for our application because of the poor performance of IE and grid tables. This looks like an old problem, yet little activity to correct it. I have tried the

Re: How to get page state

2012-03-28 Thread Andy Stevko
Using MVP places - I try not to reload the browser window but rather redirect to a new Place + parameters (mypage.html#authreturnpage?x=ya=b) with the same base URI. The browser takes in the url load as an event within the same application context so you don't loose state. Plus its easy to

Listening for ScrollBars from Browsers :: Dynamic Resize

2012-03-28 Thread Ashton Thomas
I have a layout that dynamically resizes via: Window.addResizeHandler(new ResizeHandler() { However, this is NOT fired when the browsers adds the scroll bars once the UI has dynamically added content to extend the browser's screen So my app is fine when it first loads and the content doesn't

DatePicker UTC

2012-03-28 Thread Thomas Lefort
I need the datepicker to render the date in UTC and not the local format. Is there any simple way to do so? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To

Re: How to get page state

2012-03-28 Thread Deepak Singh
I dont use MVP at all in my project. I use plain html with UIBinder and does hide and show with htmlpanels. So whats the option for me in this case ? On Wed, Mar 28, 2012 at 11:08 PM, Andy Stevko andy.ste...@gmail.com wrote: Using MVP places - I try not to reload the browser window but rather

Re: GMail authentication with GWT + GAE - works in development but fails in production

2012-03-28 Thread Deepak Singh
Hi Thomas, I can not use Window.open() because after successful login, Gmail redirects user to the same window and there is no option to close the window automatically after login. On Wed, Mar 28, 2012 at 10:11 PM, Thomas Broyer t.bro...@gmail.com wrote: Window.open() ? On Wednesday,

Re: How to get page state

2012-03-28 Thread Jens
You don't have that many options if you have to reload your site: - store your state in the URL if possible (GWT's Place feature can help you do so, you don't have to use MVP/Activities) - store it using HTML 5 Web Storage (browser support: http://caniuse.com/#search=web storage) - store it in

Re: How to get page state

2012-03-28 Thread Michael Allan
Jens said: You don't have that many options if you have to reload your site: - store your state in the URL if possible (GWT's Place feature can help you do so, you don't have to use MVP/Activities) - store it using HTML 5 Web Storage (browser support: http://caniuse.com/#search=web

[gwt-contrib] Inflate and Deflate on writeObject (issue1672803)

2012-03-28 Thread acleung
Reviewers: cromwellian, Description: Inflate and Deflate on writeObject Please review this at http://gwt-code-reviews.appspot.com/1672803/ Affected files: M dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java M dev/core/src/com/google/gwt/dev/util/DiskCache.java Index:

[gwt-contrib] Re: Inflate and Deflate on writeObject (issue1672803)

2012-03-28 Thread cromwellian
LGTM, but I wonder if we should hide it behind a flag, e.g. if(Boolean.parseBoolean(getProperty(gwt.diskcache.compress, false))) { // compression code } else { // no compression } http://gwt-code-reviews.appspot.com/1672803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors