Re: "secure" widgets

2011-07-07 Thread Robert Hanson
> wouldn't the security constraint container be available to a > DOM inspector for analysis? some kind of a BIG HOLE in security? Yes. And it is also trivial to take your obfuscated code and de-obfuscate it. So assume that anyone that can download your JavaScript code can read it and change it a

Re: 2.0 to 2.3

2011-07-07 Thread Robert Hanson
> The only thing i have to do is to unzip the GWT SDK 2.3 and re-compile > my application ? Yes. Note that you may get some errors that you need to fix due to API changes. Rob On Thu, Jul 7, 2011 at 1:14 PM, omae...@yahoo.fr wrote: > Hello, > > > I have developed a GWT application in version

Re: GWT client/server module ..

2011-07-07 Thread Robert Hanson
At the end of the day, its just JavaScript, which means you get the same communication that you would with JavaScript (i.e. XHR). There are lots of ways to implement it though. Even though the transport mechanism is the same you could use GWT-RPC, RequestFactory, RequestBuilder, or JSONP. If you

Re: Linking multiple GWT applciations..

2011-07-07 Thread Robert Hanson
> Can't I simply create module libraries and call them from my main app Yes, you can, assume all you need to do is create a single compilation unit. But that doesn't address any communication issues between clients and client-server. Also, instead of doing it like you have, maybe consider multip

Re: Using FormPanel to get XML data - workaround?

2010-07-08 Thread Robert Hanson
Awesome, thanks everyone for the ideas. Rob On Thu, Jul 8, 2010 at 5:22 PM, Thomas Broyer wrote: > > > On 8 juil, 18:53, Robert Hanson wrote: > > Based on the docs for FormPanel the server has to reply with the > > content-type of text/html, otherwise there ma

Using FormPanel to get XML data - workaround?

2010-07-08 Thread Robert Hanson
Based on the docs for FormPanel the server has to reply with the content-type of text/html, otherwise there may be issues with some browsers. But if you do that, and send XML content it seems it has browser issues. For example, in FF/DevMode the SubmitCompleteEventHandler returns null for the res

Re: Eclipse plugin suggestion

2010-07-05 Thread Robert Hanson
onths I think before they were able to do so. It will get there. Rob On Sun, Jul 4, 2010 at 3:49 PM, Gal Dolber wrote: > This is right, what we really need is Google to open source the plugin, but > they don't want to > > 2010/7/4 Robert Hanson > >> The plugin

Eclipse plugin suggestion

2010-07-04 Thread Robert Hanson
The plugin is great, but every time I create a new application I need to go through the project and delete all of the example code. Perhaps there can be an option on the new project dialog that lets you turn off the sample code, and only created the entry point, module config, and a deployment des

Need some help reviewing a book

2010-05-20 Thread Robert Hanson
I haven't posted here in a while, but I need some help. A few of us (Ian Bambury, Chris Ramsdale, Adam Tacy, and me) are working on a book for Manning, and we are a bit short on reviewers. So there is anyone interested in doing a book review, we could use the help. The amount of experience with

Re: GWT Violates LGPL

2009-04-07 Thread Robert Hanson
There is also an about.txt[html] with the GWT distribution. Here are the notable bits: | This product includes software developed by: | - The Apache Software Foundation (http://www.apache.org/). |- Tomcat (http://tomcat.apache.org/) with modifications |- Tapestry (http://tapestry.apache

Re: GWT javascript structure

2008-12-07 Thread Robert Hanson
> If I do so, the rpc services in HelloWorld do not work anymore. You just need to set the target URL of the remote services properly, and that is dependent on your setup. 1) For example, perhaps you can use an absolute URL: /parth/to/servlet 2) Or relative to the JS code. GWT.getModuleBase

Re: getValuesAString() of HTMLEditor returns text containing HTML tags and HTML character

2008-11-15 Thread Robert Hanson
You could write a small native JS method that substitutes "&" and for "&", and "<" for "<". Typically that is all that you would need to make the char data XML compliant. Rob On Sat, Nov 15, 2008 at 6:11 AM, Manish Kumar <[EMAIL PROTECTED]> wrote: > Hi, > > I am using HTMLEditor to enter some

Re: jaxb gwt compilation errors

2008-10-21 Thread Robert Hanson
You can't use non-GWT libs in a GWT project*. GWT ships with a VERY limited JRE, and compiles Java source to JS source. The lib you are trying to use (1) uses parts of the JRE that GWT does not support, and (2) does not have the Java source code included in the jar file. You will need to use th

Re: RPC Image

2008-10-21 Thread Robert Hanson
Well, the RPC could return the URL of an image. You could create the image on the file system with some random name, and return that URL to the browser. If a random name isn't secure enough, you could use a servlet filter or other non-GWT technology to only allow that use to access that particul