Re: Preventing JavaScript Injection cient/server side solutions

2009-06-16 Thread Dean S. Jones
http://xkcd.com/327/ --~--~-~--~~~---~--~~ 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 from this group, send email to

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

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, tedpotteltedpot...@gmail.com wrote: Hi, I'm thinking about using GWT.  Quastion, will GWT run ok on my current web

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

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 mcac...@gmail.com wrote: Hi Eduardo,      Here's your solution: public class BocaJrsTable extends FlexTable implements HasMouseOutHandlers {         private HandlerManager

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 tedpot...@gmail.com wrote: Hi, I'm thinking about using GWT.  Quastion, will GWT run ok on my current

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

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 ram...@gmail.com wrote: Hello, I'd like to try 2.0, to help and fill the bugs, however, I'm on Win machine, without

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.

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

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; isize; i++) { Widget widget = container.getWidget(i); if

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

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 jim.p...@gmail.com wrote: You may try the following: 1. find the container such as Panel for all text fields. 2. find the counts of

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 raahoo...@gmail.com wrote: Hello all, I have two beans as follows: - public class employee

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 =

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: meta name='gwt:module'

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

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

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

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 mark.ren...@gmail.com 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

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

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

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, Raulraahoo...@gmail.com

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

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

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 deansjo...@gmail.com 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

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

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

2009-06-16 Thread Thomas Broyer
On 16 juin, 17:08, samsus iuri.mat...@gmail.com 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

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

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

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

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

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 benj...@gmail.com: 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

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

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

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.

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

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

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: 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 gop...@gmail.com 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

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 aydo...@gmail.com wrote: god bless you On Apr 13, 2:46 pm, martin hotston...@googlemail.com wrote: Ok, I solved the problem  ;-) Go to the project's properties and uncheck Use Google App Engine. Additionally, as vitali

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

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 darius...@gmail.com wrote: I did setup a style.css file, where I'm trying to change the size of the button like this: .gwt-Button {

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,

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 kwhitting...@gmail.com 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

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

[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

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:

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

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 robert.lafe...@o-ms.com wrote: How do I expand all the nodes in a 1.6 Tree?  I do not see an expand() method.  setSelected()? --~--~-~--~~~---~--~~ You received this

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

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 deansjo...@gmail.com wrote: Integer.getInteger(name) gets an integer from System properties. it is ( roughly ) equal to:

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

Re: GWT Place Service

2009-06-16 Thread Thomas Broyer
On 16 juin, 21:42, Kevin Q kevin.jing@gmail.com 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

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:

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, ajimmyyl...@gmail.com wrote: Hi, When I run my gwt application, I always get the following 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

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 Lalneerajla...@gmail.com wrote: Hi, Could somebody please

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 script language='javascript'var user = {\fname\: \Firstname\, \lname\: \Lastname\};/script'; and then in

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 jeremy.ba...@gmail.com 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

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,

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

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

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 itru...@gmail.com wrote: Raul,

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

[gwt-contrib] gwt incubator logging with gwt from trunk doesn't compile anymore.

2009-06-16 Thread ma
Using the logging module with a gwt build from trunk (since the last week) I get the following error during the gwt compile: ... [java] Loading inherited module 'com.google.gwt.gen2.logging.Logging' [java] Loading inherited module 'com.google.gwt.gen2.logging.CoreLogging'

[gwt-contrib] Optimizing away the builder pattern

2009-06-16 Thread Brian Stoler
Hi gwtc, I was playing with using super-source to emulate some existing code that uses a builder pattern and make it efficient in GWT as a JavaScriptObject. I was hoping that the I could make the Builder just compile away, but that doesn't seem to be happening. I started debugging in JsInliner

[gwt-contrib] Extracting library and ITM

2009-06-16 Thread Elad and Osnat
Dear contributors, We would like to interest you in a new extracting feature to GWT. We add a sample application which using this feature and a short documentation (E1.rar and Extracting library and ITM.txt) . We would be happy to hear your comments. Thanks, Elad and Osnat.

[gwt-contrib] Re: [google-web-toolkit commit] r5537 - Ant rework for speed:

2009-06-16 Thread BobV
On Tue, Jun 16, 2009 at 12:46 AM, Freeland Abbottfabb...@google.com wrote: Ping.  Bob, I think you had special interest in this one. ;-) ant clear dist-dev cd user ant test does the right thing. LGTM. -- Bob Vawter Google Web Toolkit Team

[gwt-contrib] inliner handles implicit long cast at method return

2009-06-16 Thread spoon
Reviewers: scottb, Description: Issue 3710 is caused by the Java inliner failing to take into account an implicit cast to long in Integer::longValue(). The inliner already adds explicit casts to the parameters of inlined methods. This patch has it do so for return values as well. If we run

[gwt-contrib] Re: Changing JsArrayT extends JavaScriptObject to JsArrayT

2009-06-16 Thread Aaron Steele
wave id on the sandbox: eighty On Mon, Jun 15, 2009 at 7:09 PM, Matt Mastraccimatt...@mastracci.com wrote: I do as well - I'm mmastrac. On 15-Jun-09, at 8:02 PM, Ray Cromwell wrote: I do, cromwellian is my id on the sandbox. -Ray On Mon, Jun 15, 2009 at 6:14 PM, Bruce

[gwt-contrib] Re: Optimizing away the builder pattern

2009-06-16 Thread Freeland Abbott
I was talking to Scott about the same optimization, recognizing chains of methods returning this and inlining them as a block. I haven't looked into what's involved, though, and promise not to until Thursday at least On Mon, Jun 15, 2009 at 9:11 PM, Brian Stoler bsto...@google.com wrote:

