Celltable performance issue

2012-06-01 Thread lucky
Hi I am using GWT 2.4 version. And using Celltable with pager and ListDataProvider to display the data. I have large amount of data contains(9000+) records(rows and 10 colums) to display. when I am trying to display these records my application becomes unresponsive. Please let me know how can

XSRF protection using GWT example guide broken for Glassfish/ Jetty using JSESSIONID

2012-06-01 Thread Josh
Hi, I recently re-engineered some custom XSRF/CSRF protection code in my open source GWT-based application to use the new recommended protection introduced in GWT 2.3 as described in https://developers.google.com/web-toolkit/doc/latest/DevGuideSecurityRpcXsrf . Since I develop and deploy

Re: 3-tier architecture /gwt

2012-06-01 Thread Alexandre Ardhuin
Hi Juan, Was you triing with the latest version ? Could you try to update gwt-maven-archetypes ( in gwt-maven-archetypes folder : git pull ) and reinstall the plugin ( mvn clean install ) ? The latest version works fine for me. Alexandre 2012/6/1 Juan Pablo Gardella

Re: Converting canvas to image url problem in IE9

2012-06-01 Thread Chris Price
This is wild speculation but, it could be a X-domain security issue [1]? If it's only happening in IE, I'd check to see that the loading of the image is using the same technique in IE as it is in Chrome, FF, etc. e.g. sprite versus data-url. [1]

Re: DataGrid progress - who to change default boxs to plain text

2012-06-01 Thread Thomas Broyer
On Friday, June 1, 2012 7:40:20 AM UTC+2, dayanandabv wrote: Hi All, I need to change default boxes which display in progress bar of DataGrid in to plain text - like please wait loading setLoadingIndicator ?

Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Tiago Rinck Caveden
Hello all, I have a bean of type A which contains a property of type X which is a JaxB bean (annotated with @XmlRootElement). I'm editing this being with the help of an EditorA. One of the properties of X is a Boolean which is initialized as Boolean.FALSE on construction. This property is is

Re: 3-tier architecture /gwt

2012-06-01 Thread Thomas Broyer
On Friday, June 1, 2012 9:09:43 AM UTC+2, Alexandre Ardhuin wrote: Hi Juan, Was you triing with the latest version ? Could you try to update gwt-maven-archetypes ( in gwt-maven-archetypes folder : git pull ) and reinstall the plugin ( mvn clean install ) ? The latest version works fine

Re: Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Thomas Broyer
Is X an EntityProxy or a ValueProxy? If it's a ValueProxy, then this is the expected behavior; you'll have to either: - allow 'null' in your setter (you could treat it as a Boolean.FALSE if you like) - set the property value to Boolean.FALSE on the client-side - change your property

Re: Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Tiago
Just for the record, if I manually set the problematic property before handling the new proxy to the editor framework, everything works fine. On Friday, June 1, 2012 10:39:01 AM UTC+2, Tiago wrote: Hello all, I have a bean of type A which contains a property of type X which is a JaxB bean

Re: Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Thomas Broyer
On Friday, June 1, 2012 10:51:00 AM UTC+2, Thomas Broyer wrote: Is X an EntityProxy or a ValueProxy? If it's a ValueProxy, then this is the expected behavior; you'll have to either: - allow 'null' in your setter (you could treat it as a Boolean.FALSE if you like) - set the

Re: can DialogBox has a x close button in the upper right hand corner like most window have?

2012-06-01 Thread tong123123
from http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/DialogBox.html I think I need create a class that implements *DialogBox.Captionhttp://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/client/ui/DialogBox.Caption.html * and then use

Re: Celltable performance issue

2012-06-01 Thread Jens
I would guess you load the 9000+ records from the server using GWT-RPC? If so, its not CellTable thats slow but its the GWT-RPC deserialization that occurs when you receive the server response with the 9000+ records. To speed things up you could use an AsyncDataProvider and only load the

Re: Celltable performance issue

2012-06-01 Thread lucky
I am using RequestFactory not a GWT_RPC. On Fri, Jun 1, 2012 at 2:50 PM, Jens jens.nehlme...@gmail.com wrote: I would guess you load the 9000+ records from the server using GWT-RPC? If so, its not CellTable thats slow but its the GWT-RPC deserialization that occurs when you receive the server

