Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Alp Yilancioglu
Hi, i am using loading image for loading process in my project, when communicating between client and server loading screen shows up perfectly, unfortunetly, during code block executions on client side, ( lets say a code block which takes 2 seconds to process ) the loading screen do not

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Jens
You probably do too heavy work in your code so that the browser can not show the loading dialog (your work blocks the only JavaScript thread that also renders the web page). You could wrap your heavy work in a Scheduler.get().scheduleDeferred() which should give the browser enough time to show

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Alp Yilancioglu
13 Şubat 2013 Çarşamba 11:39:36 UTC+2 tarihinde Jens yazdı: You probably do too heavy work in your code so that the browser can not show the loading dialog (your work blocks the only JavaScript thread that also renders the web page). You could wrap your heavy work in a

Re: GWT 2.5.0-rc1 on IPad not firing click events

2013-02-13 Thread Jens
Safari on iOS 6/6.1 has some JavaScript bugs that can break your app randomly on iPad/iPhone. Take a look at https://groups.google.com/d/topic/google-web-toolkit-contributors/O8JFu_D8Gjc/discussion where I have listed some cross references to iOS 6 issues with Safari. When you try Google

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Jens
What I mean is code like Scheduler.get().scheduleDeferred(. RootPanel.get().add(labelA); RootPanel.get().add(labelB); ...) RootPanel.get().add(... labelC...) will probably result in an UI: labelC labelA labelB because the deferred command is executed after any other code completes. But

Re: Generating a single .js library with GWT

2013-02-13 Thread Marcos Scriven
Thanks for the suggestion - in my particular case though I was looking to create a JS library. One that didn't touch the DOM at all. Thus there should be no variations I believe? So I arbitrarily chose 'safari' (As the 'webkit' agent). Marcos On Wednesday, February 13, 2013 12:53:26 AM UTC,

Re: Immediatly execute DOM dependent code lines in a code block on client

2013-02-13 Thread Alp Yilancioglu
13 Şubat 2013 Çarşamba 12:14:50 UTC+2 tarihinde Jens yazdı: What I mean is code like Scheduler.get().scheduleDeferred(. RootPanel.get().add(labelA); RootPanel.get().add(labelB); ...) RootPanel.get().add(... labelC...) will probably result in an UI: labelC labelA labelB because

Re: Ignoring unresolvable annotation type

2013-02-13 Thread Till Brychcy
A late answer (I just had the problem myself): To get rid of the warning, you have to make sure that the classpath for running com.google.gwt.dev.Compiler also contains the compiled annotations (corresponding .class file) Am Mittwoch, 1. Juni 2011 21:32:56 UTC+2 schrieb randasin: I have one

Building gwt-2.4

2013-02-13 Thread Alexander Cherednichenko
Hi guys! I'm trying to build google web toolkit 2.4; need to try a thing with the legacy code. I am following the steps in 'Making gwt better', took GWT from http://google-web-toolkit.googlecode.com/svn/releases/2.4 I am using tools from http://google-web-toolkit.googlecode.com/svn/tools

Re: Building gwt-2.4

2013-02-13 Thread Alexander Cherednichenko
Hi again. I managed to build that with jdk 1.6. Looks like generic treatment has changed a little from 1.6 to 1.7 Works now like a charm. Regards, Alex. On Wednesday, 13 February 2013 16:12:33 UTC+2, Alexander Cherednichenko wrote: Hi guys! I'm trying to build google web toolkit

Re: GWT RPC future ?

2013-02-13 Thread stuckagain
Thomas, I just read the article on how they improved parsing time in flickr ... really simplistic and a big surprise that the split trick is as fast as native json parsing! Would such an approach be usable for a generic object serialisation/deserialisation approach ? David On Wednesday,

Trying to understand the relationship between Activities, (Async)DataProviders and sorted data

