Re: Export CellTable data to PDF and Excel Format using UIBinder

2012-05-25 Thread lucky
I am using Uibinder my data is ready in celltable when i click on export i need to export data into PDF or in excel formats. how cani do that which api i have to use here? On Thursday, 24 May 2012 17:39:56 UTC+5:30, lucky wrote: Hi, can any one tell me how can i export my celltable data to

Re: JSON Parsing in GWT Client

2012-05-25 Thread dominikz
Looking at the data it seems that piriti JSON parsing is as slow as piriti XML parsing. Generally XML dom parsing (without using piriti) is way slower than any JSON. Maybe this is a clue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: GWT 2.5 and beyond

2012-05-25 Thread marek.gregor
Finally we will know more at Google IO 2012: https://developers.google.com/events/io/sessions/gooio2012/218/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Mobile Development and Deployment using GWT, mGWT and phonegap

2012-05-25 Thread Santosh
I am really confused with lot of links mgwt, phonegap, cordova, gwt- phonegap..etc. can somebody really help me in understanding few of my basic questions about all these? a. Phonegap and Cordova are one and the same - They will help us to build a mobile deployable component using generated JS

Re: JSON Parsing in GWT Client

2012-05-25 Thread Harald Pehl
The actual parsing is done using GWT JSON API: JSONParser.parseStrict(String). I guess AutoBean does nothing different regarding parsing. I think the time conssuming parts in Piriti are related to resolving relations between objects and handling IDs and IDREFs. Although there are no real ID

Re: GWT Browser Dev-Plugin

2012-05-25 Thread Thomas Broyer
On Thursday, May 24, 2012 4:21:54 PM UTC+2, Pete_Scholar wrote: This means my only working browser for dev is Chrome, as I'm running Firefox 12.0. FYI, Firefox 12 support has landed in the SVN 10 days ago:

Re: JSON Parsing in GWT Client

2012-05-25 Thread Raphael André Bauer
Hi, the solution is really simple: Use resty gwt: https://github.com/chirino/resty-gwt A sample project including GWT configuration can be found here: http://code.google.com/p/play-gae-gwt-dreamteam-showcase restygwt drives one of the biggest websites in Germany. We never had any performance

Re: Large GIN Modules and DevMode performance