Re: Celltable performance issue

2012-06-01 Thread Jens
Although RequestFactory should be faster than GWT-RPC when it comes to converting the server result string back to the object graph, 9000+ records are maybe too much for RequestFactory as well. You could verify it by just loading the data without putting it into the CellTable / DataProvider.

Re: Celltable performance issue

2012-06-01 Thread lucky
if i load less amount of data it is working time but if i want to load 3000+ records it is loading but taking time when i search it in the google i found that we can use pushApi but i dont know how to use that could you please tell me can we use this.If so, How can we use this? Thanks On Fri,

Re: Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Tiago
Hello Thomas, On Friday, June 1, 2012 10:51:00 AM UTC+2, Thomas Broyer wrote: Is X an EntityProxy or a ValueProxy? If it's a ValueProxy, then this is the expected behavior; you'll have to either: It's a ValueProxy (X is not an entity). Are you sure that an IllegalArgumentException with no

Re: Celltable performance issue

2012-06-01 Thread Thomas Broyer
On Friday, June 1, 2012 11:42:13 AM UTC+2, lucky wrote: if i load less amount of data it is working time but if i want to load 3000+ records it is loading but taking time when i search it in the google i found that we can use pushApi but i dont know how to use that could you please tell me

Re: Bean property being set to null by Editor framework even though it cannot be null

2012-06-01 Thread Thomas Broyer
On Friday, June 1, 2012 12:31:42 PM UTC+2, Tiago wrote: Hello Thomas, On Friday, June 1, 2012 10:51:00 AM UTC+2, Thomas Broyer wrote: Is X an EntityProxy or a ValueProxy? If it's a ValueProxy, then this is the expected behavior; you'll have to either: It's a ValueProxy (X is not an

Re: 3-tier architecture /gwt

2012-06-01 Thread Juan Pablo Gardella
Thanks Thomas, Alexandre! I try with -Dmaven.test.skip but run the test, I didn't know how skip, so I delete the tests :(. Thanks for the tip -Darchetype.test.skip. After that, I can install and use it. Thanks for both!! Juan 2012/6/1 Thomas Broyer t.bro...@gmail.com On Friday, June 1, 2012

Re: DataGrid progress - who to change default boxs to plain text

2012-06-01 Thread dayanandabv
Thank you so much Thomas, it's worked, appriciate your help. One more question, is it possible to have the static aloing with blinking boxes? like override method and static aloing with boxes. On Jun 1, 4:21 am, Thomas Broyer t.bro...@gmail.com wrote: On Friday, June 1, 2012 7:40:20 AM UTC+2,

Re: can DialogBox has a x close button in the upper right hand corner like most window have?

2012-06-01 Thread jhulford
Yes, that would be exactly how you'd do it. There's really not much to actually implement. All of the handler methods are just simple variants of addHandler, so you really end up with having to actually write are the get/set HTML/Text methods. On Friday, June 1, 2012 5:05:40 AM UTC-4,

Printing from GWT -- how to?

2012-06-01 Thread Rob Tanner
I have a project where the request has been made that I add a print button to several different panels so that users can print them out for their records. I know how to print a page in JavaScript, but in this case all I want to print is the specific panel and nothing else. How do I set that

Re: Printing from GWT -- how to?

2012-06-01 Thread Daniel Mauricio Patino León
http://code.google.com/p/gwt-print-it/ 2012/6/1 Rob Tanner caspersg...@gmail.com I have a project where the request has been made that I add a print button to several different panels so that users can print them out for their records. I know how to print a page in JavaScript, but in this

Re: add timer on panel......

2012-06-01 Thread Joseph Lust
Harshal, You will need to write a simple stopwatch state machine. You can wrap it up as a simple widget to display the time. Basically you just need to track the current time and decrement it every second. This has been discussed before on StackOverflow

Re: making Anchor look like a normal link

2012-06-01 Thread Joseph Lust
If you're using Activities and Places, you can have a link like http://www.yourApp.com/entryPoint.html#stateInfo=something The state information in the URL triggers the page to load to a specific point, the exact same as this Google Groups page does. That way, opening the link would open a

Re: GWT and HttpServletResponse