2013-02-13 Thread JahSon
I've having trouble understanding the best way to organize my object relationships and code flow with GWT. I'm finding a few of the examples leave a lot to be desired and do a poor job illustrating proper usage of the API (for example why does this

Serialization policy error

2013-02-13 Thread Richárd Harangozó
Hy, I have a problem when I want to use https in gwt: ERROR: The serialization policy file 'https://localhost:8443/Site/app/42E2AA39BEDF91DF0BC28849CEB69CDB.gwt.rpc' was not found; did you forget to include it in this deployment? ERROR: Failed to get the SerializationPolicy

Re: GWT RPC error with GWT 2.0.3

2013-02-13 Thread Zied Hamdi OneView
Hi Prakash, Thanks for the reply: I saw the same error because I'm caching some data in my cookie (that's the wanted behavior) Is it normal that all cookie content is sent to the server on each request? On Monday, September 20, 2010 3:32:49 PM UTC+1, Prakash wrote: Check your cookies and

Re: GWT Advice

2013-02-13 Thread Ashton Thomas
At a very high-level I think you need to start with the offline data issue and define exactly what your requirements are for supporting offline. - I haven't had a chance to go through all of this but may help + http://www.youtube.com/watch?v=Oic22dQMRXQ - Also, I think we are in a critical time

GWT 2.5.1-rc1 available

2013-02-13 Thread Matthew Dempsky
Hi everyone, We're excited to announce the GWT 2.5.1-rc1 release candidate! There will be an announcement soon on the GWT Bloghttp://googlewebtoolkit.blogspot.com/, and you can download it herehttps://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.5.1-rc1.zip. This release

Re: Not receiving Event in Activity's EventHandler without Scheduler.scheduleDeferred

2013-02-13 Thread andy_p1
Any thoughts? Or is this a really stupid question? -- 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

Re: GWT Maven plugin: how to?

2013-02-13 Thread Rob
Hi, Take a look at the following posts: - http://kiahu.com/tutorial/generate-a-skeleton-project-using-gwt-and-maven/ - http://kiahu.com/tutorial/debugging-with-gwt-maven-and-eclipse/ - http://kiahu.com/tutorial/working-with-gwt-maven-and-intellij-idea/ -

Re: DataGrid Issue : Deferred binding failed for 'com.google.gwt.user.client.ui.NativeHorizontalScrollbar.ResourcesTransparant'; expect subsequent failures

2013-02-13 Thread Reuben S
Fast forward to February 2013, I am having the exact same problem but only when compiling in dev mode and only if doing so from eclipse... On Tuesday, July 3, 2012 5:06:38 PM UTC-4, Matthew Wiley wrote: Thanks for pointing this out. I had the exact same problem. On Wednesday, December 14,

Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-13 Thread Rob
Hi, Do you intend to use dependency injection (GIN and Guice)? There is a discussion re form-factor support is this post: - http://kiahu.com/tutorial/form-factor-support-with-gin-and-guice/ Are you going to use any third party UI toolkits (GXT, Smart GWT, mgwt)? There is a discussion re MVP

Re: DataGrid Issue : Deferred binding failed for 'com.google.gwt.user.client.ui.NativeHorizontalScrollbar.ResourcesTransparant'; expect subsequent failures

2013-02-13 Thread Reuben S
Which again got resolved by rearranging the project classpath. Thanks. On Wednesday, February 13, 2013 4:10:38 PM UTC-5, Reuben S wrote: Fast forward to February 2013, I am having the exact same problem but only when compiling in dev mode and only if doing so from eclipse... On Tuesday,

Re: Not receiving Event in Activity's EventHandler without Scheduler.scheduleDeferred

2013-02-13 Thread Jens
Its not a stupid question. Other people also stumbled upon this. On your EventBus a PlaceChangeEvent is fired when you want to switch places. The ActivityManager listens for this event and calls Activity.start() on the new activity. That means Activity.start() is called inside an event

Query regarding integrating external scripts like Chitika

2013-02-13 Thread sachin sreenivasan
Hi All, I am trying to integrate Chitika program into my GWT project. Here is the script: script type=”text/javascript” ch_client = “DEMO”; ch_width = 550; ch_height = 250; ch_type = “mpu”; ch_sid = “Chitika Default”; ch_backfill = 1; ch_color_site_link = “cc”; ch_color_title = “cc”;

