Re: Dynamically generated HTML and GWT

2013-06-03 Thread David
Hi, OK, I forgot about that part - I once had to go through these issues as well but forgot soon after. You need to subclass HTMLPanel and SubmitButton to get what you want. The HTMLPanel only supports adding widgets to existing HTML elements, not just make an Element into a widget without

Thanks to all your help: german census results online

2013-06-03 Thread tanteanni
Hi there, https://ergebnisse.zensus2011.de/?locale=en shows not only germany's census results but it is also a gwt in life example. For me it was my first big public web project. The best of all choices i did was to take gwt. It was a steep learning curve but you all helped much especially

Re: Dynamically generated HTML and GWT

2013-06-03 Thread Thomas Broyer
On Monday, June 3, 2013 9:39:08 AM UTC+2, stuckagain wrote: Hi, OK, I forgot about that part - I once had to go through these issues as well but forgot soon after. You need to subclass HTMLPanel and SubmitButton to get what you want. The HTMLPanel only supports adding widgets to

Re: Dynamically generated HTML and GWT

2013-06-03 Thread Jens
I think you kind of misuse the *.wrap() method. They are meant to be used with static html pages that you want to enhance with GWT. I think what you really want for now is to extend Widget and overwriting onBrowserEvent(), e.g. MyServerFormWidget extends Widget { MyServerFormWidget() {

Re: Thanks to all your help: german census results online

2013-06-03 Thread Jens
Well done :) -- 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 to this group, send email to

Re: Thanks to all your help: german census results online

2013-06-03 Thread Islam AbdelMageed
nice work On 3 June 2013 09:42, tanteanni tantea...@hotmail.com wrote: Hi there, https://ergebnisse.zensus2011.de/?locale=en shows not only germany's census results but it is also a gwt in life example. For me it was my first big public web project. The best of all choices i did was to

Re: Thanks to all your help: german census results online

2013-06-03 Thread Frank Hossfeld
Nice Am Montag, 3. Juni 2013 09:42:43 UTC+2 schrieb tanteanni: Hi there, https://ergebnisse.zensus2011.de/?locale=en shows not only germany's census results but it is also a gwt in life example. For me it was my first big public web project. The best of all choices i did was to take gwt.

How to change the application locale dynamically

2013-06-03 Thread Shukla Yvr
How to change the application locale dynamically. My application supports en_US and ja_JP. My scenario is , User can shift from en_US to ja_JP on a button click, how to set locale on button click event? I would really appreciate some help and advice. Regards Venkat. -- You received this

Re: How to change the application locale dynamically

2013-06-03 Thread Jens
Add ?locale=locale name to your URL and reload the site (Window.Location class). -- J. -- 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

Re: Thanks to all your help: german census results online

2013-06-03 Thread tanteanni
Jens i remember you as one of the guys that helped much with all those new patterns. So you have your part on this census results page :-). Am Montag, 3. Juni 2013 10:19:18 UTC+2 schrieb Jens: Well done :) -- You received this message because you are subscribed to the Google Groups Google

Re: Thanks to all your help: german census results online

2013-06-03 Thread Lexis Nexis
Which libraries are being used for chart, pdf and excel? On Monday, June 3, 2013 3:42:43 AM UTC-4, tanteanni wrote: Hi there, https://ergebnisse.zensus2011.de/?locale=en shows not only germany's census results but it is also a gwt in life example. For me it was my first big public web

Re: Dynamically generated HTML and GWT

2013-06-03 Thread David
In my case I have no choice. If you just need it for one widget I agree it is maybe over-the-top. But I want the rich behavior of custom widgets, without the cost of re-implementing all the workarounds and tricks in my own onBrowserEvent then wrapping is the way to go since all you do this way is

Re: How to change the application locale dynamically

2013-06-03 Thread Ed
See doc: http://www.gwtproject.org/doc/latest/DevGuideI18nLocale.html -- 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

Re: Thanks to all your help: german census results online

