Re: GWT+JPA Persistence.Exception source code not found

2012-06-01 Thread Akram Moncer
try to remove theof the gwt.xml file and add the jars in the war/lib folder 2012/6/2 jmbz84 > [image: Boxbe] > google-web-toolkit@googlegroups.com is not on your Guest > List| Approve > sender

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 wrote: > I have a project where the request has been made that I add a print button > to several differen

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? [E

Re: GWT + Hibernate + MySQL inside Eclipse

2012-06-01 Thread Bill Compton
See this thread. 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,

Re: GWT compile: can not find in dependent jar

2012-06-01 Thread Joseph Lust
Try using a ClientBundle with 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 whe

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 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 dow

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: 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 here

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 > 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 t

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 up

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, tong12

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 wrote: > On Friday, June 1, 2012 7:40:20 AM UTC+2, dayanandabv wrote:

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 > > > On Friday, June 1, 2012 9:09:43 AM UTC+

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

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 te

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 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, Jun

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. Th

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 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 response with the 900

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 record

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.Caption * and then use

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 th

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 b

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: 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 wo

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 Editor. One of the properties of X is a Boolean which is initialized as Boolean.FALSE on construction. This property is is annot

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 ? http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/g

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] http://www.whatwg.org/specs/web-apps/current-work/m

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 > Hi Thomas, > > I try