Re: GWT Advice

2013-02-13 Thread Rob
Hi, - GWT (e.g. deferred binding, declarative UI, ...) - GWTP (MVP, form-factor support), Gin and Guice (dependency injection) - UI, you have several options: GWT, mgwt (mobile/tablet form-factors), GXT (desktop form-factor), smart GWT, ... - Restlet: it has GWT support (as does RestyGWT) GWT +

Re: GWT 2.1 cell table paging bug?

2013-02-13 Thread JahSon
On Friday, January 6, 2012 7:27:48 AM UTC-5, Emilian Bold wrote: I agree. The current GWT pagination seems to be more of a workaround. They try to avoid having less items on the last page because it might change the layout and the pager position. What should actually happen is that the

Re: GWT 2.1 cell table paging bug?

2013-02-13 Thread JahSon
If you want the table height to remain consistent, couldn't you wrap the table in a containing element (e.g. div) of a fixed height? That way, if you display the pager directly underneath the table for example, it will always stay in the same spot and just the table itself will shrink. I

Re: Trying to understand the relationship between Activities, (Async)DataProviders and sorted data

2013-02-13 Thread JahSon
After a day of sitting on this I decided to throw out the AbstractDataProvider implementation I wrote and modify my Activity to handle RangeChangeEvents itself. Then I manually update the display myself through accessor methods of the view implementation. Perhaps it was always meant to be

Re: GWT 2.1 cell table paging bug?

2013-02-13 Thread JahSon
If you want the table height to remain consistent, couldn't you wrap the table in a containing element (e.g. div) of a fixed height? That way, if you display the pager directly underneath the table for example, it will always stay in the same spot and just the table itself will shrink. I

Re: GWT 2.1 cell table paging bug?

2013-02-13 Thread JahSon
If you want the table height to remain consistent, couldn't you wrap the table in a containing element (e.g. div) of a fixed height? That way, if you display the pager directly underneath the table for example, it will always stay in the same spot and just the table itself will shrink. I

Re: [gwt-contrib] GWT and WebKit issues

2013-02-13 Thread Jens
Am Freitag, 8. Februar 2013 21:21:00 UTC+1 schrieb John A. Tamplin: On Fri, Feb 8, 2013 at 3:02 PM, Jens jens.ne...@gmail.com javascript:wrote: Also an option but one of the main problems I had while trying to rewrite a++ was that I couldn't figure out how to change operator precedence.

Re: [gwt-contrib] GWT and WebKit issues

2013-02-13 Thread John A. Tamplin
On Wed, Feb 13, 2013 at 5:02 AM, Jens jens.nehlme...@gmail.com wrote: Am Freitag, 8. Februar 2013 21:21:00 UTC+1 schrieb John A. Tamplin: On Fri, Feb 8, 2013 at 3:02 PM, Jens jens.ne...@gmail.com wrote: Also an option but one of the main problems I had while trying to rewrite a++ was that

Re: [gwt-contrib] GWT and WebKit issues

2013-02-13 Thread Jens
b.$f = (a = a + a, a - 1); Typo: b.$f = (a = a + 1, a - 1); -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop

Re: [gwt-contrib] GWT and WebKit issues

2013-02-13 Thread Jens
Ok I have tried it again but replacing a++ with Roberto's version only solves some issues. Also tried to replace ++a, a-- and --a using the corresponding replacement strategy but some issues still remain. So its not a viable solution. To make our app run reliably on Safari 6 we have to stick

[gwt-contrib] Change in gwt[master]: Enables wrapping of un-serializable exceptions in web mode.

2013-02-13 Thread Goktug Gokdogan
Goktug Gokdogan has abandoned this change. Change subject: Enables wrapping of un-serializable exceptions in web mode. .. Abandoned Submitted -- To view, visit https://gwt-review.googlesource.com/1890 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: Prevents GWTTestCase to become zombie when communication wit...