2013-06-03 Thread tanteanni
chart: eclipse birt (very ugly - generated api, but very flexible dynamic svg output) pdf: iText (newer versions must be licensed) excel: apache poi Am Montag, 3. Juni 2013 14:39:54 UTC+2 schrieb Lexis Nexis: Which libraries are being used for chart, pdf and excel? On Monday, June 3, 2013

Re: Dynamically generated HTML and GWT

2013-06-03 Thread Mike Dee
Is my case considered static HTML? The HTML is not known at run time. It is received once the app is up and running. It is not altered at all. The intent is to display it. The HTML is generally always contains a form and there is an option to allow the user to alter some of the form fields

Re: Dynamically generated HTML and GWT

2013-06-03 Thread Mike Dee
So, what is recommended - or what is good practice for a case where one has a page of HTML and needs to do something relatively simply? Think of a form (HTML generated externally) and the form needs to be displayed in a GWT Composite-derived class. The only thing desired is to allow the form

Does this method updates a ListDataProviderT ?

2013-06-03 Thread Faissal Graviton
Hi, I have multiple ListDataProviders which i store them in a table to access them later. The problem is what is the efficient way to access and update each ListDataProvider in order to see the changes? Here is what i do: // a Guava table to store the data providers// i get the data provider

Does this method update a ListDataProviderT ?

2013-06-03 Thread Faissal Graviton
I have multiple ListDataProviders, in which I store in a table to access them later. The problem is finding what is the efficient way to access and update each ListDataProvider and update it in order to see the changes? Here is what I am currently doing: // a Guava table to store the data

Re: Dynamically generated HTML and GWT

2013-06-03 Thread Mike Dee
I guess what I would do for a fallback option is to simply show the form in the GWT app. If the user wants to alter any form fields, they could click a link and the form could be showed in a JSP page (new window). From a JSP we could get everything we need. But it would be nice to have this

Re: Overuse of AssumedStale Issue Tag

2013-06-03 Thread brad
Stale implies that these bugs no longer exist, ASSUMESTALE I suppose means that whoever is closing the bug doesn't even care enough to check to see if the bug exists or not, but presumes that it doesn't. Since I've seen very few bugs fix themselves I have no idea where this presumption comes

Re: Overuse of AssumedStale Issue Tag

2013-06-03 Thread Timothy Spear
What some call a bug others call a feature. Since bug is generic for all issues, features, and requests making the assumption that won't fix is also equally invalid. Unless you are going to spend the time and effort to validate all the items you are making a large presumption upon others. Tim in

Re: Dynamically generated HTML and GWT

2013-06-03 Thread Jens
From my experimentation with wrap() I can see very few circumstances in which case it is actually useful. It appears to be useful where there is only one page. The way nesting of widgets is handled would make it tricky in anything more complicated. Yes, imagine a login application.

Re: How to change the application locale dynamically

2013-06-03 Thread David Levesque
Here's how I do it from a ClickHandler: UrlBuilder builder = Window.Location.createUrlBuilder(); builder.setParameter(locale, localeName); String url = URL.decodeQueryString(builder.buildString()); Window.Location.replace(url); where *localeName* is the locale code, e.g. en_US.

Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-06-03 Thread Lexis Nexis
Would you provide me with some examples about gwt-lib or gwt-app? I do need some tutorials about how to use this new library. Many thanks, David. On Monday, March 25, 2013 5:22:37 AM UTC-4, Thomas Broyer wrote: Hi everyone, Last night (UTC+1), I released 1.0-alpha-1 of my *

Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-06-03 Thread Jens
Would you provide me with some examples about gwt-lib or gwt-app? I do need some tutorials about how to use this new library. You can look at the integration test examples at https://github.com/tbroyer/gwt-maven-plugin/tree/master/src/it Most likely gwt-app, gwt-lib and, for a bit more

Re: [ANN] net.ltgt.gwt.maven:gwt-maven-plugin:1.0-alpha-1 released

2013-06-03 Thread Thomas Broyer
On Mon, Jun 3, 2013 at 8:29 PM, Jens jens.nehlme...@gmail.com wrote: Would you provide me with some examples about gwt-lib or gwt-app? I do need some tutorials about how to use this new library. You can look at the integration test examples at

Re: Get Data CellTable