[gwt-contrib] [google-web-toolkit commit] r5563 - Ant fixes for platform independence, for dist-dev not needing tools, and

2009-06-16 Thread codesite-noreply
Author: fabb...@google.com Date: Tue Jun 16 08:28:58 2009 New Revision: 5563 Modified: trunk/build-tools/ant-gwt/src/com/google/gwt/ant/taskdefs/LatestTimeJar.java trunk/build.xml trunk/samples/common.ant.xml trunk/tools/api-checker/build.xml trunk/tools/soyc-vis/build.xml

[gwt-contrib] Re: Optimizing away the builder pattern

2009-06-16 Thread Freeland Abbott
As I said, I hadn't looked at all into how feasible this was... but I was hoping to do it by jiggering the Java AST, really, and not the JS one. That is, I was looking to rewrite the Java from a chained builder.setA().setB().setC() to multi-statement builder.setA();builder.setB();builder.setC(),

[gwt-contrib] [google-web-toolkit commit] r5564 - Missed file from r5563

2009-06-16 Thread codesite-noreply
Author: fabb...@google.com Date: Tue Jun 16 08:37:30 2009 New Revision: 5564 Modified: trunk/doc/build.xml Log: Missed file from r5563 Review by: bobv Modified: trunk/doc/build.xml == --- trunk/doc/build.xml

[gwt-contrib] Re: RR : Make ClientBundle and CssResource generators faster

2009-06-16 Thread rice
LGTM http://gwt-code-reviews.appspot.com/40804/diff/1/5 File user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java (right): http://gwt-code-reviews.appspot.com/40804/diff/1/5#newcode43 Line 43: private static final MapTypeOracle, MapString, Object CACHES = new

[gwt-contrib] Re: Optimizing away the builder pattern

2009-06-16 Thread Ray Cromwell
I am definitely for this kind of optimization, since GQuery is effectively nothing but chained calls. However, I think the issue is more complicated than just rewriting. First, whether or not the optimization is an improvement depends on subsequently whether or not the methods can be inlined.

[gwt-contrib] Re: Optimizing away the builder pattern

2009-06-16 Thread Matt Mastracci
I've been pondering an SSA structure for the compiler that would make some of this stuff a lot easier to deal with. Instead of keeping the AST for the Java and JS trees around, we'd put everything into a unified data flow graph in memory (with appropriate side-effect barriers), optimize

[gwt-contrib] Re: Optimizing away the builder pattern

2009-06-16 Thread Ray Cromwell
I prototyped a piece of this a couple of months ago in an attempt to work out how to build an immediate dominator tree so as to perfectly prune clinits. The problem is, you'd have to practically rewrite the entire compiler. I think at this point, it's a little too much, maybe something for GWT

[gwt-contrib] Re: RR : Make ClientBundle and CssResource generators faster

2009-06-16 Thread BobV
Thanks for the review. Committed at r5566. -- Bob Vawter Google Web Toolkit Team --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Comment on CssResource in google-web-toolkit

2009-06-16 Thread codesite-noreply
Comment by poornimachandran123: @Strict annotation will prove to boon and an error free system. For more information: http://code.google.com/p/google-web-toolkit/wiki/CssResource --~--~-~--~~~---~--~~

[gwt-contrib] [google-web-toolkit commit] r5565 - Edited wiki page through web user interface.

2009-06-16 Thread codesite-noreply
Author: fabb...@google.com Date: Tue Jun 16 10:17:46 2009 New Revision: 5565 Modified: wiki/DefaultLocaleBinding.wiki Log: Edited wiki page through web user interface. Modified: wiki/DefaultLocaleBinding.wiki ==

[gwt-contrib] Re: Optimizing away the builder pattern

2009-06-16 Thread Ray Cromwell
A very interesting idea, a sort of hybrid AST/SSA (hmm, I recall GCC now has some kind of 'Tree SSA' too) although I think the real win wouldn't come until you could replace conditionals like JWhile/JIf/JFor with their SSA equivalents.The reason being, you'd be limited from doing intra-block flow

[gwt-contrib] [google-web-toolkit commit] r5567 - Fix missing file in r5566.

2009-06-16 Thread codesite-noreply
Author: b...@google.com Date: Tue Jun 16 12:25:57 2009 New Revision: 5567 Modified: trunk/user/test/com/google/gwt/resources/rg/CssTestCase.java Log: Fix missing file in r5566. Modified: trunk/user/test/com/google/gwt/resources/rg/CssTestCase.java

[gwt-contrib] Re: RR : Allow user-provided bridge classes in hosted mode

2009-06-16 Thread jat
LGTM with nits. http://gwt-code-reviews.appspot.com/34836/diff/1001/2002 File dev/core/src/com/google/gwt/dev/shell/rewrite/HasAnnotation.java (right): http://gwt-code-reviews.appspot.com/34836/diff/1001/2002#newcode29 Line 29: * a type. Should mention the annotation has to be directly on the

[gwt-contrib] [google-web-toolkit commit] r5568 - Changes to make GWT i18n support real default locales. Introduces a .gwt.xml tag set-...

2009-06-16 Thread codesite-noreply
Author: fabb...@google.com Date: Tue Jun 16 14:20:27 2009 New Revision: 5568 Added: trunk/dev/core/test/com/google/gwt/core/ext/linker/impl/ trunk/dev/core/test/com/google/gwt/core/ext/linker/impl/StandardSelectionPropertyTest.java Modified:

  1   2   >