Re: Replacing classes during custom serialization

2013-06-11 Thread Jeff Schnitzer
Oh, that's fantastic - if it works (I will try it out in a couple days when I get some free time) then you should really close the issue as Fixed or not a bug. That is a great solution. It should be documented though :) Thanks Thomas. Jeff On Mon, Jun 10, 2013 at 2:17 AM, Thomas Broyer

Re: Regarding SuggestBox with MultiWordSuggestOracle - selecting value

2013-06-11 Thread Dayananda B V
thanks, appricate your help On Monday, June 10, 2013 7:18:53 PM UTC+5:30, Dayananda B V wrote: Hi all, Suggestpopup box which show list of items here i want to show say for example company discription (International Business Machine), when i select company discription i want to show

Android Chrome SuperDevMode Source Maps with Chrome Remote Debugger

2013-06-11 Thread George
Does anybody able to use Gwt Super Dev Mode on Android chrome browser connected to desktop remote chrome debugger? I could not get it working. What works : - Super Dev Mode accessed from chrome desktop with developer tools, I can compile it from browser and see java source code under source

Re: Replacing classes during custom serialization

2013-06-11 Thread Thomas Broyer
On Tuesday, June 11, 2013 8:34:58 AM UTC+2, Jeff Schnitzer wrote: Oh, that's fantastic - if it works (I will try it out in a couple days when I get some free time) then you should really close the issue as Fixed or not a bug. That is a great solution. It should be documented though :)

Re: howto scroll ListBox to bottom entry

2013-06-11 Thread Olaf Raether
I tried both approaches - both are working fine. Thanks. On Sunday, June 9, 2013 10:14:15 PM UTC+2, Jim Douglas wrote: Try this (untested): Element element = myListBox.getElement(); element.setScrollTop(element.getScrollHeight() - element.getClientHeight()); On Jun 9, 10:43 am, Olaf

Re: Adsense Subscription for GWT Based Website

2013-06-11 Thread James Frain
Same issue here, did ye guys find any solution? -- 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

[LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Sahli Sabrina
Hi everyOne, when i try to get a list of object in Societe class i'm getting this exception LazyInitializationException] failed to lazily initialize a collection of role: com.protid.prosa.shared.model.bo.Commune.soumission, no session or session was closed [INFO]

Re: [LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Juan Pablo Gardella
If you don't want use DTO pattern to transfer objects to UI, check this threadhttps://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/fkbowz5-5do. I've implemented a filter that you can use to put null lazy relationships. The problem is very common in Hibernate, check in google. It

Application architecture question

2013-06-11 Thread Timea
Hei there, I have a general wondering about the architecture of GWT applications. Currently we have a web application which grabs some data from the database, makes some calculations and then displays it on the GUI. Sounds easy cheesy still because GWT works with RPC and eventbus I can't

Re: [LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Sahli Sabrina
Le mardi 11 juin 2013 13:26:45 UTC, Sahli Sabrina a écrit : Hi everyOne, when i try to get a list of object in Societe class i'm getting this exception LazyInitializationException] failed to lazily initialize a collection of role:

Re: [LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Juan Pablo Gardella
The filter is: https://bitbucket.org/gardellajuanpablo/gwt-sample/src/8aba86d82778cb3a6f48f4d5f60f21d4134282b4/src/main/java/com/foo/server/rpc/hibernate/HibernateFilter.java?at=default 2013/6/11 Sahli Sabrina sahli.sabr...@gmail.com i did'nt find the filter in your code . can you explain

Re: [LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Sahli Sabrina
i did'nt find the filter in your code . can you explain me please how did you do? thank you Le mardi 11 juin 2013 13:31:05 UTC, Juan Pablo Gardella a écrit : If you don't want use DTO pattern to transfer objects to UI, check this

Re: [LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Sahli Sabrina
Thank you a lot , can you explain me please how it works and how to use it? because i donnt use gin so i can't make the difference in code Le mardi 11 juin 2013 14:57:31 UTC, Juan Pablo Gardella a écrit : The filter is:

Re: [LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Juan Pablo Gardella
See: http://books.google.com.ar/books?id=OG816JSZYVcCpg=PA159lpg=PA159dq=hibernate+filter+gwtsource=blots=BM7BGKs_n6sig=CXd4NoOk_Wu-_ixtoZhljgr0V8Ahl=essa=Xei=eD63UfrXAcL84AOFm4HYBAved=0CEUQ6AEwAg#v=onepageq=hibernate%20filter%20gwtf=false This where I pick the idea and the implementation. And

Re: [LazyInitializationException] failed to lazily initialize a collection of role

2013-06-11 Thread Sahli Sabrina
OK thank you :) , actually i resolved the problem by creating an extension of the service in wish i override the function list like this public ListSociete list() throws ServiceException { ListSociete list = new ArrayListSociete(); ListSocietesocietes=new

Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Joseph Lust
For various reasons you need to know the revision of the GWT app code. For example to verify that the server API is not newer than the JS code (i.e. if you deploy GWT JS to a CDN). Some common approaches which I find to be rather hackish: - Use Maven replacer to replace a sequence in a

Re: Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Timothy Spear
I have a version.txt included in the src/java/resources NAME=${name} VERSION=${version} BUILD_DATE=${timestamp} The values are retrieved from the POM. My current project does not go the next step of pushing the completed branch on deploy to a tagged release in subversion. I have

Out of Memory during GWT compile

2013-06-11 Thread Ranjith Chungath
While analyzing with Eclipse Memory Analyzer(MAT), it was found that around 860MB of memory is taken by HashMap.Entry and HashMap.Entry[]. There are 1.3 million instances of HashMap.Entry objects created. See image below.

Re: Application architecture question

2013-06-11 Thread Joseph Lust
Timea, Not sure what the implementation trouble is: 1. User makes some interaction (i.e. button click) so you fire and event (i.e. ShowSomethingEvent(id)) 2. A listener sees the event and fires and RPC with the data from the event 3. On returning the async handler for the call

Re: Application architecture question

2013-06-11 Thread Jens
If you have multiple independent RPC requests and you want to update the GUI after all these RPC requests are done, then you could check a number of boolean variables (one per RPC request) to see if all of them are true ( = RPC is done), e.g. server.rpcMethod1(Callback() { onSuccess() {

Re: Application architecture question

2013-06-11 Thread Juan Pablo Gardella
To use BatchCommand you can use gwt-dispatch.https://code.google.com/p/gwt-dispatch/ 2013/6/11 Jens jens.nehlme...@gmail.com If you have multiple independent RPC requests and you want to update the GUI after all these RPC requests are done, then you could check a number of boolean variables

Re: Application architecture question

2013-06-11 Thread Alfredo Quiroga
And since the last sentence of the original post if my memory serves me right mentions is for a mobile app I would strongly recommend not to use gwt-rpc in this case. Sent from my iPhone On Jun 11, 2013, at 3:24 PM, Jens jens.nehlme...@gmail.com wrote: If you have multiple independent RPC

Re: Out of Memory during GWT compile

2013-06-11 Thread Jens
GWT builds an abstract syntax tree of your application during compilation. If your application is large, then the syntax tree is large and you simply need more memory in order to compile you application. The permutation thread optimizes this AST for a given permutation and finally converts it

Re: Application architecture question

2013-06-11 Thread Imy
Thank you for the so far posted replies. For maybe further clarify: - I need this to work only at the start up of the application, to wait till my model has all the data and then update the GUI. - I am using mGWT, still the architecture is GWT related. I am using mGWT to get it

Re: Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Jens
I would either hardcode it into a Gin module and inject the app version into any class using an @AppVersion annotation or I would use Maven Resource Filtering and let maven replace a placeholder with the project version. This replacement is then either done in index.html or in a txt file that

Re: Application architecture question

2013-06-11 Thread Alfredo Quiroga-Villamil
@Timea RequestBuilder or RequestFactory. If you plan on creating a Mobile Web App you can def. look at GWT-RPC. However, if you plan on packaging the App to Native as part of the dual mode (web-native), then avoid if possible GWT-RPC. Regards, Alfredo On Tue, Jun 11, 2013 at 3:41 PM, Imy

Re: Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Thomas Broyer
On Tuesday, June 11, 2013 9:44:51 PM UTC+2, Jens wrote: I would either hardcode it into a Gin module and inject the app version into any class using an @AppVersion annotation or I would use Maven Resource Filtering and let maven replace a placeholder with the project version. This

Re: Application architecture question

2013-06-11 Thread Joseph Lust
Timea, If you've got the case of waiting on a multiplicity of RPC's to complete before continuing, something like Jen's suggestion is best. I've implemented it before with a multibit latches. However you get into the issue of syncing. For example, let's say you have N RPC calls for a given

Re: Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Joseph Lust
Thanks gents, Your suggestions were helpful. After going the code generator route two years ago, but I think this time I'll stick with resource filtering the version into the index.html and bootstrapping it into the app via the entry point. Cheers, Joseph -- You received this message

Re: Best practices for inlining build (revision) number into GWT App?

2013-06-11 Thread Thad Humphries
I'm switching from ant to maven, and recently tried http://mojo.codehaus.org/buildnumber-maven-plugin/. I think I will use it on my next project. On Tuesday, June 11, 2013 1:17:42 PM UTC-4, Joseph Lust wrote: For various reasons you need to know the revision of the GWT app code. For example

Re: [gwt-contrib] Work to do for bug 3042

2013-06-11 Thread Adolfo Panizo Touzon
Thanks James! But I have done those steps yet (*indeed I read in that link I should ask here first :D*) . When I said the necessary work I meant the steps for develop the RichTextArea according to the GWT steering committee (for this issue I think Daniel is responsible) so I need to wait for his

Re: [gwt-contrib] Work to do for bug 3042

2013-06-11 Thread Daniel Kurka
Hi Adolfo, this is not my issue and I am not solely responsible for it. We should see wait and see if anybody opposes to adding this to GWT, before you actually start working on it, so that your time will not be wasted. On the other hand you can already setup your IDE and tools to be able to

[gwt-contrib] Issue 8083, needs some input from GWT team

2013-06-11 Thread stuckagain
Hi, I am working on a fix for this issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=8083 I am avoiding converting from string to the internal format of BigInteger because it has a big performance impact on IE8 when sending it over RPC. It performs much better in IE9 and

[gwt-contrib] Re: Issue 8083, needs some input from GWT team

2013-06-11 Thread Thomas Broyer
On Tuesday, June 11, 2013 10:56:13 AM UTC+2, stuckagain wrote: Hi, I am working on a fix for this issue: https://code.google.com/p/google-web-toolkit/issues/detail?id=8083 I am avoiding converting from string to the internal format of BigInteger because it has a big performance impact

[gwt-contrib] Change in gwt[master]: working on issue 8063, ie10 permutation and ms pointer events

2013-06-11 Thread Leif Åstrand
Leif Åstrand has posted comments on this change. Change subject: working on issue 8063, ie10 permutation and ms pointer events .. Patch Set 5: (3 comments) Commit

[gwt-contrib] Change in gwt[master]: working on issue 8063, ie10 permutation and ms pointer events

2013-06-11 Thread Leif Åstrand
Leif Åstrand has posted comments on this change. Change subject: working on issue 8063, ie10 permutation and ms pointer events .. Patch Set 5: (1 comment) File

Re: [gwt-contrib] Work to do for bug 3042

2013-06-11 Thread Adolfo Panizo Touzon
Oh! Sorry I saw you were the owner and I thought you had plenty of responsability. Thanks, but everything is fine, the installation process is quite simple/clear, so, all is up and running. :D. Keep an eye into the Issue 1127https://code.google.com/p/google-web-toolkit/issues/detail?id=1127

[gwt-contrib] Change in gwt[master]: Fix non-final field initializers running before the super cstr.

2013-06-11 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: Fix non-final field initializers running before the super cstr. .. Patch Set 9: Either way should be fine. We could have a visitor pass after all

[gwt-contrib] Change in gwt[master]: The job of defineSeed is to mark the existence of a class an...

2013-06-11 Thread John Stalcup
John Stalcup has submitted this change and it was merged. Change subject: The job of defineSeed is to mark the existence of a class and associate its castMap with the class's various constructors. .. The job of defineSeed

[gwt-contrib] Change in gwt[master]: fixes a compiler crash when parsing illegal runAsync definit...

2013-06-11 Thread John Stalcup
Hello Roberto Lublinerman, Leeroy Jenkins, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/3320 to look at the new patch set (#2). Change subject: fixes a compiler crash when parsing illegal runAsync definitions

[gwt-contrib] Change in gwt[master]: fixes a compiler crash when parsing illegal runAsync definit...

2013-06-11 Thread John Stalcup
John Stalcup has posted comments on this change. Change subject: fixes a compiler crash when parsing illegal runAsync definitions .. Patch Set 2: tests were passing, but not with enable assertions. added an immediate

[gwt-contrib] Change in gwt[master]: Fix non-final field initializers running before the super cstr.

2013-06-11 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Fix non-final field initializers running before the super cstr. .. Patch Set 9: Regarding git procedure, I've already rolled back on google/pu and we

[gwt-contrib] Change in gwt[master]: Fix non-final field initializers running before the super cstr.

2013-06-11 Thread Brian Slesinsky
Brian Slesinsky has posted comments on this change. Change subject: Fix non-final field initializers running before the super cstr. .. Patch Set 9: Oops, that wasn't very clear. Let me try again: If think you're going to

Re: [gwt-contrib] Re: code review policy

2013-06-11 Thread Bhaskar Janakiraman
It would be good to formalize the process, and appoint 'maintainers' for different parts of GWT, who should be people who are knowledgeable, have key contributions, and are willing to take on that role. The advantages of doing this are: 1. Avoid bike-shedding. 2. Build up specialized knowledge,

[gwt-contrib] Change in gwt[master]: Add hasClassName method in com.google.gwt.dom.client.Element

2013-06-11 Thread Goktug Gokdogan
Goktug Gokdogan has submitted this change and it was merged. Change subject: Add hasClassName method in com.google.gwt.dom.client.Element .. Add hasClassName method in com.google.gwt.dom.client.Element Fixes issue 7550

[gwt-contrib] Change in gwt[master]: Add hasClassName method in com.google.gwt.dom.client.Element

2013-06-11 Thread Goktug Gokdogan
Goktug Gokdogan has posted comments on this change. Change subject: Add hasClassName method in com.google.gwt.dom.client.Element .. Patch Set 6: What I was saying is that your overridden getElement will return GxtElement as

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

2013-06-11 Thread Goktug Gokdogan
Goktug Gokdogan has submitted this change and it was merged. Change subject: Emulate java.util.Objects .. Emulate java.util.Objects Fixes issue 8173 Change-Id: I15a10e7c52eb39baac2c22b9f6596ad0a5c1c599 --- M

[gwt-contrib] Change in gwt[master]: Use correct return types for createFooInputBuilder() methods...

2013-06-11 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Use correct return types for createFooInputBuilder() methods in HtmlBuilderFactory. Also adjust the return types of affected methods in HtmlBuilderImpl. ..

[gwt-contrib] Change in gwt[master]: Wrong JavaDoc for MouseWheelEvent.getDeltaY()

2013-06-11 Thread Thomas Broyer
Thomas Broyer has submitted this change and it was merged. Change subject: Wrong JavaDoc for MouseWheelEvent.getDeltaY() .. Wrong JavaDoc for MouseWheelEvent.getDeltaY() Fixes issue 6400 Change-Id:

[gwt-contrib] Change in gwt[master]: Add show relative to Element in PopupPanel

2013-06-11 Thread Thomas Broyer
Thomas Broyer has posted comments on this change. Change subject: Add show relative to Element in PopupPanel .. Patch Set 1: Code-Review+2 -- To view, visit https://gwt-review.googlesource.com/3340 To unsubscribe, visit

[gwt-contrib] Change in gwt[master]: fixes a compiler crash when parsing illegal runAsync definit...

2013-06-11 Thread Roberto Lublinerman
Roberto Lublinerman has posted comments on this change. Change subject: fixes a compiler crash when parsing illegal runAsync definitions .. Patch Set 2: Code-Review+2 -- To view, visit

[gwt-contrib] Change in gwt[master]: fixes a compiler crash when parsing illegal runAsync definit...

2013-06-11 Thread John Stalcup
John Stalcup has submitted this change and it was merged. Change subject: fixes a compiler crash when parsing illegal runAsync definitions .. fixes a compiler crash when parsing illegal runAsync definitions Change-Id: