Stockwatcher tutorial + gwt ease

2009-07-20 Thread Manny
I've been getting along fine without frameworks until now and finally decided to pick one. I'm split between symfony and gwt. and would like to know how easy it would be for a realative beginner in the app game to pick up gwt. whats the learning curve. Also i'd like some help figuring out why i

Call to load prototype.js from Google CDN causing errors

2009-07-20 Thread jugesh
hi, My problem is that my application is hosted on a https enabled server and recenty all of a sudden the code has started to load up http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js, and which is why i am getting mixed content warning on IE. My problem is that i have not

JSNI issues

2009-07-20 Thread wsaleem
I am not a JS developer and use it pretty much by example, so it might be that I am missing something really basic below. I have come across problems using JSNI in the following 2 scenarios: 1. I use Google Visualization API successfully in JS as follows: HTML file

Re: Setting DataSource (JNDI) in GWT 1.6 (hosted mode - Jetty)

2009-07-20 Thread Henning
You have to add the jetty-*.jar's in the launch configuration properties' classpath. The project classpath is not used for the internal jetty server. I made a description in my blog (in german): http://curtstech.blogspot.com/2009/07/gwt-16-hosted-mode-internen-jetty.html -Henning On 5 Jun.,

Re: Creating Stand Alone Composite??

2009-07-20 Thread ToddP
Manolo, Thank you very much for the info! While I wasn't able to compile without an entry-point (the com/module1/Include.gwt.xml from you example was causing problems as it seems to want an entry-point to be able to compile) I was able to create a dummy entry point. That gave me the same result

Re: why GWT hosted mode showed a blank page?

2009-07-20 Thread 承颜
thanks. I clear the cache of IE,and try it againit run ok I thought that is a bug of hosted mode? 2009/7/18 Adam S servic.a...@gmail.com: I have similar problem. I use gwt with with smartGwt, eclipse (google plugin) and embeded server for hosted mode under windows. App isn't

Re: Creating Stand Alone Composite??

2009-07-20 Thread ToddP
Thanks Bruno and Manolo! When I compiled (from the GWT plugin to Eclipse) I got an error saying my .xml file was missing the entry point element. I worked around this by simply creating a dummy entry-point and was able to move on. Thanks again! On Jul 19, 11:03 am, Nuno brun...@gmail.com

Using Rack applications inside Hosted mode

2009-07-20 Thread Julio Capote
Wrote a blog article detailing how one can use any Rack application inside of GWT's Hosted mode servlet container. This allows you to develop your application without needing to deploy to your backend all the time.

get Iframe and form from java

