Re: Embedding an external site into my GWT app

2013-05-14 Thread Craig Mitchell
That looks good to me. I did it this way: contentHeight = IFrameElement.as(yourFrame.getElement()).getContentDocument().getScrollHeight(); However, this will only work if the pages are in the same domain due to security. See

IE8 enormous memory consumption

2013-05-14 Thread Borys Zibrov
Hi! We've got an application on GWT 2.5.0 + GXT 3.0.4 with one main page, containing a big table (like Excel) and a couple of heavy popups (implemented using GXT Windows). It works reasonably good at Chrome, FF, and IE9 but is incredibly slow in IE8. Memory consumption on opening the main

How can I integrate things like the twitter 'tweet button'?

2013-05-14 Thread Mohammad Al-Quraian
Basically, I want to use something like this: https://twitter.com/about/resources/buttons#tweet I found this page which suggests loading the script at the beginning, then using jquery to look for certain elements and then renders relevant elements:

Re: IE8 enormous memory consumption

2013-05-14 Thread Jens
IE8 is just a different beast than IE9. As IE9 is a lot faster than IE8 I would guess they changed a lot internally and these changes also account for the memory difference you are seeing. IE9 is just more efficient than IE8. I think you cant really change anything about it but I would be

Re: How can I integrate things like the twitter 'tweet button'?

2013-05-14 Thread Thomas Broyer
On Tuesday, May 14, 2013 1:37:21 PM UTC+2, Mohammad Al-Quraian wrote: Basically, I want to use something like this: https://twitter.com/about/resources/buttons#tweet I found this page which suggests loading the script at the beginning, then using jquery to look for certain elements and

Re: IE8 enormous memory consumption

2013-05-14 Thread Borys Zibrov
Yeah, I now it is faster, I just wish there was something I could do On Tuesday, May 14, 2013 2:39:51 PM UTC+3, Jens wrote: IE8 is just a different beast than IE9. As IE9 is a lot faster than IE8 I would guess they changed a lot internally and these changes also account for the memory

Re: IE8 enormous memory consumption

2013-05-14 Thread David
Hi, IE8 consumes a lot of memory, especially in combination with GXT. GXT relies on opacity which is know to consume a lot of memory in IE8. GWT uses of DXTransform to enable alpha blending for PNGs. In fact it will even constantly consume CPU power when you use the Image class. If you don't

Re: Slotted - A Slot/Nesting Extension to Activities and Places

2013-05-14 Thread V.B.
Great, thank you! v2 sounds like exactly what we need. Do you have any estimate about when you might release v2? -- 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

why is my class not serializable?

2013-05-14 Thread Dennis Haupt
i deactivated the rpc blacklist the class has a default contructor and no final fields is it directly used in an rpc method there is no error message during compilation i have no idea what the reason could be. any ideas? -- You received this message because you are subscribed to the Google

Re: How can I integrate things like the twitter 'tweet button'?

2013-05-14 Thread Mohammad Al-Quraian
Wow that was easier than I expected. One question though, should I inject the script at the beginning of the app or when I instantiate the presenter? I'm expecting the code of the sharing provider to be accessed quite often. -- You received this message because you are subscribed to the Google

Re: why is my class not serializable?

2013-05-14 Thread Boris Lenzinger
Can you post the code of the class and the message of the exception please ? It would help to understand the problem i think. Boris Le 14 mai 2013 17:09, Dennis Haupt d.haup...@gmail.com a écrit : i deactivated the rpc blacklist the class has a default contructor and no final fields is it

Re: why is my class not serializable?

2013-05-14 Thread Juan Pablo Gardella
It does implement Serializable? 2013/5/14 Dennis Haupt d.haup...@gmail.com i deactivated the rpc blacklist the class has a default contructor and no final fields is it directly used in an rpc method there is no error message during compilation i have no idea what the reason could be. any

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
please assume that i have already checked the dumb errors. i have about 200 serializable classes here, so i know how it works (usually...) the error message is the one that says not included in the list of serializable types. i don't see how posting the code would help without providing access to

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
can i debug *why* the class is not included? 2013/5/14 Dennis Haupt d.haup...@gmail.com please assume that i have already checked the dumb errors. i have about 200 serializable classes here, so i know how it works (usually...) the error message is the one that says not included in the list

Re: why is my class not serializable?

2013-05-14 Thread Jens
Sounds dumb too but does class MyClass implements MyInterface, Serializable work? I can hardly remember that I have done something like this once to make GWT pick up MyClass in the whitelist although MyInterface extends Serializable too. -- J. -- You received this message because you are

