Problems with $doc.readyState and app sometimes failing to load/run in IE

2009-05-29 Thread DaveS
We have a fairly big GWT app, and we are experiencing some issues when running it in IE. Sometimes (and there's no rhyme or reason to it) the app simply fails to start up. The HTML file is loaded by the browser, and the my.app.nocache.js file is loaded, but it then gets stuck. After a *lot* of

large GWT app fails to load in IE - anyone else seeing this?

2009-06-05 Thread DaveS
[re-post with better title - sorry for the dup but this is killing me!] If anyone from the GWT dev team is reading, please get in touch, we are struggling badly with this issue and would *really* appreciate any help. We have a fairly big GWT app, and we are experiencing some issues when running

Re: JDBC Example using GWT

2009-08-13 Thread DaveS
Not really clear what you mean here... JDBC is a back-end (server side) technology, compared to GWT which is for generating your client side GUI. Even though you are apparently writing Java code for GWT, remember that it gets compiled to JavaScript and executed in the browser. You could just

Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-19 Thread DaveS
Our application uses both, depending on quite a few factors. In some cases we are putting data into Flash (.swf) components, and need it in XML, so we use a 'raw' HTTP request to get the data. In most other cases we use GWT RPC to retreive data from the server, or to initiate actions in the

Re: when should we use GWT RPC and HTTP mechanism to communicate to server

2009-08-20 Thread DaveS
of client/server comms is GWT RPC. DaveS. On Aug 19, 1:43 pm, venki pola.ve...@gmail.com wrote: Thank you DaveS Ok cool instance... One more doubt Dave. I understand your example. Let us suppose my service is going to use by GWT client only. So in this case i can use either GWT RPC or HTTP

Re: Problem with GWT RPC when parameter contains collection.

2009-08-22 Thread DaveS
Have you tried enabling debugging in the browser, to see if any JS exceptions are being thrown? On Aug 21, 7:01 pm, Arkady arka...@gmail.com wrote: Actually the request is never posted and therefore never arrives to the impl class. I suspect that the problem is with the serialization of the

Re: When run jsp in GWT 1.7, error occurred Syntax error, parameterized types are only available if source level is 1.5

2009-08-23 Thread DaveS
Are you using maven? If so check your POM for the compiler settings for the maven-compiler-plugin to make sure the java version is set to 1.5 or above. If not then there must be some equivalent setting that governs the java-version compatibility of the GWT java-to-js compiler On Aug 23, 10:45 

Re: Any thing in GWT for Gridlayout???

2010-01-08 Thread DaveS
Seconded -- FlexTable is your friend here, and can cope with odd widgets or labels that are too long by using FlexTable.getFlexCellFormatter() to get the cell formatter, and then set 'colspan' (or rowspan) for some cells if necessary. It can produce great results, and basically maps to an HTML

Re: Request data

2010-01-14 Thread DaveS
Oli It's easy to get back both lists in a single RPC call, by defining a ResultType class such as:- class MyResult implements Serializable { public ListItem items; public ListFilter filters; } where both classes Item and Filter are also serializable. Then have a method like public MyResult

Re: How to minimize browser using GWT ?

2009-10-28 Thread DaveS
Why not just use the browser's own minimise button? I'm sure you won't be able to minimise the browser from inside JavaScript code. Dave. On Oct 28, 1:24 pm, Rinku ashishkushwaha1...@gmail.com wrote: Please help me. It is very urgent. Thanks in advance. On Oct 28, 9:42 am, Rinku