Re: efficiency of my gwt application

2009-04-16 Thread alex.d
How do you detach the table from the dom, assuming you can have it's parent with table.getParent() ? On 16 Apr., 04:56, Arthur Kalmenson arthur.k...@gmail.com wrote: An easy thing you might want to try is to render the table detached from the DOM. This would ensure that you're not doing any

Re: efficiency of my gwt application

2009-04-16 Thread Vitali Lovich
I'm pretty sure that's wrong - inserting things into a table, detached or not, will still result, AFAIK, in DOM operations. Anyways, if you never add the table to the screen, then it's never attached to begin with. Or do table.removeFromParent(). On Thu, Apr 16, 2009 at 2:23 AM, alex.d

Compiling Error with using JPA GWT

2009-04-16 Thread yyanghhong
Hey I got the following error when using JPA query, which module should I put into GWT compiler class path? Compiling module web.google. [java]Refreshing module from source [java] Validating newly compiled units [java] Removing units with errors [java]

Re: Problem uploading java app

2009-04-16 Thread Java_Oo
I've got the same error. On 4月9日, 下午9时01分, Prashant Gupta nextprash...@gmail.com wrote: getting following error (using command line to upload) : java.net.ConnectException: Connection timed out: connect Unable to upload app: Connection timed out: connect thanks, prashant

FootPage below GWT

2009-04-16 Thread Fergus Reig
I have a little GWT aplication in a normal web html. I am trying (with css, javascript...) put text below* GWT but it is impossible. Thank You. * I have Normal HTML GWT and I would like Normal HTML GWT NormalHTML --~--~-~--~~~---~--~~ You received this message

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-16 Thread Keith Willard
Where is the snapshot respository where the versions 1.1-SNAPSHOT codehaus gwt-maven-plugin lives? only the 1.0 is in the central repository. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

XML Parser problem...

2009-04-16 Thread Soren Johnson
I can't seem to get XMLParser.parse() to work, even with what looks like valid XML. Do I need to remove all the '\n' and '\r' from the String? Is there another common gotcha? thanks... --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: JAXB generated classes under GWT

2009-04-16 Thread Paul Robinson
RalfM wrote: I also tried to use JAXB generated classes in GWT. When i add the JAXB Sources to the GWT Compiler it works with a lot of errors. But when i tried to use some imports( import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement;) the compiler

Re: Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-16 Thread Suren
Hi Salvador, From the example and also from the piece of code mentioned by you, I achieved the Column resizing,sorting and freezed header Thanks alot for that. Now I require a clarification Now Column resizing and column sorting is not very evident. Sometimes I wont get the column resizing and

How to set the height and width of a scrollTable?

2009-04-16 Thread Suren
Hi all, I am using ScrollTable incubator widget. It requires the width and height to be set. What I all want is that, my scrollTable should take the screen/browser width and height. Is there any way to set the values in my client.Java? or I have to rely on HTML and scripting? Kindly advise

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-16 Thread johann_fr
I totally agree on the fact that gwt team should not provide the maven plugin, the codehaus one can do the job. They should just take care of beeing able to integrate with any build system. My problems with the current google eclipse plugin : * If you enable gwt support on your project, GWT SDK

Re: How to set the height and width of a scrollTable?

2009-04-16 Thread Salvador Diaz
I think that all setSize methods take 2 String arguments, which you can of course set as 100%,100% which would effectively take the screen browser width and height if you add it to the RootPanel On Apr 16, 10:02 am, Suren nsurendi...@gmail.com wrote: Hi all, I am using ScrollTable incubator

Re: Relative Position of a Widget

2009-04-16 Thread raulsan
Ok, I will do that I will post again if I find a solution Thank you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com

Re: Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-16 Thread Salvador Diaz
All the cues for what to do and where come from the styles given to the different html elements forming your table, if you look at the incubator examples (for instance, the ScrollTable one at http://collectionofdemos.appspot.com/demo/index.html), you'll see that you get an arrow cursor in the

Re: date picker date components

2009-04-16 Thread Salvador Diaz
Even though those Date methods are deprecated, you really have no other options to get the date fields. You'll have deprecation warnings all over the place, but until something like joda-time gets ported to GWT there's simply no other way Cheers, Salvador On Apr 16, 10:12 am, tony.p..

Re: Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-16 Thread Suren
Hi, Yes I agree that, there is much to learn from the incubator. To make it simple, I am just checking with the users in the forum who already used such widgets and has the same requirements like me, to get the exact details what I want ;-)) Anyway thanks again for your help. Let me check the