Re: why is my class not serializable?

2013-05-14 Thread Boris Lenzinger
Did you try by just including step by step the class ? I mean just add an empty class and check if it is working. I know you made a lot of classes so you are skilled. So I guess this is a silly problem. Perhaps restarting from scratch may highlight the issue. Le 14 mai 2013 17:24, Dennis Haupt

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
i'm removing fields step by step now (since it has only 3) 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com Did you try by just including step by step the class ? I mean just add an empty class and check if it is working. I know you made a lot of classes so you are skilled. So I guess

Re: why is my class not serializable?

2013-05-14 Thread Boris Lenzinger
Consider also the interface other than serializable. It must be somerhung around those things... Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a écrit : i'm removing fields step by step now (since it has only 3) 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com Did you try by

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
the package the problematic class is in cannot access the gwt classes, so it must use serializable. but i have done this several times now, it always worked. removing all fields fixed the problem. why doesn't the gwt complain about the fields at all, if they are the problem? 2013/5/14 Boris

Re: why is my class not serializable?

2013-05-14 Thread Boris Lenzinger
Are the type of your fields available on the client side ? Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a écrit : the package the problematic class is in cannot access the gwt classes, so it must use serializable. but i have done this several times now, it always worked. removing all

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
yes, the compiler can access them. i use the classes in an rpc call 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com Are the type of your fields available on the client side ? Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a écrit : the package the problematic class is in cannot

Re: How can I integrate things like the twitter 'tweet button'?

2013-05-14 Thread Thomas Broyer
On Tuesday, May 14, 2013 5:11:26 PM UTC+2, Mohammad Al-Quraian wrote: Wow that was easier than I expected. One question though, should I inject the script at the beginning of the app or when I instantiate the presenter? I'm expecting the code of the sharing provider to be accessed quite

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
does it matter if the fields are interfaces? 2013/5/14 Dennis Haupt d.haup...@gmail.com yes, the compiler can access them. i use the classes in an rpc call 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com Are the type of your fields available on the client side ? Le 14 mai 2013 17:40,

Re: why is my class not serializable?

2013-05-14 Thread Boris Lenzinger
Are they serializable ? Or is their implementation serialiazable ? Try to replace for test purpose with a string for instance to identify faulty fields. Le 14 mai 2013 17:54, Dennis Haupt d.haup...@gmail.com a écrit : does it matter if the fields are interfaces? 2013/5/14 Dennis Haupt

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
yes, they are all serializable 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com Are they serializable ? Or is their implementation serialiazable ? Try to replace for test purpose with a string for instance to identify faulty fields. Le 14 mai 2013 17:54, Dennis Haupt d.haup...@gmail.com

Re: why is my class not serializable?

2013-05-14 Thread Boris Lenzinger
And you have already used them in rpc calls ? Sorry for those basic questions but it is to be sure that, before searching for complex things, simple one have been discarded. Le 14 mai 2013 17:59, Dennis Haupt d.haup...@gmail.com a écrit : yes, they are all serializable 2013/5/14 Boris

Re: Slotted - A Slot/Nesting Extension to Activities and Places

2013-05-14 Thread Jeffrey Kleiss
I will create a release candidate this weekend, which contains all the features that will be in the final release. I will then be working on the documentation over the next couple months, and then make the final release once all the documentation is done. On Tue, May 14, 2013 at 6:56 AM, V.B.

Re: why is my class not serializable?

2013-05-14 Thread Travis
Every time I get this it is because I have coded a constructor that takes args, but forgot to add a no-arg constructor for rpc to use. On Tuesday, May 14, 2013 8:08:14 AM UTC-7, HamsterofDeath wrote: i deactivated the rpc blacklist the class has a default contructor and no final fields is it

Re: why is my class not serializable?

2013-05-14 Thread Tomek Kańka
W dniu wtorek, 14 maja 2013 22:14:51 UTC+2 użytkownik Travis napisał: Every time I get this it is because I have coded a constructor that takes args, but forgot to add a no-arg constructor for rpc to use. Oh, this happens to me once every month:). I suspected some fault in my brain, but I

Re: I/O 2013 - GWT Sessions?

2013-05-14 Thread Craig Mitchell
I'd have to agree with Rob on that one! :-) Looks like there are two sessions: GWT Roadmap for the Future: https://developers.google.com/events/io/sessions/327833110 Demystifying MVP and EventBus in GWT: https://developers.google.com/events/io/sessions/331474237 On Monday, March 11, 2013