2012-06-01 Thread Joseph Lust
A trick I've used in this sort of application is to just POST a form to the file generating servlet with *target=_blank*. This will open a new window, but since the window is a file download, it just launches the file download instead of a new window. This combines the step of (1) Getting the

Re: GWT compile: can not find ui:image in dependent jar

2012-06-01 Thread Joseph Lust
Try using a ClientBundle with ImageResourcehttps://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#ImageResourcein the Common project. This will make it very easy to reference that bundle and all of its resources, so that you don't have to worry about relative file paths when

Re: GWT + Hibernate + MySQL inside Eclipse

2012-06-01 Thread Bill Compton
See this thread.http://stackoverflow.com/questions/10712365/cant-configure-mysql-datasource-in-gwt-hibernate-mysql-project On Sunday, May 20, 2012 5:42:49 PM UTC-6, Bill Compton wrote: Our Hibernate setup works fine in non-GWT projects. I'm using Eclipse Indigo, Google Suite Plugin 2.5,

GWT+JPA Persistence.Exception source code not found

2012-06-01 Thread jmbz84
I'm trying to create a simple DB connection using JPA. It works fine but when I try to Throw an Exception to the client I get the error: [ERROR] [browsereditor] - Line 210: No source code is available for type javax.persistence.EntityExistsException; did you forget to inherit a required module?

Re: Printing from GWT -- how to?

2012-06-01 Thread Stevko
This thread had a very nice class that prints any panel, div, etc http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/eea48bafbe8eed63?pli=1 On Jun 1, 11:59 am, Rob Tanner caspersg...@gmail.com wrote: I have a project where the request has been made that I add a print button

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

2012-06-01 Thread Thomas Broyer
On Sat, May 19, 2012 at 6:16 PM, Thomas Broyer wrote: CheckBox turns 'null' into 'Boolean.FALSE' and TextBox turns 'null' into the empty string, and people have complained. See http://code.google.com/p/google-web-toolkit/issues/detail?id=5976#c1 (I'm sure this was discussed, with John or Ray

[gwt-contrib] Re: Complete text-* support for Style (issue1723803)

2012-06-01 Thread tuckerpmt
I just realized that 'text-overflow' is a CSS3 property. How do you guys feel about adding CSS3 properties to Style? If its ok, I will add 'text-justify' and 'text-shadow' which are the only other widely supported text properties. http://gwt-code-reviews.appspot.com/1723803/ --

[gwt-contrib] DEFAULT_FAST_FORWARD_ROWS should be final (issue1724803)

2012-06-01 Thread rchandia
Reviewers: rdayal, Description: DEFAULT_FAST_FORWARD_ROWS should be final Add constructor SimplePager(TextLocation, boolean, boolean) Resubmitting issue 1692803 Thanks Patrick! Please review this at http://gwt-code-reviews.appspot.com/1724803/ Affected files: M

[gwt-contrib] Re: DEFAULT_FAST_FORWARD_ROWS should be final (issue1724803)

2012-06-01 Thread rchandia
Submitted as r11007 http://gwt-code-reviews.appspot.com/1724803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] VerticalSplitPanel should not use DeferredCommand (issue1725803)

2012-06-01 Thread tuckerpmt
Reviewers: , Description: VerticalSplitPanel is using DeferredCommand which is deprecated. Resubmitting 1693803 Please review this at http://gwt-code-reviews.appspot.com/1725803/ Affected files: user/src/com/google/gwt/user/client/ui/VerticalSplitPanel.java Index:

[gwt-contrib] Make CodeSplitter2 outputs a reasonable SOYC. (issue1726803)

2012-06-01 Thread acleung
Reviewers: cromwellian, Description: Make CodeSplitter2 outputs a reasonable SOYC. Please review this at http://gwt-code-reviews.appspot.com/1726803/ Affected files: M dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java Index:

[gwt-contrib] Re: Make CodeSplitter2 outputs a reasonable SOYC. (issue1726803)

2012-06-01 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1726803/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java File dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java (right):

[gwt-contrib] Re: Added style getters to UiRenderers (issue1700803)

2012-06-01 Thread rchandia
http://gwt-code-reviews.appspot.com/1700803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Added style getters to UiRenderers (issue1700803)

2012-06-01 Thread rchandia
http://gwt-code-reviews.appspot.com/1700803/diff/7001/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java File user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java (right):