Re: Problem uploading java app

2009-04-16 Thread Salvador Diaz
Could you be a lot more specific ? Uploading an app where ? Where does GWT fits into it ? Cheers, Salvador On Apr 9, 3:01 pm, Prashant Gupta nextprash...@gmail.com wrote: getting following error (using command line to upload) : java.net.ConnectException: Connection timed out: connect

Re: Uncaught exception escaped: JavaScriptException: (Error): Invalid argument.

2009-04-16 Thread Salvador Diaz
Thanks buddy You're welcome Yes I agree that, there is much to learn from the incubator. Don't forget to look at the demos with Firebug to get a hint of what happens with the css. The Showcase is pretty great for standard GWT widgets also (plus the css and code examples are viewable

Re: Compiling Error with using JPA GWT

2009-04-16 Thread Salvador Diaz
I think you're trying to use server-side code in the client-side of your application, do you understand how modules are structured and the difference between server-side code and client-side code in GWT ? If not, I suggest you read the GWT Documentation, which explains the whole of it pretty

Re: No JSNI method generated

2009-04-16 Thread Thomas Broyer
On 16 avr, 07:01, dayre david.c.a...@gmail.com wrote: Vitali, this looks fairly straight forward... but now i'm having trouble wrapping this with a Composite so i can create my clickable list wiget.    The issue is the HTML.wrap() which gives me an exception due to the element not being

Re: XML Parser problem...

2009-04-16 Thread olivier nouguier
Hi, What it the output ? Did you inherit XML module. On Thu, Apr 16, 2009 at 9:04 AM, Soren Johnson soren.john...@gmail.comwrote: I can't seem to get XMLParser.parse() to work, even with what looks like valid XML. Do I need to remove all the '\n' and '\r' from the String? Is there another

Re: Can I add a Yahoo! Map to my GWT application

2009-04-16 Thread Salvador Diaz
If you can do it in javascript, you can do it with GWT (with JSNI methods, read the docs). If you google it you might even find GWT wrappers ready to manipulate Yahoo APIs. Cheers, Salvador On Apr 16, 11:04 am, LFCPD laieta.hip.hop...@gmail.com wrote: Hi! Can I add a Yahoo! Map to my GWT

Re: efficiency of my gwt application

2009-04-16 Thread Vitali Lovich
On Thu, Apr 16, 2009 at 4:58 AM, Thomas Broyer t.bro...@gmail.com wrote: On 16 avr, 08:30, Vitali Lovich vlov...@gmail.com wrote: I'm pretty sure that's wrong - inserting things into a table, detached or not, will still result, AFAIK, in DOM operations. ...but DOM operations on a

Re: Trouble with asynchronous calls

2009-04-16 Thread Salvador Diaz
If you really really want for some code to be executed when the RPC call returns then you're forced to put that code in the onSuccess method of your callback, there's no other way around it. On Apr 15, 10:22 pm, badgerduke badgerd...@gmail.com wrote: Hello: Just started using GWT and I am

Re: Is it possible to extend a Popup or DialogBox to detect when its moved?

2009-04-16 Thread Thomas Wrobel
Thanks :) I had to change the MouseDownEvents to MouseMove and MouseUp, but it worked a charm, cheers :) ~~ Reviews of anything, by anyone; www.rateoholic.co.uk Please try out my new site and give feedback :) 2009/4/16 Vitali Lovich vlov...@gmail.com: Sorry, was looking at the 1.5 doc.

Re: GWT Serialization with CustomFieldSerializer fails because of SerializationPolicy

2009-04-16 Thread Salvador Diaz
any more suggestions? Create a marker interface for the objects that you want to go through RPCs and type your Map with it: public interface DTO extends Serializable{ } ... The you declare your Map as: MapString, DTO Would that work ? --~--~-~--~~~---~--~~

Re: GWT Serialization with CustomFieldSerializer fails because of SerializationPolicy

