Can't find the main class

2009-06-16 Thread newToThis
This is the error I'm getting: http://clowkun.com/storage/na/ I have the newest version of Eclipse, just installed the latest GWT plugin and SDK. I have also installed the latest Java SDK. Just started up the StockWatcher basic tutorial and even tried the Guestbook one and they both give me this

gwt1.6 sample dynamic table

2009-06-16 Thread asianCoolz
any sample on "sorting" for dynamic table. the original sample doesn't come with sorting --~--~-~--~~~---~--~~ 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-Tool

Re: Thinking about learning GWT

2009-06-16 Thread Shawn Brown
I bet it will. I deployed a GWT app to appengine before it had java support and it worked fine there. No rpc though like you say ... Shawn On Tue, Jun 16, 2009 at 2:03 PM, tedpottel wrote: > > Hi, > I'm thinking about using GWT.  Quastion, > will GWT run ok on my current web hosting service?  

Re: Thinking about learning GWT

2009-06-16 Thread Paul Robinson
Yes it will. If you have no server communication, then you're just serving up regular files as far as the hosting is concerned. If you need server communication, rpc isn't the only option. For example, most hosting services support php. Search the archives for help on php and gwt and RequestBuilde

Re: How can I add a MouseOutHandler to a FlexTable cell?

2009-06-16 Thread Ravi
How to find out the row number on which mouseEvent has occured(in Kelo's example)??? On Jun 13, 2:19 am, Kelo wrote: > Hi Eduardo, > >      Here's your solution: > > public class BocaJrsTable extends FlexTable implements > HasMouseOutHandlers { > >         private HandlerManager manager = new Ha

Re: Thinking about learning GWT

2009-06-16 Thread Kwhit
But I would seriously look at using Google app spot. Deploying is easy and unless you've got a very successful application on your hands, it's probably for free. On Jun 16, 7:03 am, tedpottel wrote: > Hi, > I'm thinking about using GWT.  Quastion, > will GWT run ok on my current web hosting serv

Re: MVC question

2009-06-16 Thread Francois Wauquier
Ian Bambury said Having said that, getting data you may not need just so you can display it if required is not (generally) a good idea in an Ajax app. Although sometimes it might be :-) Adligo said I think it would be fine to have your Composite(I think u called this a flex table) implement HasSe

reading from files other than english contains unwanted squares

2009-06-16 Thread zujee
Hi All, I have some files which contains english, french and japanese. When I try to read file from server and try to poup in client side , it seems some unwanted squres in between of each line. I read the file in serverside like private String readFile(String fileName) { try

Re: Compiled version of 2.0

2009-06-16 Thread maku
you don't need a c/c++ compiler to build the trunk. you have to check out the trunk and the tools and start the ant build. that's all regards martin On Jun 16, 7:49 am, Ramas wrote: > Hello, > > I'd like to try 2.0, to help and fill the bugs, however, I'm on Win > machine, without C/C++ compil

Is it not possible to include a Serialized bean object as a variable in another Serialized Bean..??

2009-06-16 Thread Raul
Hello all, I have two beans as follows: - public class employee implements IsSerializable{ int id; String name; Department department; public employee(){} public employee (int id, String name, Department dept){

Re: MVC question

2009-06-16 Thread Ed
Just my 50 cents, Martin fowler (as always) gives a nice overview of the different techniques as MVC, MVP and all their accents, and they background. Start here: http://www.martinfowler.com/eaaDev/OrganizingPresentations.html There you also find arguments for what to use and when to use it. Acc

Re: MVC question

2009-06-16 Thread Ed
Owww btw: My self I use all kind of MVC/MVP patterns and mixtures of it. It's not so important what the exact name is, as long as you know very well what you are doing. What I mean is that: with the articles on internet, like the ones from M. Fowler you have a nice luggage that helps you to be cre

Re: is there a way to getText of all fields in an application?

2009-06-16 Thread Jim
You may try the following: 1. find the container such as Panel for all text fields. 2. find the counts of child widgets that are embedded in the container. 3. StringBuilder sb = new StringBuilder(); for (int i=0; ihttp://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm/

Re: Thinking about learning GWT

2009-06-16 Thread wouter
I have a real life application with GWT - GXT client, PHP server scripts, a MySQL database and JSON objects for data exchange. The host is a standard web host. Works all right but there are some considerations : - (in my case) security is weak as I don't use SSL - you have to realize you're writin

Re: is there a way to getText of all fields in an application?

2009-06-16 Thread zujee
Thanks Jim for ur valuable info. I will try that. BTW how can i find the counts of child widgets that are embedded in the container? On Jun 16, 5:14 pm, Jim wrote: > You may try the following: > > 1. find the container such as Panel for all text fields. > 2. find the counts of child widgets th

Re: Is it not possible to include a Serialized bean object as a variable in another Serialized Bean..??

2009-06-16 Thread Jim
Change Department(){} to public Department(){} Jim http://www.gwtorm.com - GWT ORM http://code.google.com/p/dreamsource-orm/ On Jun 16, 7:10 am, Raul wrote: > Hello all, > > I have two beans as follows: > - > public class employee implements IsSerializab

Re: Change GWT locale dynamically

2009-06-16 Thread Raymond Domingo
Hi Bhavik, FYI I have used your script sparely, but successfully for some time now, thank you for sharing. I recently discovered it broke my recenlty added history support. That is when I extended your script to support history tokens. Now it also supports history tokens. var currLocation = $wn

How to capture shutdown event of system in javascript

2009-06-16 Thread Taufeeq
How to capture shutdown event of system in javascript? Our requirement is like, if system shoutdown normally or due to power failure we need to send session closing request to server. Reply With Quote --~--~-~--~~~---~--~~ You received this message because you are

Simple questions on module loading

2009-06-16 Thread bgoetzmann
Hello, Using NetBeans 6.5 and its GWT4NB plugin, I created a very simple web application with a GWT module. The plugin generates a welcomeGWT.htm page that loads the GWT module. I noted that: 1. In the head tag, there is a meta tag: Is it mandatory? 2. In the body tag, I found: What if ther

Getting com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException while calling RPC method

2009-06-16 Thread ramraj
Hi, I am using gwt2.0,i have some RPC service classes,previously i have used 1.6 at that all rpc functionlaities are working fine after changed to 2.0 i am un able to call the RPC methods,while calling the method i am getting the exception like 2009-06-16 14:52:36.641:/:WARN: An IncompatibleRem

Re: Introducing GWTUML, a GWT UML Drawer.

2009-06-16 Thread ClusterCougar
Very cool. might want to make an expandable panel as a "toolbox". That seems to be a pretty standard analogy in diagramming tools. Do you have a roadmap/design for server-side? are you thinking you'll do a persistence framework or filesystem storage (i.e. xml)? On Jun 15, 3:43 am, walterc wrote:

Re: Common GWT Modules In JAR File Problems.

2009-06-16 Thread ClusterCougar
Some things I'm not clear on from your post: 1) Did you inherit the commons module in each of your *.gwt.xml files? 2) When you did the jar packaging, did you include the java source for the client-side? 3) Are your public resources (i.e. CSS) located in a ".../moduleName/ public/" folder? Were t

How do I do to disable Jetty info-logs?

2009-06-16 Thread Thoka
Hi, We've upgraded GWT to 1.6 and are now running Jetty instead of Tomcat. The logs of jetty is good, IF something goes wrong, but I really don't want an INFO-log each time a request (e.g. image) is requested. This could be solved by changing the log-level to WARNINGS, but I still want my GWT log

tabPanel Items.

2009-06-16 Thread macistina
Hi all, I need your help. I'm using ext, but it's the first time. I have a tabPanel which contain 2 tabs defined in tabPanel's properties. this.initialsTab = new Ext.TabPanel({ resizeTabs :true, activeTab : 0, height:500, items : [{

Re: Is there a way to disable Jetty INFO-level log messages to Hosted Mode Shell?

2009-06-16 Thread Thoka
I would really like to know how to do this as well, the Jetty info- logs are totally worthless. On 8 Maj, 18:12, Mark Renouf wrote: > I have to use -logLevel INFO because I want to continue seeing my > debuglogmessages from GWT.log. I also want to continue seeing > warnings or errors fromJetty(

Track System Shutdown event

2009-06-16 Thread shailaja
Hi, Is there any way to track system shutdown event through GWT? Please let me know if it is possible through GWT/javascript. Regards, Shailaja --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" g

populate a treePanel

2009-06-16 Thread macistina
Hi all, I'm using a treePanel ext. I'd like to load the object by a json object. I defined the treeLoader and its dataUrl. The dataUrl is a file .js. This files contains a string json. I don't know if it need a web server (the file is js) or after I defined the data url it's mandatory a function f

Re: Is it not possible to include a Serialized bean object as a variable in another Serialized Bean..??

2009-06-16 Thread Isaac Truett
Raul, The problem is that you aren't actually serializing com.data.employee.Department. Something is replacing your class with com.data.employee.Department_$$_javassist_0. You wouldn't happen to be using Hibernate, would you? - Isaac On Tue, Jun 16, 2009 at 7:10 AM, Raul wrote: > > Hello all,

Export GWT table into CSV, XLS, XML and PDF

2009-06-16 Thread Kady
Is there an option to export the data from GWT tables to popular formats like csv, xls, xml, pdf etc? If not, how can one build this option? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Tool

GWT 1.6 - Expand Tree?

2009-06-16 Thread omsrobert
How do I expand all the nodes in a 1.6 Tree? I do not see an expand() method. setSelected()? --~--~-~--~~~---~--~~ 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-W

How to implement GWT java interfaces in javascript [JSNI]

2009-06-16 Thread samsus
Hi All, Im trying to use jsni to implement a interface (a callback) and use it as an argument in a function. here is what i have: - package com.mypackage; public interface MyCallback { public void onResponseReceived(String text); } -

Re: Images won't load from full pathname in FireFox

2009-06-16 Thread Steven
Thanks, I'll proceed in the Servlet direction. On Jun 15, 7:46 pm, "Dean S. Jones" wrote: > You can't use a file:: URI to load an image ( that would attempt to > load it from the machine the browser is on ), you can in theory load > an image from bytes via RPC ( tho it's not worth the highly inc

Re: Large Data Set problems

2009-06-16 Thread Joe Larson
Well, looks like paging it is. Thanks everyone. Oh, and Hi Tom! -Joe --~--~-~--~~~---~--~~ 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

Re: How to implement GWT java interfaces in javascript [JSNI]

2009-06-16 Thread Thomas Broyer
On 16 juin, 17:08, samsus wrote: > Hi All, > > Im trying to use jsni to implement a interface (a callback) and use it > as an argument in a function. here is what i have: > > - > >  package com.mypackage; > >  public interface MyCallback { > >    

OAuth function works in JS, but not in JSNI

2009-06-16 Thread Matt Raible
I'm trying to convert the makeSignedRequest function on the following page into a JSNI method. http://paul.donnelly.org/2008/10/31/2-legged-oauth-javascript-function-for-yql/ If I put the raw JS in my HTML page and call it with $wnd.makeSignedRequest(), everything works fine. However, if I move

Re: Introducing GWTUML, a GWT UML Drawer.

2009-06-16 Thread dka...@gmail.com
Sweet. Not that you'd want to do MDD with it. With it's "save as url" feature, this strikes me as a really good solution for development Wiki's in place of exported UML diagrams as images. DJK --~--~-~--~~~---~--~~ You received this message because you are subscri

how to modify the default port (8080) of hosted mode ?

2009-06-16 Thread Benibur
There is a port conflict on my server since GWT hosted mode and another web application use the same port (8080) The point is widely discussed over the internet, but the solution is always : modify the port of the other application. The pb is that in my case I can not change the port of the other

Re: Common GWT Modules In JAR File Problems.

2009-06-16 Thread gazarcher
Thanks for the reply. Answers to your questions are: 1) Yes, my Common module is inherited in each of the *.gwt.xml files in the other modules. 2) Yes, I included the Java source for the client-side in my Common JAR file (see "NOTE" half-way down my original post). 3) Yes, the CSS, HTML and im

Re: PagingScrollTable cannot find scrollTableLoading.gif

2009-06-16 Thread hezjing
Hi Apparently, the scrollTableLoading.gif is the image display next to the last button while loading the data.You will see this image if table is taking long time to load the data. scrollTableLoading.gif does not comes with the GWT incubator distribution, you need to manually create one. On Sun

Re: GWT architecture MVP/EventBus (mentioned at Google I/O)

2009-06-16 Thread Sumit Chandel
Hi Benju, The use of the HasClickHandlers interface (and other Handler interfaces) is actually just a piece of event-driven architecture that GWT subscribes to in the 1.6 event handler architecture. Basically, anything that implements the HasClickHandlers interface must provide an implementation f

Re: Minor error in GWT toolkit documentation

2009-06-16 Thread Alex Rudnick
Thanks for the heads-up :) Should be fixed forthwith. On Mon, Jun 15, 2009 at 1:25 PM, arcy wrote: > > In http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html > there is an explanation of the basic RPC mechanisms, which I > appreciate.  At one point, however, it says that a

Re: how to modify the default port (8080) of hosted mode ?

2009-06-16 Thread Peter Ondruška
Use the -port parameter to set non-default. 2009/6/16, Benibur : > > There is a port conflict on my server since GWT hosted mode and > another web application use the same port (8080) > The point is widely discussed over the internet, but the solution is > always : modify the port of the other ap

Re: Export GWT table into CSV, XLS, XML and PDF

2009-06-16 Thread Thad
I'm using OpenCSV (http://opencsv.sourceforge.net/) for creating CSV files, but there's nothing magic that ties it to my GWT tables. The CSV conversion is done on in a servlet using the same data that was used to draw the client-side table, and then sent to the browser. I'm using iText (http://w

Re: Generating UI with GWT or PHP

2009-06-16 Thread Mark
Ian, I took a look at the Dictionary class, but I don't understand. Where is the dictionary getting the "user" and "name" elements from? Is a PHP script supposed to generate them, then in GWT I can just link up to the items I need in the entry point method? If so, would the call the add(new Label(

Re: 3rd parties and GWT-RPC?

2009-06-16 Thread Sumit Chandel
Hi markww, In order to reuse the GWT RPC services you've already defined directly, you'll have to create your own serializers in the Objective-C world that can match the signature RPC expects on incoming payloads. You'll also need to continue to match this signature if it changes across releases. I

Use SuggestBox suggestions in another widget

2009-06-16 Thread Josh
Hi, I have been trying to think of a good way to add a specific feature to my application to search through a list of data, but can't figure anything out. Here is what I would like: The interface would be a suggest box, and a vertical panel, or grid of some sort with data. Initially all of the

Re: MVC question

2009-06-16 Thread Dalla
Thanks alot for all your answers :-) Will have a good read here when I have the time to check all the links etc. I actually watched Ray Ryans presentation from Google IO 2009, and the MVP pattern looks very similar to the MVC pattern that Struts 2 claims to implement: A controller between the mo

Memory leak in onWindowClosed with RPC call

2009-06-16 Thread Damon Lundin
GWT does a great job of letting us avoid the memory leak pitfalls that often occur in poor browser, but I think I may have found a case that GWT does not handle and I'm not sure why. We have an application where we mark a particular page as visited by a user when they open the page and when they

Re: how to modify the default port (8080) of hosted mode ?

2009-06-16 Thread Alex Rudnick
That'll work! Also, if you're using the Google Plugin for Eclipse, here's how to change the port in Eclipse: http://code.google.com/eclipse/docs/running_and_debugging.html On Tue, Jun 16, 2009 at 1:33 PM, Peter Ondruška wrote: > > Use the -port parameter to set non-default. > > 2009/6/16, Benib

Re: Browser (IE) hangs when launched a GWT application in a child window

2009-06-16 Thread John Lonergan
Hi - how did you manage to track and abort outstanding RPC's from the client? Thanks JL On Jun 5, 9:02 pm, gpike wrote: > Hi Maddy, > >   We had the same issue. What we found was if the window was closed > while an rpc request was outstanding a port was blocked so subsequent > calls would fai

Different button layout

2009-06-16 Thread Dariusz Borowski
Does anyone know, why I'm having a different layout in IE than in FF? Please, check out my attached screenshots. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send

Re: GWT 1.6.4: Exception in DriverManager.getConnection

2009-06-16 Thread Khoa
Another soul is saved -- thank you On Jun 7, 8:34 am, aydogdu wrote: > god bless you > > On Apr 13, 2:46 pm, martin wrote: > > > Ok, I solved the problem  ;-) > > > Go to the project's properties and uncheck "Use Google App Engine". > > Additionally, as vitali mentioned, the mysql-connector jar

Re: Different button layout

2009-06-16 Thread Dariusz
I did setup a style.css file, where I'm trying to change the size of the button like this: .gwt-Button { border:1px outset #CC; cursor: pointer; font-size:10px; margin:0pt; padding:3px 5px; text-decoration:none; } Unfortunately, no effect on the result...it's still bi

Re: Different button layout

2009-06-16 Thread Dariusz
This is weird... :( This: .gwt-Button { width: 300px; } works fine, but not if I want to change the font-size?? On Jun 16, 9:41 pm, Dariusz wrote: > I did setup a style.css file, where I'm trying to change the size of > the button like this: > > .gwt-Button { > border:1px outset

Re: how to modify the default port (8080) of hosted mode ?

2009-06-16 Thread Kwhit
In Eclipse you can modify the port on the Run or Debug configurations menu - took me a while to stumble on that one. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, s

Read an XML File

2009-06-16 Thread nehloucha
Hi I have write a program on java how let me to read an XML file. the address of my file is "http://localhost:8080/webdav/user.xml";. this is my program: import java.io.File; import java.net.URI; import java.net.URL; import java.util.List; import java.util.Vector; import org.jdom.Element; import

Re: how to modify the default port (8080) of hosted mode ?

2009-06-16 Thread Benibur
thank's ! that was difficult to find ! Ben On 16 juin, 22:13, Kwhit wrote: > In Eclipse you can modify the port on the Run or Debug configurations > menu - took me a while to stumble on that one. --~--~-~--~~~---~--~~ You received this message because you are sub

Re: PagingScrollTable cannot find scrollTableLoading.gif

2009-06-16 Thread Isaac Truett
Are you sure you're looking in the right place? There are copies of scrollTableLoading.gif located in com/google/gwt/gen2/table/public and com/google/widgetideas/table/public http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/gen2/table/public/scrollTable

[GoogleIO] GWT Place Service

2009-06-16 Thread Kevin Q
I've been watching the talk by Ray Ryan from Google IO (Google Web Toolkit Architecture: Best Practices For Architecting Your GWT App) over and over again, and it's a very enlightening talk, especially the part about EventBus and the use of - kudos to the team. However, one part Ray didn't elabo

Re: gwt1.6 sample dynamic table

2009-06-16 Thread Dalla
Check the gwt incubator, there´s a scrolltable example here. Don´t be fooled by the name, it includes sorting too! ScrollTable demo here: http://collectionofdemos.appspot.com/demo/index.html Source here: http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn/releases/1.5/src-de

gwt-maps-1.0.4.jar and gwt-user-1.5.3

2009-06-16 Thread everlongh
I noticed a dependancy between the new gwt-maps and gwt-1.5.3. I am having some issues with my maps application using the new jars...original code works fine with gwt-maps-1.0.2 and gwt-1.5.3... Here one exception I get with no code changes: link.addClickHandler(new ClickHandler() { @

gwt.rpc files without compilation?

2009-06-16 Thread otismo
How can I get server code to handle rpc requests without having to perform gwt compilation on the server code? The standard gwt RPC mechanism isn't happy when it doesn't have an rpc white list for a serializable class. Can I generate my own gwt.rpc white list? Is there a way to override the Ser

Re: GWT 1.6 - Expand Tree?

2009-06-16 Thread jay
Use TreeItem.setState( true ) on the nodes you want open. jay On Jun 16, 7:43 am, omsrobert wrote: > How do I expand all the nodes in a 1.6 Tree?  I do not see an expand() > method.  setSelected()? --~--~-~--~~~---~--~~ You received this message because you are s

Exception while dispatching incoming RPC call java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

2009-06-16 Thread Marley
I am getting a: Exception while dispatching incoming RPC call java.lang.IndexOutOfBoundsException: Index: 0, Size: 0, as soon as i try to call something on the server. It is before any of my server side code executes what is odd, is this only happens on my Ubuntu box...i can run it on my Windows

Re: OAuth function works in JS, but not in JSNI

2009-06-16 Thread Thomas Broyer
On 16 juin, 18:13, Matt Raible wrote: > I'm trying to convert the makeSignedRequest function on the following > page into a JSNI method. > > http://paul.donnelly.org/2008/10/31/2-legged-oauth-javascript-functio... > > If I put the raw JS in my HTML page and call it with > $wnd.makeSignedRequest

Request for best practices when working with complex objects

2009-06-16 Thread Aaron
Hi Everyone, I'm new to GWT and I'm very excited to start using it in a large enterprise application I'm working on. I have inherited an existing domain model that is available to me in a jar. I can build that jar with the source code included as well. Ideally, I'd love to be able to work with m

Re: getInteger problem when trying to run hosted mode.

2009-06-16 Thread Joel Paulsson
Thanks for the help, i think i follow. I'll have to look into why Integer.parseInt didn't return the value i thought it would return then. On 16 Juni, 07:34, "Dean S. Jones" wrote: > Integer.getInteger("name") gets an integer from System properties. > > it is ( roughly ) equal to: > > Integer.pa

Re: Read an XML File

2009-06-16 Thread Jeff Chimene
On 06/16/2009 01:10 PM, nehloucha wrote: > sxb.build(new File(uri)); > When given a URI, File() only works with the file:// URI See the Sun Java docs for more info In addition, it's not likely that SAX will work successfully with GWT; which is to say that will not successfully translate to

Re: gwt.rpc files without compilation?

2009-06-16 Thread otismo
I overrode protected SerializationPolicy doGetSerializationPolicy(...) in RemoteServiceServlet and implemented my own lenient SerializationPolicy. If there's a better way, please let me know. --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: GWT Place Service

2009-06-16 Thread Thomas Broyer
On 16 juin, 21:42, Kevin Q wrote: > > However, one part Ray didn't elaborate too much but I think is very > important is the PlaceService (a higher level abstraction layer on top > of the History mechanism). The ability to throw PlaceChanged events on > the EventBus and let the interested parti

Selecting Items in a Tree using Firefox

2009-06-16 Thread K B
Hello, We are using gwt to display a Tree, when the the Tree is viewed in IE, and we select an item from the tree, the item is highlighted in blue; however, when the Tree is viewed in FireFox 3.0.10 and an item is selected from the tree, the item doesn't get highlighted. I was wondering if this

Stack Panel Background +Image

2009-06-16 Thread Sean
I am working on making a StackPanel green, but not a flat green. Pretty much teh exact same way it gradients up per item in the default stack panel in blue, but in a green hue. Since I want the gradient, I've made a .png of the exact look I want. However, when I assign it to the background: bac

Re: Unable to find 'MyService.gwt.xml' on your classpath

2009-06-16 Thread Arthur Kalmenson
It means that the GWT module file can't be found in the class path, make sure it's included. Are you using Eclipse, Ant or Maven? -- Arthur Kalmenson On Sat, Jun 13, 2009 at 4:41 PM, a wrote: > > Hi, > > When I run my gwt application, I always get the following error > message. > "[ERROR]

Re: gmail fall back to plain html run on server side

2009-06-16 Thread Arthur Kalmenson
That's a difficult question and ties in with Search Engine Optimization. One of the best suggestions I've heard is to use your main panel's toString() to get the HTML and create a static page from that. I was thinking abou this issue and I'm not sure if it's possible or not, but I could see creati

Re: GWT Java-to-JavaScript compiler

2009-06-16 Thread Arthur Kalmenson
You can find all the information you're looking for on the Google Code project: http://code.google.com/p/google-web-toolkit/ Check out the wiki tab for design documents. -- Arthur Kalmenson On Mon, Jun 15, 2009 at 2:23 AM, Neeraj Lal wrote: > Hi, > > Could somebody please give me links/pointe

Re: Generating UI with GWT or PHP

2009-06-16 Thread Ian Bambury
You have to output the data for the Dictionary from the PHP script via a JavaScript script. In a simple PHP script which creates your index file, put in something like: echo "var user = {\"fname\": \"Firstname\", \"lname\": \"Lastname\"};'"; and then in the onModuleLoad, show the d

"Getting Started Guide" NullPointerException

2009-06-16 Thread JeremyJBarth
I walked through the steps to the getting started guide on eclipse 3.3 (Europa) in a new workspace. I got the below when Debug -> Web Application. Deploying to the app engine worked, and it runs fine from there. un 16, 2009 11:54:01 PM com.google.apphosting.utils.jetty.JettyLogger warn WARNING:

Re: "Getting Started Guide" NullPointerException

2009-06-16 Thread JeremyJBarth
I installed Eclipse 3.4, went through the same steps, and got the exact same stack trace. On Jun 16, 6:56 pm, JeremyJBarth wrote: > I walked through the steps to the getting started guide on eclipse 3.3 > (Europa) in a new workspace.  I got the below when Debug -> Web > Application.  Deploying t

Re: How to capture shutdown event of system in javascript

2009-06-16 Thread Arthur Kalmenson
This might be what you're looking for: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/Window.ClosingEvent.html I doubt this will fire if the machine powers off due to a power failure. -- Arthur Kalmenson On Tue, Jun 16, 2009 at 8:07 AM, Taufeeq wrote: > >

Re: Generating UI with GWT or PHP

2009-06-16 Thread Ian Bambury
BTW, just for completeness > If so, would the call the add(new Label(items from dom)) be redundant? As you have probably worked out, the data for the dictionary is taken from a JavaScript variable and not DOM elements (spans, divs etc) so no it's not redundant. If all you want is "Hello OldUser"

Re: How to capture shutdown event of system in javascript

2009-06-16 Thread Ian Bambury
As Arthur says, losing power won't give you a closing event. You also have to decide what to do if the internet connection is lost for whatever reason (how long is 'lost' as opposed to 'misplaced'? You may just have gone into a train tunnel which doesn't have an internet connection (not all of them

Re: Community announcements on GWT blog

2009-06-16 Thread Carl Pritchett
Could they be influenced by the fact that SmartGWT is LGPL while ExtGWT is GPL? --~--~-~--~~~---~--~~ 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@googl

Re: PagingScrollTable cannot find scrollTableLoading.gif

2009-06-16 Thread hezjing
Hi Isaac Hmmm ... you're right, the scrollTableLoading.gif is found in gwt-incubator-march-02-2009.jar. Then, do you have any idea why is it showing 404 warning while trying to load scrollTableLoading.gif? On Wed, Jun 17, 2009 at 4:30 AM, Isaac Truett wrote: > > Are you sure you're looking in t

How do they do that left panel thing??

2009-06-16 Thread kingdomain
On the GWT website, I can't figure out how they do the left panel that opens and closes with the table of contents. It doesn't behave like a normal disclosure panel, unless there some special CSS going on there. Can someone point me to the way? Thanks, John --~--~-~--~~

integrate GWT gui with spring framework

2009-06-16 Thread bhumij
I have developed java-spring application. its gui is developed using javascript and 3rd party lib like YUI. Now I need to use GWT for GUI. I want to use GWT for only GUI developing purpose. I have no idea how i can integrate it into existing spring framework. View classes of spring frame works are

Re: Is it not possible to include a Serialized bean object as a variable in another Serialized Bean..??

2009-06-16 Thread Raul
Hi Issac I am using Hibernate to deal with the persistent layer, that is why I need to serialize both the beans. I had tried changing the default constructor of both the classes to Public but issue does not solved yet. Raul On Jun 16, 7:36 pm, Isaac Truett wrote: > Raul, > > The problem is

Re: Getting started with gwt 1.6 and Intellij 8

2009-06-16 Thread itgold
Hello Rakesh, To run GWT 1.6 from IntelliJ 8 you need to modify your application startup configuration. Go to the Run\Edit Configuration\ Create a new GWT Configuration. On a Before launch panel uncheck Make option and select Run Ant Target. Select "hosted" target. And yes, you have to have ant b

Setting the max width for a panel

2009-06-16 Thread Rob Tanner
Hi, I'm doing popup tooltips and I would like to be able to set a maximum width on 300 pixels and jut let the text wrap, but if the tooltip is shorter than 300 pixels, I want the popup to only be as large as the text. I add the text to a HorizintalPanel() and is there anyway I can figure out how