[gwt-contrib] Do you guys need help in translation, Arabic language specifically?

2013-05-14 Thread Mohammad Al-Quraian
I want to try and help improve GWT, and I was wondering if that is possible. I noticed for instance in the Simple Pager, the words are still in English even when the selected locale is Arabic. -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message

[gwt-contrib] Change in gwt[master]: Workaround JSONTest failure in Firefox 17

2013-05-14 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Workaround JSONTest failure in Firefox 17 .. Patch Set 2: Code-Review+1 (1 comment) Did you have any chance of looking at the -draft JS to try to understand

[gwt-contrib] Change in gwt[master]: Workaround JSONTest failure in Firefox 17

2013-05-14 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Workaround JSONTest failure in Firefox 17 .. Patch Set 2: Yeah, this is the best workaround I have at the moment. The infuriating thing is the test

[gwt-contrib] Change in gwt[master]: Add SafeUri overloads for setting properties used for naviga...

2013-05-14 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Add SafeUri overloads for setting properties used for navigation .. Patch Set 4: Bah, let's go with getSafeHref then… -- To view, visit

[gwt-contrib] Change in gwt[master]: Add SafeUri overloads for setting properties used for naviga...

2013-05-14 Thread Matthew Dempsky
Matthew Dempsky has posted comments on this change. Change subject: Add SafeUri overloads for setting properties used for navigation .. Patch Set 4: Just to be clear though, we already fixed our internal users to

[gwt-contrib] Change in gwt[master]: Add SafeUri overloads for setting properties used for naviga...

2013-05-14 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Add SafeUri overloads for setting properties used for navigation .. Patch Set 4: I just looked at what we did back when we added SafeUri: we added

[gwt-contrib] Change in gwt[master]: Adds isStandalone to ImageResource so Image can used an Uncl...

2013-05-14 Thread Thomas Broyer
Hello Matthew Dempsky, Goktug Gokdogan, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2110 to look at the new patch set (#4). Change subject: Adds isStandalone to ImageResource so Image can used an UnclippedState.

[gwt-contrib] Change in gwt[master]: Adds isStandalone to ImageResource so Image can used an Uncl...

2013-05-14 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Adds isStandalone to ImageResource so Image can used an UnclippedState. .. Patch Set 3: (2 comments) * Fixed ImageResourceCellTest by using

[gwt-contrib] Change in gwt[master]: Adds isStandalone to ImageResource so Image can used an Uncl...

2013-05-14 Thread Thomas Broyer
Hello Matthew Dempsky, Goktug Gokdogan, I'd like you to reexamine a rebased change. Please visit https://gwt-review.googlesource.com/2110 to look at the new rebased patch set (#5). Change subject: Adds isStandalone to ImageResource so Image can used an UnclippedState.

[gwt-contrib] Change in gwt[master]: Workaround JSONTest failure in Firefox 17

2013-05-14 Thread Thomas Broyer
Thomas Broyer has submitted this change and it was merged. Change subject: Workaround JSONTest failure in Firefox 17 .. Workaround JSONTest failure in Firefox 17 For some reason, calling JSONValue.isNull() sometimes returns

[gwt-contrib] Change in gwt[master]: Workaround JSONTest failure in Firefox 17

2013-05-14 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Workaround JSONTest failure in Firefox 17 .. Patch Set 2: Code-Review+2 Let's merge this then. Ideally, we'll try to track down the issue later, or assume the

[gwt-contrib] Change in gwt[master]: Make sub/superclass queries in JTypeOracle more efficient.

2013-05-14 Thread John Stalcup
John Stalcup has posted comments on this change. Change subject: Make sub/superclass queries in JTypeOracle more efficient. .. Patch Set 4: Code-Review+1 (8 comments) seems like it would be nice to have a test to show that

[gwt-contrib] Change in gwt[master]: makes GWT boolean flags togglable

2013-05-14 Thread John Stalcup
John Stalcup has posted comments on this change. Change subject: makes GWT boolean flags togglable .. Patch Set 1: yeah i was hesitant to change public class names since it would introduce the danger of breaking some

[gwt-contrib] Change in gwt[master]: Add SafeUri overloads for setting properties used for naviga...

2013-05-14 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Add SafeUri overloads for setting properties used for navigation .. Patch Set 4: Actually I'm not much concerned about the breaking part, it is an easy

[gwt-contrib] Change in gwt[master]: Adds isStandalone to ImageResource so Image can used an Uncl...

2013-05-14 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Adds isStandalone to ImageResource so Image can used an UnclippedState. .. Patch Set 5: (2 comments)