2009-04-16 Thread Vitali Lovich
Using IsSerializable instead of Serializable should also cut down on the number of objects (although of course you have to modify your classes if you marked them as Serializable only). On Thu, Apr 16, 2009 at 6:10 AM, Salvador Diaz diaz.salva...@gmail.comwrote: any more suggestions? Create

The import com.google.gwt.event cannot be resolved

2009-04-16 Thread vijay
Hi All,I am very new to GWT and was going through the initial tutorial for creating a stock watcher application, I got stuck at a point where it was not able to resolve the com.google.gwt.event.* imports. I could not find any related topic through google aswell so thought i am missing something.

Re: efficiency of my gwt application

2009-04-16 Thread Thomas Broyer
On 16 avr, 08:30, Vitali Lovich vlov...@gmail.com wrote: I'm pretty sure that's wrong - inserting things into a table, detached or not, will still result, AFAIK, in DOM operations. ...but DOM operations on a detached tree is much faster because it cannot cause a reflow or repaint (same for

Can I add a Yahoo! Map to my GWT application

2009-04-16 Thread LFCPD
Hi! Can I add a Yahoo! Map to my GWT application? I've been looking around and it seems that there'n no api for java to insert a yahoo map to the code. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

Re: No JSNI method generated

2009-04-16 Thread Thomas Broyer
On 16 avr, 11:53, Vitali Lovich vlov...@gmail.com wrote: Is there a particular reason you recommend this approach as opposed to using the HTML widget?  For something as simple as this, it seems like overkill to build-up a whole widget wrapping this when it doesn't seem to offer anything

Re: The import com.google.gwt.event cannot be resolved

2009-04-16 Thread vijay
Great! It resolved my problem. Thanks a lot Thomas, On Thu, Apr 16, 2009 at 4:14 PM, Thomas Broyer t.bro...@gmail.com wrote: On 16 avr, 12:32, vijay mymail.vi...@gmail.com wrote: Hi All,I am very new to GWT and was going through the initial tutorial for creating a stock watcher

Re: efficiency of my gwt application

2009-04-16 Thread Thomas Broyer
On 16 avr, 11:50, Vitali Lovich vlov...@gmail.com wrote: On Thu, Apr 16, 2009 at 4:58 AM, Thomas Broyer t.bro...@gmail.com wrote: On 16 avr, 08:30, Vitali Lovich vlov...@gmail.com wrote: I'm pretty sure that's wrong - inserting things into a table, detached or not, will still result,

Re: css for flextable's columns

2009-04-16 Thread Salvador Diaz
I think you missed the part where Thomas advices you to ensure your CSS for the table has table- layout: fixed . I also recommend that you try it here: http://www.w3schools.com/css/pr_tab_table-layout.asp On Apr 16, 11:07 am, denis56 denis.ergashb...@gmail.com wrote: Thanks for your reply

Re: IE6 + history support

2009-04-16 Thread Thomas Broyer
On 15 avr, 21:21, davidroe roe.da...@gmail.com wrote: usual problem with IE6 not behaving like any other browser. this one is relatively blatant. I have included the code to a new project created in 1.4 that has a history listener and not much else. if I click on the link, which sets the

Re: No JSNI method generated

2009-04-16 Thread Vitali Lovich
Is there a particular reason you recommend this approach as opposed to using the HTML widget? For something as simple as this, it seems like overkill to build-up a whole widget wrapping this when it doesn't seem to offer anything over using HTML. On Thu, Apr 16, 2009 at 5:07 AM, Thomas Broyer

ImageBundle and Image

2009-04-16 Thread hezjing
Hi I'm developing an application like eBay http://www.ebay.com/, showing picture of the products in the front page. Please correct me if I'm wrong, the ImageBundle is meant for widget's image (or icon) and that I should be using com.google.gwt.user.client.ui.Image to create the picture of the

Re: ImageBundle and Image

2009-04-16 Thread Salvador Diaz
To get a better picture of what an ImageBundle is and where and how it should be used, take a look at: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideImageBundles And yes, you should be using standard com.google.gwt.user.client.ui.Image

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-16 Thread Arthur Kalmenson
It would definitely be nice if the Google Eclipse plugin was build system agnostic, or at least gave you more configuration options. Maybe we should just file a issue with the Google Eclipse plugin (I can't find the Google Code project...)? -- Arthur Kalmenson On Thu, Apr 16, 2009 at 4:33 AM,

Re: Relative Position of a Widget

2009-04-16 Thread raulsan
UuujUuu!it works! it is true that mouseHanlders are more comfortable to use than listeners. at the end I simply used: int x = event.getX(); int y = event.getY(); inside the handlers. And looked at the image.java to get some help. Cheers Vitali. I post here the code with the

Re: efficiency of my gwt application

2009-04-16 Thread Arthur Kalmenson
Do you have any benchmarks showing those advantages ? I wasn't aware of those 2 facts and I find them quite interesting. I don't, but I do remember some time ago this was discussed (in one of the presentations or maybe on IRC) and it turned out to be a substantial speed increase. I'll see what

(TypeError) b is null fileName:...

2009-04-16 Thread gvid
on some request very seldom i get this error (TypeError): b is null fileName: http://myApp:8443/3380089ASA3D61D87C6FC9E6335F.cache.html lineNumber: 1154 stack: E0b(null, [objcect obje...@http:myApp: bla-bla- bla When i use FF i get this text error, when IE - JavaScript error null, or

Re: GWT 1.6, JSP's wont compile.

2009-04-16 Thread Miguel Méndez
Thanks for updating the issue. On Wed, Apr 15, 2009 at 6:41 PM, Adrian ahay...@gmail.com wrote: Thanks for the replies guys, this is very helpful. I've added a link to this discussion in the bug report. - Adrian On Apr 16, 10:09 am, Ken kenfehl...@gmail.com wrote: Wow, thanks for

Re: (TypeError) b is null fileName:...

2009-04-16 Thread Salvador Diaz
(TypeError): b is null fileName:http://myApp:8443/3380089ASA3D61D87C6FC9E6335F.cache.html lineNumber: 1154 stack: E0b(null, [objcect obje...@http:myApp: bla-bla- bla It's looks like a null pointer exception, try compiling with the flag - style PRETTY, that should give you a more meaningful

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-16 Thread Mark Renouf
The maven-gwt-plugin from codehaus is looking quite good at this point. I recommend trying 1.1-SNAPSHOT. I just reported an issue with running unit tests (which has been fixed in SVN, waiting on a new SNAPSHOT build). With that it does absolutely everything I've expected (on all platforms,

Re: 1.6 Compile problem on Mac OSX

2009-04-16 Thread Miguel Méndez
It does not sound like you are doing anything incorrectly. I know that hosted mode won't work with Java 1.6 on OSX, but I would not expect that to cause a problem for compilation. Sounds like you should file an issue for this. On Wed, Apr 15, 2009 at 5:17 PM, Dave Finch

Re: 1.6 Compile problem on Mac OSX

2009-04-16 Thread Salvador Diaz
It's a known issue with Java 6 and SWT on OS X: http://code.google.com/p/google-web-toolkit/issues/detail?id=3491q=Invalid On Apr 16, 3:30 pm, Miguel Méndez mmen...@google.com wrote: It does not sound like you are doing anything incorrectly.  I know that hosted mode won't work with Java 1.6 on

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-16 Thread Salvador Diaz
I'm totally against having GWT compile directly into /src/main/webapp. It's completely against the principles of keeping your source tree clean and putting all artifacts under target. If you stick with traditional maven approach, it means you need to execute war:exploded first before

inline Hyperlink as part of a sentence -- spacing is getting battered by IE 6

2009-04-16 Thread Jeoff Wilks
I'm trying to get a simple inline Hyperlink as part of a sentence, using the display: inline hack. In Firefox I get what I expect: You may view Item 1now if you like. But IE 6 swallows the space after the hyperlink (note the lack of any space between 1 and now): You may view Item 1now if you like.

Re: No JSNI method generated

2009-04-16 Thread Vitali Lovich
Write - good point regarding wrap. It's actually a restriction that's always been in effect, they just put in an assertion recently, from my understanding. On Thu, Apr 16, 2009 at 6:59 AM, Thomas Broyer t.bro...@gmail.com wrote: On 16 avr, 11:53, Vitali Lovich vlov...@gmail.com wrote: Is

Re: No JSNI method generated

2009-04-16 Thread dayre
I got it now ! While i see the benefits of using GWT (Eclipse integration, App engine benefits, my backend app is Java, component model etc.) it is quite a paradigm shift to get my brain to think in Javascript terms while writing the client side Java code... + being somewhat spoiled (or ruined

Fire an onclick Event

2009-04-16 Thread Marteijn Nouwens
Hi, All. I am maintaining some gwt libraries. Now am i upgrading to Gwt 1.6. Most is understandable since i am used to swing. However i want to fire onClick events in some cases where the sending widget the source in the clickevent. I saw some items on using a native cal to get the NativeEvent

Re: BUG in 1.5.3 and DecoratedPanel, Standard theme and IE7

2009-04-16 Thread Javier Mena
The documentation is for GWT 1.4... so 1.4 != 1.5 != 1.6 However, here's is the documentation for 1.5 (which is not updated). http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=FAQ_ChangeLocationGWTApplicationFiles Cheers, On Apr 16, 4:17 am, Thomas

Re: efficiency of my gwt application

2009-04-16 Thread Ian Bambury
2009/4/16 Vitali Lovich vlov...@gmail.com You seem to be saying that: tree t = new tree() t.addItem(abc); t.addItem(def); RootPanel.get().add(t); will have fewer reflows than tree t = new tree() RootPanel.get().add(t) t.addItem(abc) t.addItem(def) According to you (at least from

Re: GWT EJB

2009-04-16 Thread Jason Essington
The server side is simple enough if you are already familiar with JEE, The RemoteServiceServlet (GWT RPC Servlets) are just regular servlets as far as the server is concerned, so you can call your EJBs just the same way you would in any JEE app, so simply googling for JEE examples should

How do I change the location of my cache/nocache HTML files

2009-04-16 Thread Javier Mena
Hi, I'm trying to relocate the nocache files, but it doesn't work. See http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/16d306b481911fec/f5d5c4becaf016a5?lnk=gstq=javimena#f5d5c4becaf016a5 Where can I find an updated information for GWT 1.5? Thanks

Re: efficiency of my gwt application

2009-04-16 Thread Vitali Lovich
On Thu, Apr 16, 2009 at 10:46 AM, Ian Bambury ianbamb...@gmail.com wrote: 2009/4/16 Vitali Lovich vlov...@gmail.com You seem to be saying that: tree t = new tree() t.addItem(abc); t.addItem(def); RootPanel.get().add(t); will have fewer reflows than tree t = new tree()

Re: 1.6 Compile problem on Mac OSX

2009-04-16 Thread Jason Essington
Java 1.6 on OS X is 64 bit only, and GWT seems to have issues with 64 bit JVMs at the moment. -jason On Apr 15, 2009, at 3:17 PM, Dave Finch wrote: Hi, I am using the new eclipse (3.4) plugin with GWT 1.6.4 on Mac OSX 10.5. Everything works great when my project is using Java 5 but

Re: efficiency of my gwt application

2009-04-16 Thread Vitali Lovich
I dunno about that one two fronts: 1) All the same DOM elements still have to be created. This would only help if you have such a slow JS engine in your browser that running the DOM manipulations in Javascript is so slow that it outweighs the cost of actually performing the manipulations (which

Re: java.lang.StackOverflowError with GWT

2009-04-16 Thread Vitali Lovich
Umm... I'm pretty sure there's an upper-limit to how big you can make your stack (at least on Linux there definitely is). Are you sure that Xss64M -Xss32M actually give you a different stack size? On Thu, Apr 16, 2009 at 10:36 AM, Rockster rjan...@gmail.com wrote: Oke, I finally got it to

Re: Announcing GWT 1.6...and quite a bit more

2009-04-16 Thread Stan B
I have an interesting question about the plugin. How do I export a WAR file now and/or how do I add a web application project to an EAR? On Apr 15, 2:17 pm, Darkflame darkfl...@gmail.com wrote: I've changed the libs over in eclipse, but when it compiles it gives the message; WARNING:

Re: Announcing GWT 1.6...and quite a bit more

2009-04-16 Thread Stan B
I have an interesting question about the Plugin. How do I export a Web Application Project to a WAR and/or how do I add that project to an EAR Project? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

GWT OpenLayers

2009-04-16 Thread Michel
Hello, I'm trying to develop an application with gwt and OpenLayers only am I not getting set up. I wonder if anyone knows how set from the beginning and what the steps necessary for my application or a good tutorial --~--~-~--~~~---~--~~ You received this message

JPA module config

2009-04-16 Thread pepusz
Hi, I try to configure entities into gwt. I created an ejb and inside in the ejb made entities package. Inside the entities package insert a Entities.gwt.xml: module !-- Inherit the core Web Toolkit stuff. -- inherits name='com.google.gwt.user.User' / /module After that

KeyboardListenerAdapter works IE but not in Firefox

2009-04-16 Thread etereum
Hello I'm confused, and i'm going to be mad :S I have this code... public class CrearReglaTienda implements EntryPoint{ ... ... public void onModuleLoad() { TextBox codTienda = TextBox.wrap(RootPanel.get(ID.codTienda.toString ()).getElement()); codTienda.addKeyboardListener(new

Re: Official word on Safari 4 public beta support

2009-04-16 Thread Churky
I have just installed the GWT 1.6.4 and noticed that Safari 4 is actually not supported. I went from 1.5.3 which does support Safari 4 or at least not throw an exception on Load on a MAC. Any one have any news on how close are we to supporting Safari 4. or any way to stop the exception from

Re: Serialization issue with generic Maps

2009-04-16 Thread rmuller
The problem is you cannot use Object as a type argument Regards, Ronald --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: efficiency of my gwt application

2009-04-16 Thread Jason Essington
You might want to tell the Lombardi Blueprint guys that ... as it turns out, they discovered in the development of their application that you are mistaken on all points. Feel free to watch their presentation from Google I/O last year if you'd like to check my references:

Re: Official word on Safari 4 public beta support

2009-04-16 Thread Jason Essington
That's funny, I've been using GWT 1.5.3 and 1.6.x (on OS X) with both the webkit nightlys and with Safari 4, and I have had no problem at all. What seems to be your issue? -jason On Apr 16, 2009, at 7:40 AM, Churky wrote: I have just installed the GWT 1.6.4 and noticed that Safari 4 is

Re: Auto Logout Feature

2009-04-16 Thread Jason Essington
You'd probably want to control that on the server side, so a session timeout would be the simplest method. -jason On Apr 16, 2009, at 8:23 AM, Mark wrote: HI all. I am new to GWT. I want to implement an auto logout feature for my application. Any ideas will be most welcome as I am

Re: Serialization issue with generic Maps

2009-04-16 Thread Jason Essington
Object is the super class of EVERY java object, by telling GWT that you are returning Object, it would force the compiler to generate a serializer for every serializable object on its classpath! that is horribly inefficient. you'll want to narrow that type down a bit. -jason On Apr 2,

Re: efficiency of my gwt application

2009-04-16 Thread Vitali Lovich
Can you point out the relevant segments within the presentation? I skimmed through some parts, it seemed like they went for just building the raw HTML on the client side (hence the reason they transfer HTML from the server). Also, they're presentation is for 1.4, so they're reasons might not be

Re: XML Parser problem...

2009-04-16 Thread Jeff Chimene
On Thu, Apr 16, 2009 at 12:04 AM, Soren Johnson soren.john...@gmail.com wrote: I can't seem to get XMLParser.parse() to work, even with what looks like valid XML. Do I need to remove all the '\n' and '\r' from the String? Is there another common gotcha? thanks... Are you talking about

Re: Auto Logout Feature

2009-04-16 Thread Vitali Lovich
I used both. It depends what kind of behaviour you want. Here's what I have in the class that implements the onModuleLoad: @Override public void onPreviewNativeEvent (NativePreviewEvent preview) { if (closingRegistration == null)

Re: XML Parser problem...

2009-04-16 Thread Soren Johnson
oops, what I was actually trying to do is use GWT's XMLParser on the server-side. This is forbidden, apparently. Is there anyway to get around this restriction? I would love to be able to have one piece of code that parses the same piece of XML on the client as well as the server. I don't want to

Re: efficiency of my gwt application

2009-04-16 Thread Jason Essington
Their reasoning was that object instantiation was orders of magnitude slower than simply building the HTML. in some cases even building HTML on the client was too slow, so they would shuttle it off to the server. The application would decide at runtime which way was faster, and use the

Re: Auto Logout Feature

2009-04-16 Thread Vitali Lovich
Forgot to mention, you can ignore closingRegistration. When I'm logged in, I detect if the user is navigating away from my app pop-up a confirmation. On Thu, Apr 16, 2009 at 11:53 AM, Vitali Lovich vlov...@gmail.com wrote: I used both. It depends what kind of behaviour you want.  Here's

Re: XML Parser problem...

2009-04-16 Thread Jason Essington
Nope, the GWT parser is actually just JSNI calls to the browser's parser and since the browser doesn't exist on the server, it couldn't really work. There are plenty of XML libs for java though. -jason On Apr 16, 2009, at 9:50 AM, Soren Johnson wrote: oops, what I was actually trying to

Re: efficiency of my gwt application

2009-04-16 Thread Thomas Broyer
On 16 avr, 10:43, Salvador Diaz diaz.salva...@gmail.com wrote: 3. when updating the UI, working with hidden (display:none) or, even better, detached widgets is faster; sometimes, building a new widget from scratch, populating it and replacing an existing equivalent widget might be

Re: Problems getting started with GWT and Eclipse

2009-04-16 Thread Miguel Méndez
Any luck with this? What OS is this on and what Java version are you using? On Tue, Apr 14, 2009 at 2:11 PM, Rob Tanner caspersg...@gmail.com wrote: Hi, I'm running Eclipse 3.4 and used the built-in add software capability to download and install toolkit plugin and app engine. Following

Re: inline Hyperlink as part of a sentence -- spacing is getting battered by IE 6

2009-04-16 Thread mars1412
a non-breaking space might work: nbsp; On Apr 16, 3:51 pm, Jeoff Wilks jeoffwi...@gmail.com wrote: I'm trying to get a simple inline Hyperlink as part of a sentence, using the display: inline hack. In Firefox I get what I expect: You may view Item 1now if you like. But IE 6 swallows the space

Re: Saving Pojo object to binary format (writeObject from outputStream)

2009-04-16 Thread Sumit Chandel
Hi fvisticot, Have you checked out the Gears binging for GWT in the GALGWT project? I think the Database API exposed there should make it really easy to map your POJOs to the client-side database and setup your CRUD operations around it with a thin client-side data layer. All you would need to do

Re: Auto Logout Feature

2009-04-16 Thread Jason Essington
Right, a client side timer is a nice user convenience, but don't make the mistake of depending on the client side code to perform the logout, you will always need a server side solution as well. The client must always be considered un-trustworthy and unreliable. So depending solely upon

Re: Designer- Engineer workflow with GWT

2009-04-16 Thread Sumit Chandel
Hi Ip, We had a blog post on the GWT blog a little while ago talking about applying style to your GWT application. The post was written by the folks behind StudyBlue.net, and I think it does a great job of talking about best practices you should use to get style into your GWT applications and how

Re: efficiency of my gwt application

2009-04-16 Thread Vitali Lovich
On Thu, Apr 16, 2009 at 12:04 PM, Jason Essington jason.essing...@gmail.com wrote: Their reasoning was that object instantiation was orders of magnitude slower than simply building the HTML. in some cases even building HTML on the client was too slow, so they would shuttle it off to the

Re: How do I change the location of my cache/nocache HTML files

2009-04-16 Thread Thomas Broyer
On 16 avr, 16:56, Javier Mena javim...@gmail.com wrote: Hi, I'm trying to relocate the nocache files, but it doesn't work. Seehttp://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... Where can I find an updated information for GWT 1.5? Issue 3278, which I pointed out in

Re: inline Hyperlink as part of a sentence -- spacing is getting battered by IE 6

2009-04-16 Thread Thomas Broyer
On 16 avr, 15:51, Jeoff Wilks jeoffwi...@gmail.com wrote: I'm trying to get a simple inline Hyperlink as part of a sentence, using the display: inline hack. In Firefox I get what I expect: You may view Item 1now if you like. But IE 6 swallows the space after the hyperlink (note the lack of

Re: efficiency of my gwt application

2009-04-16 Thread Jason Essington
No widget baggage ... On Apr 16, 2009, at 10:55 AM, Vitali Lovich wrote: How is this different than building up the HTML structure using widgets as I mention above? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

DOM.getAbsoluteLeft() returns a wrong value in IE6 and GWT 1.6.4

2009-04-16 Thread Óscar Frías
I am migrating a GWT application from GWT 1.5 to GWT 1.6.4 The application uses the SliderBar widget (with some changes). SliderBar calls DOM.getAbsoluteLeft() to obtain the position of the knob. The problem is that this code was working OK in all the browsers when we were using GWT 1.5.3. Now,

Re: How do I change the location of my cache/nocache HTML files

2009-04-16 Thread Javier Mena
Ok. Thanks. But the documentation is not updated... it's for 1.3 and 1.4. Not for 1.5. Cheers, On Apr 16, 11:27 am, Thomas Broyer t.bro...@gmail.com wrote: On 16 avr, 16:56, Javier Mena javim...@gmail.com wrote: Hi, I'm trying to relocate the nocache files, but it doesn't work.

Re: Auto Logout Feature

2009-04-16 Thread Vitali Lovich
Yeah, I guess I shouldn't have made that assumption implicit. My webapps are never trusted. Any validation I do on input is usually duplicated on the server side (sometimes like password confirmation there's no need). Actually more is usually done on the server as well to make sure we're not

Re: Announcing GWT 1.6...and quite a bit more

2009-04-16 Thread Miguel Méndez
We did not enable the export webapp project as WAR feature for the first release. As a work around, you should be able to build the java project, perform a GWT compile (if using GWT) and then zip up the war folder. On Thu, Apr 16, 2009 at 11:15 AM, Stan B stan...@gmail.com wrote: I have an

Re: KeyboardListenerAdapter works IE but not in Firefox

2009-04-16 Thread Salvador Diaz
When i test on IE it's ok but when test in Firefox i can't see the System.out. What do you mean by that ? IE = hosted mode ? Do you understand the difference between hosted mode and the compiled application ? Also, where would you want the sysout to be printed to when testing in Firefox ?

Re: Serialization issue with generic Maps

2009-04-16 Thread Salvador Diaz
Here's a similar thread with possible workarounds: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a3081e050d5b719a# On Apr 2, 4:32 pm, snorbi sandor.norb...@erinors.com wrote: Hello, We have problems serializing generic Maps in gwt-1.6.2 (both in web and hosted

Re: XML Parser problem...

2009-04-16 Thread Salvador Diaz
And just to mention one of my favourite XML libs for java: you should check XStream, it has some really nice features and it's pretty easy to use. On Apr 16, 6:21 pm, Jason Essington jason.essing...@gmail.com wrote: Nope, the GWT parser is actually just JSNI calls to the browser's   parser and

Re: Announcing GWT 1.6...and quite a bit more

2009-04-16 Thread new GWTUser();
Does the new folder structure have to be war/* or can the war be replaced by any other directory name? On Apr 7, 10:57 pm, Bruce Johnson br...@google.com wrote: Hi Folks! Exciting news today. Rather than attempting to describe everything here, let me point you to some blog posts that

Re: inline Hyperlink as part of a sentence -- spacing is getting battered by IE 6

2009-04-16 Thread Jeoff Wilks
Good idea. I just tried InlineHyperlink but it has the same problem. Looking at the 1.6 source code I see no behavioral differences in InlineHyperlink, other than a different primary style name (which probably defaults the style to display: inline). On Thu, Apr 16, 2009 at 12:43 PM, Thomas Broyer

Google Chart API Vs Visualization API

2009-04-16 Thread Sam
Can somebody highlight the differences between Chart API and Visualization API? Which is more powerful in terms of creating bar graphs and pie charts? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: efficiency of my gwt application

2009-04-16 Thread Jason Essington
oops, my bad, you are talking about the grid example ... This is overly simplified, but ... Well lets look at what is happening. every time you create a widget, you instantiate a javascript object, that object has fields and methods to support widget behavior, so more javascript object

Re: date picker date components

2009-04-16 Thread tony.p..
Thank you Salvador, I tried it, got wrong results: Date date = (Date) event.getValue(); int year = date.getYear(); month = date.getMonth(); day = date.getDay(); the result was (year, month, day): 109, 3, 3 Has nothing to do with today's date components. Am I missing something? Do

  1   2   >