2013-02-13 Thread Goktug Gokdogan
Goktug Gokdogan has abandoned this change. Change subject: Prevents GWTTestCase to become zombie when communication with backend fails. .. Abandoned Submitted -- To view, visit https://gwt-review.googlesource.com/1880 To

Re: [gwt-contrib] GWT and WebKit issues

2013-02-13 Thread Roberto Lublinerman
Just bear in mind that a++ == (a = a + 1, a -1) only if a does not have side effects (which I suspect is always the case but I am not sure). Roberto Lublinerman | Software Engineer | rlu...@google.com | 408-500-9148 On Wed, Feb 13, 2013 at 3:23 AM, Jens jens.nehlme...@gmail.com wrote: b.$f

[gwt-contrib] Change in gwt[master]: Introduce ImmutableAnnotations to reduce memory usage.

2013-02-13 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Introduce ImmutableAnnotations to reduce memory usage. .. Patch Set 2: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/1920 To

[gwt-contrib] Change in gwt[master]: Makes JsInliner run on functions that are JSNI or that conta...

2013-02-13 Thread Roberto Lublinerman
Roberto Lublinerman has uploaded a new change for review. https://gwt-review.googlesource.com/1930 Change subject: Makes JsInliner run on functions that are JSNI or that contain JSNI calls (not on the whole AST). ..

[gwt-contrib] Change in gwt[master]: Run JsInliner only on methods that are JSNI or that contain ...

2013-02-13 Thread Roberto Lublinerman
Roberto Lublinerman has uploaded a new patch set (#2). Change subject: Run JsInliner only on methods that are JSNI or that contain JSNI calls (not on the whole AST). .. Run JsInliner only on methods that are JSNI or that

[gwt-contrib] Change in gwt[master]: Run JsInliner only on methods that are JSNI or that contain ...

2013-02-13 Thread Roberto Lublinerman
Roberto Lublinerman has uploaded a new patch set (#3). Change subject: Run JsInliner only on methods that are JSNI or that contain JSNI calls (not on the whole AST). .. Run JsInliner only on methods that are JSNI or that

[gwt-contrib] Change in gwt[master]: Run JsInliner only on methods that are JSNI or that contain ...

2013-02-13 Thread Roberto Lublinerman
Roberto Lublinerman has uploaded a new patch set (#4). Change subject: Run JsInliner only on methods that are JSNI or that contain JSNI calls (not on the whole AST). .. Run JsInliner only on methods that are JSNI or that

[gwt-contrib] Change in gwt[master]: Run JsInliner only on methods that are JSNI or that contain ...

2013-02-13 Thread Ray Cromwell
Ray Cromwell has posted comments on this change. Change subject: Run JsInliner only on methods that are JSNI or that contain JSNI calls (not on the whole AST). .. Patch Set 4: Code-Review+1 (3 comments) Any data on

[gwt-contrib] Change in gwt[master]: Run JsInliner only on methods that are JSNI or that contain ...

2013-02-13 Thread Roberto Lublinerman
Hello Ray Cromwell, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/1930 to look at the new patch set (#5). Change subject: Run JsInliner only on methods that are JSNI or that contain JSNI calls (not on the whole AST).

[gwt-contrib] Change in gwt[master]: Run JsInliner only on methods that are JSNI or that contain ...

2013-02-13 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Run JsInliner only on methods that are JSNI or that contain JSNI calls (not on the whole AST). .. Patch Set 4: (3 comments) I have measured the

[gwt-contrib] Change in gwt[master]: Adds test cases for uncaught exception handling in GWTTestCa...

2013-02-13 Thread Goktug Gokdogan
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/1940 Change subject: Adds test cases for uncaught exception handling in GWTTestCase. .. Adds test cases for uncaught exception

[gwt-contrib] Change in gwt[master]: Run JsInliner only on methods that are JSNI or that contain ...

2013-02-13 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Run JsInliner only on methods that are JSNI or that contain JSNI calls (not on the whole AST). .. Patch Set 5: There are tests internally that measure