2012-05-25 Thread Jens
Also thought about it how to make reloading a page faster in dev mode. If I understand you correctly, one should create multiple EntryPoints + Host Pages for development where each EntryPoint only shows a subset of the complete application? So it would look like: - libfeature1.gwt.xml (no

Re: Selection gets lost for multiple selections (when Scroll-Bar is used) in IE

2012-05-25 Thread sharath kumar
It is with the DualListField.Multiple selection gets lost in IE when scrollbar is used. Please reply back ASAP. On Wed, Apr 4, 2012 at 4:33 PM, Philippe Lhoste phi...@gmx.net wrote: On 03/04/2012 12:26, sharath kumar wrote: What steps will reproduce the problem? 1. Select first text field

zero width widgets

2012-05-25 Thread Matthew Pocock
Hi, I seem to have recurrent problems with building up gwt layouts where things don't appear, and when I dig into the elemnt tree in chrome, I find that things are getting a zero width. Is there a standard cheat list I should be going through to debug these kind of issues? Thanks, Matthew --

Re: Error with GWT 2.4

2012-05-25 Thread Thomas Broyer
On Thursday, May 24, 2012 8:57:30 PM UTC+2, skippy wrote: IE8, Window 7, not chrome plug-in. Are you sure Chrome Frame is not installed, but disabled? DOMImplStandard should not be used in IE. See http://code.google.com/p/google-web-toolkit/issues/detail?id=6665 -- You received this

Re: Large GIN Modules and DevMode performance

2012-05-25 Thread Thomas Broyer
On Friday, May 25, 2012 1:18:38 PM UTC+2, Jens wrote: Also thought about it how to make reloading a page faster in dev mode. If I understand you correctly, one should create multiple EntryPoints + Host Pages for development where each EntryPoint only shows a subset of the complete

Re: Hibernate ClassCastException in GWT hosted mode only

2012-05-25 Thread norandom
Hi all, here the procedure to apply the patch while 4.1.4 is not relased. 1. create a source folder (ie: src_patch) in your eclipse project 2. create the package org.hibernate.service.classloading.internal; 3. copy the patched source file ClassLoaderServiceImpl.java (attached) in the package

Re: zero width widgets

2012-05-25 Thread Derek
I suspect this is from mixing layoutpanels with non-layoutpanels. By and large, layoutpanels (anything with LayoutPanel as part of its name) need to form an unbroken chain with a previous layoutpanel all the way back to RootLayoutPanel. If you have an HTMLPanel or simplepanel or other

Re: JSON Parsing in GWT Client

2012-05-25 Thread Alex opn
restygwt drives one of the biggest websites in Germany. We never had any performance issues. You can't say which one, i suggest? :) Would be interesting to know. Am Freitag, 25. Mai 2012 13:03:58 UTC+2 schrieb ra: Hi, the solution is really simple: Use resty gwt:

Re: URL for GwtDevPluginSetup.exe is broken

2012-05-25 Thread Alex opn
Had the same yesterday, was able to download it from svn: http://google-web-toolkit.googlecode.com/svn-history/trunk/plugins/ie/prebuilt/gwt-dev-plugin-x86.msi I think with the above you get the newest available? Also possible to add a specific revision (r10267 in this case):

Re: Large GIN Modules and DevMode performance

2012-05-25 Thread Joseph Lust
Jens, For clarification, I mean that in Maven we have a GWT project with all of our screens, a Server project with the serverside Java code, and a GWT-Common project with all of our common components. So all of our common widgets are compiled in the GWT-Common project and wrapped up into a

Re: Export CellTable data to PDF and Excel Format using UIBinder

2012-05-25 Thread Joseph Lust
The gist is to: 1. Get a list of all records you need to export from the celltable on the client browser (and the sorting information). 2. Return this to the server. 3. Fetch all the information from (1). 4. Build into an Excel or CSV output using POI or similar. In reality it

Re: Large GIN Modules and DevMode performance

2012-05-25 Thread Jens
For clarification, I mean that in Maven we have a GWT project with all of our screens, a Server project with the serverside Java code, and a GWT-Common project with all of our common components. So all of our common widgets are compiled in the GWT-Common project and wrapped up into a

Re: JSON Parsing in GWT Client

2012-05-25 Thread Jens
restygwt drives one of the biggest websites in Germany. We never had any performance issues. You can't say which one, i suggest? :) Would be interesting to know. Just a guess: probably studivz.net / meinvz.net. Its a german social network and has been rewritten in GWT some time ago. But

Re: Large GIN Modules and DevMode performance

2012-05-25 Thread Thomas Broyer
On Friday, May 25, 2012 4:23:02 PM UTC+2, Jens wrote: The GWT compiler just pulls in any of your source files you have made visible using source / super-source in your module.gwt.xml and compiles it. So you won't save time in dev mode or during compilation. Actually even the contrary!

Re: Large GIN Modules and DevMode performance

2012-05-25 Thread Nuno R
The startup time improved while breaking down into smaller parts, but this explode the number of source to maintain only related with dev env. After a couple of tests it seems the environment has big impact, I'm using a windows 7 machine and after a defrag startup time improved significantly

Re: How to access a GWT Servlet from a C# application?

2012-05-25 Thread Clemens
Thank you, both of you, for your quick help. I was not aware that it is so easy. @Joseph: This code snippet is working beautifully! Am Montag, 21. Mai 2012 19:08:39 UTC+2 schrieb Clemens: Hy, I am trying to access a GWT Servlet from a C# application. How do I do that? To explain it with

Re: Large GIN Modules and DevMode performance

2012-05-25 Thread Jens
After a couple of tests it seems the environment has big impact, I'm using a windows 7 machine and after a defrag startup time improved significantly and are now more closer to the results in a Linux environment that it is still faster then w7. On Win7 you should also clean your temp

Re: zero width widgets

2012-05-25 Thread Matthew Pocock
Ah, thanks. I had a DockLayoutPanel and was using a SimplePane as a place-holder in east, then later filling this SimplePane with a chat control. Perhaps there is a better way to dynamically replace DockLayoutPanel children. Anyway, I now tell the SimplePane to have width and height 100% (and a

Re: zero width widgets

2012-05-25 Thread Jens
Instead of SimplePanel you could use SimpleLayoutPanel. http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/SimpleLayoutPanel.html -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Push a message from Websphere 7 to GWT client

2012-05-25 Thread James
Is there an native library to push a message from Websphere 7 to GWT client in IE7? James -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Howto? include an outside JAR (separate project) with business objects that can be used on the Server and in the Browser Client

2012-05-25 Thread Hanasaki Jiji
I have a separate project that contains all the business domain object classes and their respective JUnit test cases. There is no GWT in this project and a desire to keep this as purely a business object class. How can the GWT complier be told generate the needed client side code so the same

Re: SplitLayoutPanel center widget min size

2012-05-25 Thread manstis
Yay, I like :) If you have a similar patch for when a SplitLayoutPanel contains another SplitLayoutPanel where all Widgets have a minimum size and a panel in the outermost SplitLayoutPanel is shrunk but can't be collapsed beyond the sum of it's child SplitLayoutPanel minimum sizes I'd love

adding eclipse/GWT/app engine project to version control (git)

2012-05-25 Thread Michael
After looking around on here and the web I found conflicting information about what should be version controlled in a eclipse/app engine/gwt project. So I played around a bit and wanted to share what I found to work for us. We are using git, but this information is very quickly transferred to any

Re: adding eclipse/GWT/app engine project to version control (git)

2012-05-25 Thread Nuno R
Take a look at a maven setup. Don't need to keep in the repository any files related with IDE configuration or project dependencies. http://maven.apache.org/plugins/maven-eclipse-plugin/ http://mojo.codehaus.org/gwt-maven-plugin/ After cloning a repo running *maven eclipse:eclipse* generates

UIB click handlers, GWTQuery, and TD's ;)

2012-05-25 Thread Roger Studner
I'm building an app that has a really good use case for me to have my own/raw HTML Tables (I thought of flextable.. but the api pains me). Anyway.. i'm trying to figure out something and am a bit stuck, thought the crowd might have some ideas. piece of code: GQuery td = $(td colspan='x'/);

Re: UIB click handlers, GWTQuery, and TD's ;)

2012-05-25 Thread Jens
If you want to use @UiHandler and thus GWT's event handling I think you just have to call onAttach()/onDetach(). So your code would be: GQuery td = $(td colspan='x'/); ThingyBarUIB thingyBar = new ThingyBarUIB(); //UiBinder with @UiHandler thingyBar.loadData(someObject); thingyBar.attachTo(td);

[gwt-contrib] Re: Issue 7038: CompositeEditor and ListEditor optimizations (issue1664803)

2012-05-25 Thread Thomas Broyer
On Fri, May 25, 2012 at 12:48 AM, Brian Slesinsky skybr...@google.com wrote: On Sat, May 19, 2012 at 9:16 AM, Thomas Broyer t.bro...@gmail.com wrote: So I agree that is seems logical that a live view would only last until the next flush() or at most until the next setValue(). But this isn't

[gwt-contrib] Contributor License Agreements question

2012-05-25 Thread Alexandre Ardhuin
Hi all, A few days ago I submitted a patch ( http://gwt-code-reviews.appspot.com/1712803/ ) after having followed the steps described at https://developers.google.com/web-toolkit/makinggwtbetter#submittingpatches. My CTO had signed the Corporate Contributor License Agreement (

[gwt-contrib] Re: Contributor License Agreements question

2012-05-25 Thread Thomas Broyer
On Friday, May 25, 2012 2:55:21 PM UTC+2, Alexandre Ardhuin wrote: I don't see the review made by Thomas in this contributors group and I wonder why. Ah, you didn't CC google-web-toolkit-contributors@googlegroups.com. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: Contributor License Agreements question

2012-05-25 Thread Alexandre Ardhuin
2012/5/25 Thomas Broyer t.bro...@gmail.com On Friday, May 25, 2012 2:55:21 PM UTC+2, Alexandre Ardhuin wrote: I don't see the review made by Thomas in this contributors group and I wonder why. Ah, you didn't CC

Re: [gwt-contrib] Contributor License Agreements question

2012-05-25 Thread Rajeev Dayal
Hey Alexandre, You're not able to verify that you signed the CLA in the corporate case. I looked at our corporate CLA list, and I don't see your name (or that of your company) listed there. I'll do some more digging to see what happened. Did you receive any sort of confirmation e-mail? If so,

Re: [gwt-contrib] Contributor License Agreements question

2012-05-25 Thread Alexandre Ardhuin
Confirmation email forwarded. Thanks, Alexandre 2012/5/25 Rajeev Dayal rda...@google.com Hey Alexandre, You're not able to verify that you signed the CLA in the corporate case. I looked at our corporate CLA list, and I don't see your name (or that of your company) listed there. I'll do

[gwt-contrib] Re: Resubmission of Issue 1686803 (issue1717803)

2012-05-25 Thread rchandia
http://gwt-code-reviews.appspot.com/1717803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] HELP: Generated Javascript contains wrong prototype assignments

2012-05-25 Thread Stephen Haberman
Using trunk with your patch does not solve the issue. Well, shoot. I've tried to recreate your issue and am not having any luck. I modified the Hello sample to have a few run asyncs, and put different constructor calls to the same class in each one, but it's working annoyingly well. I can get

Re: [gwt-contrib] HELP: Generated Javascript contains wrong prototype assignments

2012-05-25 Thread Jens
Hehe yeah its pretty hard to reproduce it in a new project. Even in our app branch for that issue I have to delete things out very carefully. As soon as I delete too much or something wrong, the ClassCastException disappears because split points are generated slightly different or GWT optimizes

Re: [gwt-contrib] HELP: Generated Javascript contains wrong prototype assignments

2012-05-25 Thread Ray Cromwell
Boy will this be a hard one to fix without a stable repro case. I hope you keep around a repeatable broken build. The code responsible for generating prototype assignments is here, you can see:

[gwt-contrib] Re: Add Map support to RequestFactory (issue 6132056)

2012-05-25 Thread James Horsley
I added tests for complex keys and complex values which're passing so it should do yes. On 25 May 2012 17:01, alexisnou...@gmail.com wrote: Hello With your patch, does the function .with() works for a map for example in an entity: Map(String,ServiceParam) params;

[gwt-contrib] Re: Issue 7038: CompositeEditor and ListEditor optimizations (issue1664803)

2012-05-25 Thread Brian Slesinsky
On Fri, May 25, 2012 at 1:43 AM, Thomas Broyer t.bro...@gmail.com wrote: I think the expected use of getEditors() is that users don't keep an handle on it. Even if they, if they call getEditors() after each setValue(), then it doesn't really matter whether the returned value will be the same

[gwt-contrib] Re: Add Map support to RequestFactory (issue 6132056)

2012-05-25 Thread James Horsley
I read Alexis's email too hastily and hadn't noted he was asking about nested complex types. I'll add some tests to see how it behaves. I'll be interested to dig into what AutoBean's behaviour is here as that's what I based on, mimicked, and leveraged for this patch. On 25 May 2012 19:38,

[gwt-contrib] Re: Generated EditorContext class names take actual parameterization into account. (issue1352806)

2012-05-25 Thread skybrian
LGTM. (Some optional nitpicks.) It seems a little odd that you'd want to do this. I'd expect that the subtype (Manager or Intern) would have additional fields to edit, so you wouldn't be able to just reuse the editor for the parent type. But it should still be allowed.

[gwt-contrib] Re: Resubmitting code review 1660804 (issue1716803)

2012-05-25 Thread rchandia
On 2012/05/24 18:06:50, rchandia wrote: Submitted as r10994 http://gwt-code-reviews.appspot.com/1716803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Issue 7230: allow absolute paths in ui:style's src= (issue1660804)

2012-05-25 Thread rchandia
On 2012/05/24 18:07:45, rchandia wrote: Reposting for internal resubmission at: http://gwt-code-reviews.appspot.com/1716803 Submitted as r10994 http://gwt-code-reviews.appspot.com/1660804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Resubmission of Issue 1686803 (issue1717803)

2012-05-25 Thread rchandia
Submitter as r10995 http://gwt-code-reviews.appspot.com/1717803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add Map support to RequestFactory (issue 6132056)

2012-05-25 Thread Thomas Broyer
AutoBean has no equivalent to these partial loading; just like a POJO has no notion of lazy loading, compared to JPA entities. Le 25 mai 2012 21:06, James Horsley james.hors...@gmail.com a écrit : I read Alexis's email too hastily and hadn't noted he was asking about nested complex types. I'll

[gwt-contrib] Re: HorizontalSplitPanel should use ScheduledCommand instead of Command (issue1718803)

2012-05-25 Thread rchandia
http://gwt-code-reviews.appspot.com/1718803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: HorizontalSplitPanel should use ScheduledCommand instead of Command (issue1694803)

2012-05-25 Thread rchandia
On 2012/05/24 20:25:26, rchandia wrote: LGTM Reposting internally at: http://gwt-code-reviews.appspot.com/1718803 Submitted as r10996 http://gwt-code-reviews.appspot.com/1694803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: HorizontalSplitPanel should use ScheduledCommand instead of Command (issue1718803)

2012-05-25 Thread rchandia
On 2012/05/25 21:16:45, rchandia wrote: Submitted as r10996 http://gwt-code-reviews.appspot.com/1718803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix for issue 5952: RequestContext#isChanged. (issue1601806)

2012-05-25 Thread t . broyer
On 2012/05/25 21:43:28, sjostrand.jonas wrote: When a proxy is edit()ed not only sub ENTITY proxies but also sub VALUE proxies are automatically edit()ed and considered as changed by the auto bean diff. Can this be fixed by the same technique? I tried the patch and it didn't solve the

[gwt-contrib] ExternalTextResourceGenerator is locale/machine-dependent. (issue1716804)

2012-05-25 Thread t . broyer
Reviewers: , Message: Looking for a reviewer on this. Note there are other uses of getBytes() without a specified encoding: - in XsrfProtectedServiceServlet and XsrfTokenServiceServlet (though it's not that important, as it's about creating and validating a token; it could be an issue

[gwt-contrib] Re: Issue 7038: CompositeEditor and ListEditor optimizations (issue1664803)

2012-05-25 Thread t . broyer
On 2012/05/25 17:58:21, skybrian wrote: In getEditors: The returned list will be live until the next call to setValue() and shouldn't be used after that. [...] Yeah, #3 is out. Option #2 would make sense if we expected that complaining early means that most people would fix the problem

[gwt-contrib] Re: ExternalTextResourceGenerator is locale/machine-dependent. (issue1716804)

2012-05-25 Thread jat
LGTM https://gwt-code-reviews.appspot.com/1716804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix for issue 5952: RequestContext#isChanged. (issue1601806)

2012-05-25 Thread t . broyer
http://gwt-code-reviews.appspot.com/1601806/diff/45014/user/test/com/google/web/bindery/requestfactory/server/SimpleBar.java File user/test/com/google/web/bindery/requestfactory/server/SimpleBar.java (right):