2013-06-03 Thread sebastien . ribeil
Now I understand why you talk about refresh() or updateRowData(...). The first method doesn't do anything for me and my provider dosen't know the second method updateRowData. I don't find a solution on google. This is a part of my code: public ArrayListListString rows = new

Re: GWT dev team members blogs and way-of-work (WOW) advice ?

2013-06-03 Thread Thomas Broyer
On Monday, June 3, 2013 8:21:41 PM UTC+2, Ed wrote: I like to propose the following idea: A central place with: 1) Blogging by the GWT dev team members/contributors 2) Background info of the GWT dev team members/contributors (what they do, where they work etc...) These blogs contains

Re: GWT dev team members blogs and way-of-work (WOW) advice ?

2013-06-03 Thread Ed
Having a place to post doesn't mean you'll spend time to write those posts ;-) As long as enough people read it, it's worth posting... A good place to share information (including links to blog posts) is the G+ community (there's an How it works section for these kind of posts). Could

Re: GWT dev team members blogs and way-of-work (WOW) advice ?

2013-06-03 Thread Thomas Broyer
On Tuesday, June 4, 2013 12:20:11 AM UTC+2, Ed wrote: Having a place to post doesn't mean you'll spend time to write those posts ;-) As long as enough people read it, it's worth posting... The question is not whether it's worth posting, but whether to write it in the first place (find

Re: GWT dev team members blogs and way-of-work (WOW) advice ?

2013-06-03 Thread Jens
The official GWT documentation can be updated (its open sourced now) to add some more in depth information. This would already decrease the need of external how-to posts. IMHO having lots of blog posts for a given library somehow indicates that the library API is either too complex or

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-06-03 Thread John Ahlroos
John Ahlroos has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 4: Discussed this offline with Artur for some time last Friday and I like

[gwt-contrib] Change in gwt[master]: Ensures integer pixel values and adds getters for subpixel v...

2013-06-03 Thread John Ahlroos
Hello Leeroy Jenkins, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3090 to look at the new patch set (#2). Change subject: Ensures integer pixel values and adds getters for subpixel values

[gwt-contrib] Change in gwt[master]: Ensures integer pixel values and adds getters for subpixel v...

2013-06-03 Thread John Ahlroos
John Ahlroos has posted comments on this change. Change subject: Ensures integer pixel values and adds getters for subpixel values .. Patch Set 2: I am not really keen on introducing another JSO for the subpixel variants.

[gwt-contrib] Change in gwt[master]: Ensures integer pixel values and adds getters for subpixel v...

2013-06-03 Thread Stephen Haberman
Stephen Haberman has posted comments on this change. Change subject: Ensures integer pixel values and adds getters for subpixel values .. Patch Set 2: Per John Tamplin's point, I agree it seems unlikely, but at the time I

[gwt-contrib] Change in gwt[master]: Ensures integer pixel values and adds getters for subpixel v...

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Ensures integer pixel values and adds getters for subpixel values .. Patch Set 2: @Stephen - when you say you reproduced it, do you mean you reproduced

[gwt-contrib] Change in gwt[master]: Ensures integer pixel values and adds getters for subpixel v...

2013-06-03 Thread Stephen Haberman
Stephen Haberman has posted comments on this change. Change subject: Ensures integer pixel values and adds getters for subpixel values .. Patch Set 2: @John I swore I remember reproducing this, where I saw something was

[gwt-contrib] Change in gwt[master]: Ensures integer pixel values and adds getters for subpixel v...

2013-06-03 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Ensures integer pixel values and adds getters for subpixel values .. Patch Set 2: [4] is shorter than [1]. The only question is how common it is. I

[gwt-contrib] Change in gwt[master]: Use JSON.parse() instead of eval() to deserialize rpc callba...

2013-06-03 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Use JSON.parse() instead of eval() to deserialize rpc callback payload .. Patch Set 4: On the server side, I don't think we need a max version? If the

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Andrey Korzhevskiy
Hello John A. Tamplin, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3184 to look at the new patch set (#4). Change subject: Emulate java.util.Objects .. Emulate java.util.Objects

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread Andrey Korzhevskiy
Hello Daniel Kurka, John A. Tamplin, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3183 to look at the new patch set (#5). Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char)

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 4: Code-Review+1 (2 comments) LGTM with minor nits File

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char) .. Patch Set 5: Code-Review+1 -- To view, visit

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Andrey Korzhevskiy
Hello John A. Tamplin, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3184 to look at the new patch set (#5). Change subject: Emulate java.util.Objects .. Emulate java.util.Objects

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 5: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/3184 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Ray Cromwell
Ray Cromwell has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 5: I hadn't thought of this, but the copyright message for new files should probably be different. I will bring this up

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 5: I think that is no reason to hold this up -- we can use the same license, and then change all of them at once.

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 3: (2 comments) File

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 5: (1 comment) File

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char) .. Patch Set 5: (1 comment)

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Andrey Korzhevskiy
Hello John A. Tamplin, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3184 to look at the new patch set (#6). Change subject: Emulate java.util.Objects .. Emulate java.util.Objects

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 6: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/3184 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread Andrey Korzhevskiy
Andrey Korzhevskiy has posted comments on this change. Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char) .. Patch Set 5: (1 comment) There's been a lot of questions about signum usage

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char) .. Patch Set 5: I originally suggested signup in Integer.compare because it was

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread Andrey Korzhevskiy
Hello Daniel Kurka, John A. Tamplin, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3183 to look at the new patch set (#6). Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char)

[gwt-contrib] Change in gwt[master]: adding compare for several number types -Byte.compare -...

2013-06-03 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: adding compare for several number types -Byte.compare -Short.compare -Integer.compare -Long.compare -Float.compare (Double already exists) fixes issue 7998

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread John A. Tamplin
John A. Tamplin has posted comments on this change. Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char) .. Patch Set 6: Code-Review+1 -- To view, visit

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char) .. Patch Set 6: Code-Review+1 -- To view, visit

[gwt-contrib] Change in gwt[master]: Emulate Boolean.compare(boolean,boolean), Character.compare(...

2013-06-03 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Emulate Boolean.compare(boolean,boolean), Character.compare(char,char) .. Patch Set 6: Code-Review+2 -- To view, visit

[gwt-contrib] Change in gwt[master]: Make sure JUnit's host page run in UTF-8.

2013-06-03 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Make sure JUnit's host page run in UTF-8. .. Patch Set 1: Code-Review+2 -- To view, visit https://gwt-review.googlesource.com/3170 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 6: (4 comments) File

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Andrey Korzhevskiy
Andrey Korzhevskiy has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 6: @Thomas: Objects.equals has the same code as Objects.equals in JDK 7 and Google Guava library. May be we

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 6: OK then (in the absence of reply to the comment, I assumed you missed it) -- To view, visit

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Andrey Korzhevskiy
Andrey Korzhevskiy has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 6: Oh, I'm sorry, I just dont know why gerrit doesn't show you my comments. I replied and saved comments. After

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 6: Hit the Review button for the patch set where you made your comments (reviews go with a score, so they're scoped to

[gwt-contrib] Change in gwt[master]: Emulate java.util.Objects

2013-06-03 Thread Andrey Korzhevskiy
Andrey Korzhevskiy has posted comments on this change. Change subject: Emulate java.util.Objects .. Patch Set 3: (3 comments) File

[gwt-contrib] Change in gwt[master]: Add HasPaths interface.

2013-06-03 Thread Thomas Broyer
Hello Leeroy Jenkins, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3185 to look at the new patch set (#2). Change subject: Add HasPaths interface. .. Add HasPaths interface. Bug:

[gwt-contrib] Change in gwt[master]: Add HasPaths interface.

2013-06-03 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Add HasPaths interface. .. Patch Set 2: Reviewed, fixed and ran the tests. PTAL -- To view, visit https://gwt-review.googlesource.com/3185 To unsubscribe,

[gwt-contrib] Change in gwt[master]: Revert Adds onEnsureDebugId delegation to Composite.

2013-06-03 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Revert Adds onEnsureDebugId delegation to Composite. .. Patch Set 1: Code-Review+2 Daniel created this, because I complained to him for submitting my patch