2009-07-20 Thread saneera gunasekara
Dear I have set the iframe to the Panel using the Panal setHtml method as follows editPanel.setHtml( center + brbr + iframe name='+iFrameName+' id='+iFrameName+' scrolling='yes' + src= + urlVM +

Re: Stockwatcher tutorial + gwt ease

2009-07-20 Thread Neha Chachra
I recently learned GWT. And I got my StockWatcher app running at once. GWT is not difficult at all. It should be easy to pick up. The documentation and the mailing list are great too. Btw, a little google search for your error popped up a thread. Hope it helps you:

GWT Application +Memory Leakage

2009-07-20 Thread Sanj
HI All, I am facing memory leakage problem in my application. I searched on Google but i found that memory leakage may be because of EXT JS because of some cyclic references in between JSNI and DOM objects and browser is not able to handle these DOM objects for garbage collection. I am using

Re: GWT module needs to be (re)compiled

2009-07-20 Thread Sam Brodkin
Fixed. Summary here: http://code.google.com/p/gwt-maven2-starter-app/issues/detail?id=5can=1 On Jul 7, 4:58 pm, Sam Brodkin sambrod...@gmail.com wrote: I had the same problem.  I took the error message's advice and ran it in hosted mode, clicked compile/Browse, then i took the /war directory

rashmi dixit wants to chat

2009-07-20 Thread rashmi dixit
--- rashmi dixit wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-ee39210bcd-4104d93eba-6202a5a10b123ddc You'll need to

Re: Why ImageBundleGenerator does not optimize the generated icon set?

2009-07-20 Thread Thomas Broyer
On 15 juil, 04:31, Kelvin kelvin...@gmail.com wrote: I create a SilkImageBundle and put all silk icons library to it. the silk icon library contains 1000 icons and just a few hundreds of them are being used by the application. And I supposed that GWT can optimize the icon set and contains

Automatic Testing

2009-07-20 Thread Joakim Sjöberg
Hello! I have a question that you might be able to answer. We are developing a GWT application and would like some form of Automatic testing of the GWT application. Is there any good way to do this? Could someone please point me in the right direction? Regards Joakim Sjöberg

Re: Automatic Testing

2009-07-20 Thread Manuel Carrasco
Normally I create GWTTestCase tests and run they using maven. Them the maven task is run periodically using hudson in a linux server. You have to have in consideration these issues: 1.- GWT tests needs to be defined the DISPLAY, I use a headless xserver: Xvfb, but in hudson there is a plugin that

Re: Automatic Testing

2009-07-20 Thread Daniel Wellman
If you're looking to write unit or integration tests for GWT client code, I've written an article about my experiences here: Google Web Toolkit: Writing Ajax Applications Test-First http://blog.danielwellman.com/2008/11/test-first-gwt-article-in-november-2008-better-software-magazine.html If

Re: Image Bundle not working in IE

2009-07-20 Thread Sean
The fact that it works when in Hosted mode in IE, but not when it's deployed is making me think it is a security thing. I'm just not sure the work around. I've tried various security settings, but can't get it to show up. THe path looks right to the clear cache, not sure waht else could be

Re: GwtDE (GWT Desktop Environment) and PageBus 1.2.0

2009-07-20 Thread Chandra
George, Tried your DE application and it looks promising! -Chandra On Jul 5, 3:04 am, georgopoulos.georg...@gmail.com georgopoulos.georg...@gmail.com wrote: Hi, GwtDE is a demo for building MDI and desktop like applications with GWT. Homepage:http://code.google.com/p/gwtde/ New is the

Re: gwt + email

2009-07-20 Thread Donald W. Long
Do you have the jar for gmail in your path? On Jul 19, 7:52 am, Petein majestyel...@gmail.com wrote: Hi. I made an RPC for sending an email this is the Impl file: package faceRecognition.server; import com.google.gwt.user.server.rpc.RemoteServiceServlet; import

Export GWT app as WAR file - EASY tutorial for this?

2009-07-20 Thread martinhansen
Hi, I want to export my GWT app as a WAR file and deploy it on a tomcat server. I've read dozens of threads about this topic, and I understood nothing. I do not know anything about WAR files, ANT build scripts or tomcat server, I'm totally new to that stuff. I tried to figure it out by myself,

Cell width in DockPanel

2009-07-20 Thread badgerduke
Hello: I have the following code in a DockPanel: this.add(mainEastPanel, DockPanel.EAST); this.add(mainWestPanel, DockPanel.WEST); this.add(mainSouthPanel, DockPanel.SOUTH); this.add(mainNorthPanel, DockPanel.NORTH);

Re: JSNI: window vs $wnd

2009-07-20 Thread mike
No response cause my question is dumb or did I get lost in the shuffle because I posted on Sat? I'm really curious about this... thanks either way. Peace, Mike On Jul 18, 12:35 pm, mike mikebannis...@gmail.com wrote: The JSNI section of the dev guide uses the $wnd notation:

Re: Cell width in DockPanel

2009-07-20 Thread badgerduke
Never mind! On Jul 20, 8:07 am, badgerduke badgerd...@gmail.com wrote: Hello: I have the following code in aDockPanel:                 this.add(mainEastPanel,DockPanel.EAST);                 this.add(mainWestPanel,DockPanel.WEST);                 this.add(mainSouthPanel,DockPanel.SOUTH);

Re: Automatic Testing

2009-07-20 Thread Carl Pritchett
We are testing our app with Selenium. I've written some wrappers from common components (only for GXT at the moment) and also common actions like select tree item x etc. I'm setting Id's on components of interest.The balance is to write locators (XPath) that are specific enough with out being

Re: JSNI issues

2009-07-20 Thread Adam T
Hi, It might be the case that in both cases your GWT code is loaded and executing before the browser has loaded your externally referenced JavaScript file. To remove that possiblity, you can place the script tag you have in the HTML into your module's .gwt.xml definition, i.e. module

Re: Export GWT app as WAR file - EASY tutorial for this?

2009-07-20 Thread Chad
Martin, It can depend on your version of GWT. If you are using the GWT-Eclipse Plugin (GEP), you can just click the GWT Compile button from the toolbar. After it compiles successfully, open your project folder (outside of Eclipse). You will see a war folder inside your project folder. Open that

Re: Export GWT app as WAR file - EASY tutorial for this?

2009-07-20 Thread martinhansen
Hello Chad, I'm using GWT 1.6.4 with the Google plugin for Eclipse. thank you very much, it worked fine. Great! Unfortunately, I can't get my application to run. My RMI call fails on the server. When I look into the tomcat server logs, it says:

Re: Dose GWT 1.7 support debug on java 6?

2009-07-20 Thread Rajeev Dayal
Hi, Downgrade to JDK 1.6.0_13. As Paul mentioned, there is a known issue with debugging when using JDK 1.6.0_14. Also, the issue does not have to do with the JDK that you use to compile GWT_TRUNK with - it has to do with the JDK that you're using when you're debugging your application. So, make

Re: Export GWT app as WAR file - EASY tutorial for this?

2009-07-20 Thread martinhansen
OK, I have found out that I can invoke err.printStackTrace() on the server, which will log the error to logs/stdout. This is already quite helpful. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: why GWT hosted mode showed a blank page?

2009-07-20 Thread Rajeev Dayal
What version of IE are you using? Are you still running into the problem? Also, try the suggestion mentioned above - clear IE's cache. On Fri, Jul 17, 2009 at 7:42 PM, Adam S servic.a...@gmail.com wrote: I have similar problem. I use gwt with with smartGwt, eclipse (google plugin) and embeded

Re: Image Bundle not working in IE

2009-07-20 Thread Rajeev Dayal
It is odd that it works in hosted mode, but not in web mode - because the IE settings (security even) should be the same for IE6 hosted mode, and the normal IE6 browser. Actually, here is one thing you can test - try hitting your deployed app with the hosted browser. Launch hosted mode with the

Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
Hello, my GWT server-side code needs an external java project. I have added the project under Configure build path / Projects. It works fine in hosted mode. But when I deploy my application on a server, I get lots of ClassNotFoundExceptions. Obviously, GWT cannot find the external java code.

Re: Export GWT app as WAR file - EASY tutorial for this?

2009-07-20 Thread Sean
I did not know that! I'll have to try that myself. Makes figuring out Server Side errors less guess work! On Jul 20, 11:33 am, martinhansen martin.hanse...@googlemail.com wrote: OK, I have found out that I can invoke err.printStackTrace() on the server, which will log the error to logs/stdout.

Re: Display Frame with content from RPC

2009-07-20 Thread Sean
Have you tried using the HTML widget? That should work. Never used the head marks in it, but if you put the contents of the BODY tags in it, that should work just fine. On Jul 18, 3:04 pm, Norman Maurer nor...@apache.org wrote: Hi all, I'm currently working on a gwt based webmail. I want to

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Sean
You can export the non-GWT java files into a jar and drop those in the WEB-INF/lib folder. That's what I do. On Jul 20, 11:44 am, martinhansen martin.hanse...@googlemail.com wrote: Hello, my GWT server-side code needs an external java project. I have added the project under Configure build

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
Hello Sean, thank you very much. I've thought of that solution too, but it is not appropriate for my GWT project. I have to add 4 external projects to my GWT project, and all of these 4 projects are subject to change every day. It would be too much work to export them to a jar file every day. Is

Re: JSNI: window vs $wnd

2009-07-20 Thread Darth
It's explained here: http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface Right after the first example. window = host page $wnd = the nested iframe page where your scripts reside From the tutorial you cited, I'm not sure why it doesn't work when

What is the best way to enable save/apply button on TextBox edit

2009-07-20 Thread Bakul
Hi, I have added: myTextbox.addChangeListener(new ChangeListener(){ public void onChange(Widget sender) { onEdit(); } }); and onEdit() I am enabling Save/Apply button. Problem:

Re: why GWT hosted mode showed a blank page?

2009-07-20 Thread Adam S
I'm using IE 6, and have cleared the cache. I've done lots of searchin' in the internet before i had written here. I also tried to launch it on another computer, but the result was the same. i have my code stored on SVN server, so if anyone wise, would like to look i'll share the address in

Re: What is the best way to enable save/apply button on TextBox edit

2009-07-20 Thread Sean
You can put on a keyboard listener, and before you enable the Save button, make sure there is text in the text box. textBox.getText ().length0 type of thing. On Jul 20, 12:26 pm, Bakul bakul.ku...@gmail.com wrote: Hi, I have added:                  myTextbox.addChangeListener(new

Re: What is the best way to enable save/apply button on TextBox edit

2009-07-20 Thread Dalla
Would probably look something like: final TextBox text = new TextBox(); final Button button = new Button(); text.addKeyUpHandler(new KeyUpHandler() { public void onKeyUp(KeyUpEvent event) { if (text.getText().length() != 0) { button.setEnabled(true);

Determining a specific cell in a FlexTable

2009-07-20 Thread jeffdonthemic
I'm working on my first project using the FlexTable and am developing a time entry POC. Essentially users can click a button to add a new row to the entry screen, select a project for that row and then enter time for 7 days. I then total the 7 days for the line and then sum all of the lines for a

Is GWT's compiler java-javascript or java bytecode - javascript?

2009-07-20 Thread Mathijs
Hello, I would like to know at which level gwtc works. Is it purely at the source level (.java) or more low-level (bytecode)? I'm a ruby developer, using jruby (which runs on JVM). jruby is able to compile ruby code to .class files. Also, I'm able to interact with other java libraries, so in

Eclipse plugin update

2009-07-20 Thread pipe
Eclipse Platform Version: 3.4.2 Build id: M20090211-1700 I' m getting an error trying to update thru the Google Update Site for Eclipse 3.4, I'm checking the Google App Engine Java SDK 1.2.2 and the Google Web Toolkit SDK 1.7.0: An error occurred while collecting items to be installed No

Problem with gwt:debug

2009-07-20 Thread helmahjoub
Hello, I have a small problem, I want to launch my application in debug mode with the mvn gwt:debug commande, but I have nothing. With the mvn gwt:run command, I get the window of the hosted mode. Is there a configuration to do? Thank you! --~--~-~--~~~---~--~~

Re: JSNI issues

2009-07-20 Thread wsaleem
Adam, I added script src=protovis.js / to the .gwt.xml. No change! On Jul 20, 4:24 pm, Adam T adam.t...@gmail.com wrote: Hi, It might be the case that in both cases your GWT code is loaded and executing before the browser has loaded your externally referenced JavaScript file.  To

eclipse + gwt + getting started = Syntax error, annotations are only available if source level is 1.5

2009-07-20 Thread mem
Good afternoon all. I am new to GWT and java developing itself. I have created a java application I wish to turn into an AJAX app via the magic of GWT. Versions: Eclipse SDK 3.4.2 gwt-windows-1.7.0 jdk1.6.0_14 Followed this: http://code.google.com/webtoolkit/gettingstarted.html and the

Re: Drag and Drop, how to differenciate a simple Click from Drag

2009-07-20 Thread Memo Sanchez
Thank you very much =D I will try this right away. --~--~-~--~~~---~--~~ 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 To unsubscribe

map, add marker and remove marker

2009-07-20 Thread Irwan Hendra
Hi I'm new with GWT so please bear with me I'm using GWT EXT and openlayer map, i'm using mapPanel to display map and markers on it following example from here: http://abhijeetmaharana.com/blog/2008/04/07/gwt-ext-and-google-maps/ however, when i tried to remove the markers using

Re: Drag and Drop, how to differenciate a simple Click from Drag

2009-07-20 Thread Memo Sanchez
Thank you, I am happy now haha, i am just new with DD thanks again On Jul 17, 12:32 am, Paul Robinson ukcue...@gmail.com wrote: Call setBehaviorDragStartSensitivity(x) for some value x 0 HTH Paul Memo Sanchez wrote: Hello, I am building this widget that must have Drag and Drop (

Re: Is GWT's compiler java-javascript or java bytecode - javascript?

2009-07-20 Thread Paul Robinson
It uses the source code, not the bytecode. It can't be made to work at the bytecode level for various reasons. http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/d19dd5769e993f63/3418f999d1536f57 Paul Mathijs wrote: Hello, I would like to know at which level gwtc works.

Re: map, add marker and remove marker

2009-07-20 Thread Eric Ayers
That sounds like it could be attributable to this Maps API bug: http://code.google.com/p/gmaps-api-issues/issues/detail?id=295 On Mon, Jul 20, 2009 at 3:11 AM, Irwan Hendraoverta...@gmail.com wrote: Hi I'm new with GWT so please bear with me I'm using GWT EXT and openlayer map, i'm using

Re: JSNI issues

2009-07-20 Thread Adam T
It could still be a similar thing; I'm not 100% clear what you are trying to do above, but it looks like your steps are: 1) Load an external JavaScript library, e.g. protovis.js 2) Run some other JavaScript which creates something in the DOM, e.g. the vis = new pv.Panel().canvas(PVis);

Drag and Drop, how to activate an action when dragging over a widget?

2009-07-20 Thread Memo Sanchez
Good morning. I created an special scrollPanel, which scrolls when clicking into the right or left button. Does anyone knows how can I activate the onClick behavior of the left and right buttons when I am dragging a widget over them?. Thank you for your time.

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Jason Parekh
Hi Martin, You may try using the link source option, as suggested by the thread at http://groups.google.com/group/google-appengine-java/browse_thread/thread/1908b3bedf954b75/ca0370ae3ae5a394?lnk=raot. If that doesn't work, you could set the output directory of your dependencies to be the GWT

Re: Eclipse plugin update

2009-07-20 Thread Jason Parekh
Hmm, have you accidentally placed checkmarks in any other plugins besides Google Plugin for Eclipse? The Google Plugin for Eclipse doesn't depend on any of the plugins you mentioned. Could you try clicking the Available software tab, and the Manage sites button, and uncheck every update site but

Common parent project - How?

2009-07-20 Thread Wualla
Hi Scenario: Core client and server code needs to be shared among several projects (referred to as child projects) My try was ro create the core project as a GWT project, and add it to the build path of the child projects as a dependency project. Under Jetty, everything works OK except I get

Re: GWT UI design best practices

2009-07-20 Thread Sean
http://code.google.com/events/io/sessions.html#gwt I'd check out these videos, I felt I learned a lot watching these talks. They def. gave me great ideas on how to structure programs and use event busses to keep things neat. That specific talk was: Google Web Toolkit Architecture: Best Practices

Problem with Horizontal Panel

2009-07-20 Thread Rahul
Hi, I am not able to see the Horizontal Panel this is my code public void onModuleLoad() { HorizontalPanel panel = new HorizontalPanel(); Label L1 = new Label(); Label L2 = new Label(); L1.setText(Hello);

Re: Problem with Horizontal Panel

2009-07-20 Thread Rahul
there are no errors when i run it Hello and Hello22 comes sides next to each other, shouldnt they be separate by an horizontal spilit? On Jul 20, 2:54 pm, Rahul coolrahul18...@gmail.com wrote: Hi, I am not able to see the Horizontal Panel this is my code public void onModuleLoad() {      

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Donald W. Long
I looked at the linked source method and you have to have the linked source fully qualified. Thats nice if you always have your source in the same place. You could try using the linked variables but then thats also work. Do not see this as a real option for projects that will be worked on by

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
Hello Jason, thanks for your interesting hints. I tried the Google App Engine first, but to no avail. I tried to convert my project to use the Google App Engine, but then I got some errors referring to missing XML files. The second approach sounds also interesting, but I need a little hint

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
I tried to change the default output folder of DataProject, but I didn't manage successfully. Eclipse says: Path '/GwtApp/src' must denote location inside project 'DataProject'. Am I heading the wrong way there? On 20 Jul., 22:16, martinhansen martin.hanse...@googlemail.com wrote: Hello Jason,

Re: What is the best way to enable save/apply button on TextBox edit

2009-07-20 Thread Donald W. Long
You just need to write your code to keep track of the state. If data is in the text box and then it goes to delete then its changed and enable the buttons. Its all in tracking the state of the contents. On Jul 20, 2:29 pm, Bakul bakul.ku...@gmail.com wrote: I appreciate your quick replies.

Re: JSNI: window vs $wnd

2009-07-20 Thread mike
Darth, ...ahh, great thanks. I got to $wnd to work for code in the cross-site communication tutorial. I think the problem was that I was using document and $wnd rather than $doc and $wnd. I haven't completely worked out in my head why the former wouldn't work but it seems sensible that you would

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
Hello Donald, I already tried the Google App Engine approach, but it didn't work for me. And GAE adds a lot of stuff I don't need to my project. I really don't want to mess around with it, since I managed to kill my GWT app's configuration several times and I had to create a new project.

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread martinhansen
Now I tried the link source function without Google App Engine. At first, it seems to work, and the project is added to my main project. The only problem is: The package declarations produce errors. Eclipse shows an error message: The declared package com.company.data does not match the expected

Re: JSNI issues

2009-07-20 Thread wsaleem
2) is the pure JS scenario, which I trying to port to GWT using JSNI. I fail, though, as the very first command vis = new $wnd.pv.Panel().canvas(PVis); fails with the following JavaScript exception $wnd.pv has no properties I will see if the overlay types help. Thanks for the pointer!

Re: Add external java project to GWT project in Eclipse

2009-07-20 Thread Jason Parekh
Hi Martin, For the Linked folder location, ensure you have the trailing src included. jason On Mon, Jul 20, 2009 at 4:35 PM, martinhansen martin.hanse...@googlemail.com wrote: Now I tried the link source function without Google App Engine. At first, it seems to work, and the project is

Re: Common parent project - How?

2009-07-20 Thread Jason Parekh
Hey, I believe the easiest way to accomplish this is instead of using the project dependencies, use the linked source feature. For each of your child projects, go to Properties Java Build Path Source Link Source, and set the location to your core project's src directory (and the name to

Problem with changing the font-size for Tabpanel

2009-07-20 Thread aftershock
Hi, I have a small web application. I would like to change the fontsize of the tabpanel but I could not. At least so it seems. I could change boldness. I have tried to modify the css. I had tried .gwt-TabPanel { font-size: 8pt; } .exp -- name of the div { font-size: 8pt; } What is the

GWT Toolkit Problem

2009-07-20 Thread JonJ27
Hi all.. i hope you can help me. I am new to GWT. I am using RAD 7.5. I have ran through the StockWatcher tutorial and succesfully got the app working and even got the Client Server communication using 2 seperate machines using RPC using a Proxy. I also managed to import the created project

Re: Eclipse plugin update

2009-07-20 Thread pipe
Thanks, It worked removing all sites but the Google update site On Jul 20, 1:37 pm, Jason Parekh jasonpar...@gmail.com wrote: Hmm, have you accidentally placed checkmarks in any other plugins besides Google Plugin for Eclipse?  The Google Plugin for Eclipse doesn't depend on any of the

Re: JSNI: window vs $wnd

2009-07-20 Thread Thomas Broyer
On 20 juil, 22:26, mike mikebannis...@gmail.com wrote: Darth, ...ahh, great thanks. I got to $wnd to work for code in the cross-site communication tutorial. I think the problem was that I was using document and $wnd rather than $doc and $wnd. I haven't completely worked out in my head why

Re: GWT UI design best practices

2009-07-20 Thread Thomas Broyer
On 20 juil, 08:37, Ståle Undheim staa...@gmail.com wrote: I have worked with web for ages, and although I am not that good at web design, I can make passable pages in HTML. However, going to the GWT world, I feel a bit lost about how to setup my UI, and organize classes and such. I create

Re: gwt + email

2009-07-20 Thread Petein
this code works fine when i have a java app. I do have the mail.jar in my path. Any ideas? On Jul 20, 3:27 pm, Donald W. Long donald.w.l...@gmail.com wrote: Do you have the jar for gmail in your path? On Jul 19, 7:52 am, Petein majestyel...@gmail.com wrote: Hi. I made an RPC for sending an

Re: Hooking a GWT event onto an element in an external iframe

2009-07-20 Thread tin
Hi Mat, Thanks for your reply. That was really helpful. Tin On Jul 20, 2:11 pm, Mat Gessel mat.ges...@gmail.com wrote: HiTin, There is a potential for memory leaks via event listeners due to cyclical references between DOM and JS. To avoid this, GWT manages the event listeners via the

Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)

2009-07-20 Thread Fred Sauer
Thomas, That's pretty cool. Ook leuk om iets in 't Nederlands te zien. Have you listed your game in the App Gallery yet? http://gwtgallery.appspot.com/ Thanks for the suggestion for a global function to stop playing sounds. That seems pretty useful. Would you mind proposing it here?

Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)

2009-07-20 Thread Fred Sauer
Thomas, I've also listed your project here: http://code.google.com/p/gwt-voices/ http://code.google.com/p/gwt-dnd/ Fred On Mon, Jul 20, 2009 at 4:14 PM, Fred Sauer fre...@google.com wrote: Thomas, That's pretty cool. Ook leuk om iets in 't Nederlands te zien. Have you listed your game in

which panel should i use

2009-07-20 Thread Rahul
Hi, i want to create an horizontal split with an list of Labels on left side and an tab index on the right side. I would like to know which panel should be best for it , horizontal spilt panel or dock panel? or any other? how to add more widgets on one side of horizontal spilt panel. i was

Re: Composite - disabling click events

2009-07-20 Thread Zheren
Check out GWT implementation of CustomButton. It seems that the goal can be achieved by overwrite onBrowserEvent (Event event) method without using the method proposed above. FYI -Ben On Jun 23, 4:07 am, romant roman.te...@gmail.com wrote: Ok, I used just basic approach, if anyone is

Re: Ubuntu 9.04: com.google.gwt.core.client.JavaScriptException: (SyntaxError): syntax error

2009-07-20 Thread Simon
Bug found. I am using PrintWriter out = resp.getWriter() to generate the JSON data and return to the client code. I found that the JSON data received by client code consists of extra tag pre[{blak, blak, blak},]/pre. So, i removed using the following replace function then the bug is fixed. json

setHTML is not working in Mozilla and Chrome

2009-07-20 Thread Simon
Hi all, i faced a problem with the following code, == output += brbrtable; Iterator itr = hm.keySet().iterator(); NumberFormat changeFormat = NumberFormat.getFormat(#,##0.00); while(itr.hasNext()){ String key

Re: setHTML is not working in Mozilla and Chrome

2009-07-20 Thread Mat Gessel
Hi Simon, The overall idea looks correct. Is this copied from the original code? The span tag is left open; that may be the cause of you troubles. -= Mat On Mon, Jul 20, 2009 at 7:54 PM, Simonchoonchin...@gmail.com wrote: Hi all, i faced a problem with the following code,

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-20 Thread bobv
Ping. http://gwt-code-reviews.appspot.com/47816 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] RR : Fix a SingleJsoImpl web-mode calculation bug

2009-07-20 Thread bobv
Reviewers: Lex, scottb, Message: Review requested. Description: JTypeOracle.computeSingleJsoImplData() was using an incorrect test to determine if an interface is a tag interface. It was looking at the number of methods declared on the interface type without looking at the interface's

[gwt-contrib] Re: RR : Fix a SingleJsoImpl web-mode calculation bug

2009-07-20 Thread scottb
LGTM, only comment is that for tiny test types that small, it would probably be better to just make them static inners of the test class. http://gwt-code-reviews.appspot.com/51805 --~--~-~--~~~---~--~~

[gwt-contrib] Proposal for improving JDO/JPA RPC support

2009-07-20 Thread דניאל רייס
Hi all - I've been working on a patch to improve support for RPC of persistence-enhanced objects that would replace the one I recently submitted as trunk revision 5672. I'd like to give those of you who are interested in the interaction between RPC and persistence a chance to help me validate

[gwt-contrib] Re: Proposal for improving JDO/JPA RPC support

2009-07-20 Thread Isaac Truett
5) When the object is sent back to the server, the normal RPC mechanism is altered as follows a) the encoded server data is decoded and deserialized into the new object instance b) the client data is populated using setXXX() method invocations rather than by directly setting field

[gwt-contrib] Re: Proposal for improving JDO/JPA RPC support

2009-07-20 Thread דניאל רייס
The latter. The first time the class is encountered, GWT would search for setters (field 'T theField' would cause a search for a setter 'void setTheField(T arg)') and create a map from field names to setters. If there's no setter for a given field, the field would be set directly. Dan On Mon,

[gwt-contrib] Re: test fixes for issue 47802, assertions in all (esp. web mode) tests

2009-07-20 Thread fabbott
On 2009/07/15 17:16:37, jat wrote: LGTM. I only reviewed the two requested files -- let me know if I should review anything else. http://gwt-code-reviews.appspot.com/47817/diff/1/9 File user/test/com/google/gwt/dev/jjs/test/CoverageTest.java (right):

[gwt-contrib] Add emma code coverage output to GWT build files

2009-07-20 Thread jlabanca
Reviewers: fabbott, Description: Description: === This patch adds emma code coverage statistics to the output of an ant test. In order to add emma stats, use the following command (copied from emma's user guide): ant emma test Where 'emma' sets a property that enabled emma.

[gwt-contrib] Re: RR : Fix a SingleJsoImpl web-mode calculation bug

2009-07-20 Thread bobv
Thanks. The extra test types were incorporated into singlejso.TypeHierarchyTest. Committed at r5756. http://gwt-code-reviews.appspot.com/51805 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-20 Thread Lex Spoon
On Mon, Jul 20, 2009 at 9:20 AM, b...@google.com wrote: http://gwt-code-reviews.appspot.com/47816 I'll review it. Man, what a great talking point this is going to be. Because GWT has a compiler, we get to do fine-grained rewrites like this one. Lex

[gwt-contrib] Once more: HTMLPanel with custom root, now IE-proof

2009-07-20 Thread rjrjr
Reviewers: jgw, Description: Hey Joel, remember this? I had to roll it back because it didn't work on IE as it was before--IE is finicky about just where and how you write to innerHTML. Can you re-review this robustificated version? Please review this at

[gwt-contrib] the old Event Listeners will be removed in GWT 2.0?

2009-07-20 Thread tfreitas
The old Event Listeners will be removed in GWT 2.0? My vote is yes. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---