SafeHtml is not available with gwt.version=2.0.3

2012-11-12 Thread Anuradha bhat
Hi , We are using gwt.version=2.0.3. I am not getting SafeHtml here. Which version i have to use? or Is there any additional jar to get these files. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: SafeHtml is not available with gwt.version=2.0.3

2012-11-12 Thread Thomas Broyer
On Monday, November 12, 2012 10:19:13 AM UTC+1, Anuradha bhat wrote: Hi , We are using gwt.version=2.0.3. I am not getting SafeHtml here. Which version i have to use? or Is there any additional jar to get these files. 2.1 at a minimum:

Re: SafeHtml is not available with gwt.version=2.0.3

2012-11-12 Thread Anuradha bhat
thanks On Monday, 12 November 2012 15:32:14 UTC+5:30, Thomas Broyer wrote: On Monday, November 12, 2012 10:19:13 AM UTC+1, Anuradha bhat wrote: Hi , We are using gwt.version=2.0.3. I am not getting SafeHtml here. Which version i have to use? or Is there any additional jar to get these

[QUESTION] Newbie in login and navigation

2012-11-12 Thread dcheeky77
Hello! I'm starting a simple project in GWT, but I'm a newbie and don't know how to approach this problem in the right way. My application must have a login page and a main content one, where all views are managed/displayed (it looks like standard GWT). The login page must be different than

Re: [QUESTION] Newbie in login and navigation

2012-11-12 Thread Thomas Broyer
Easiest is to use a dynamic host pagehttps://developers.google.com/web-toolkit/articles/dynamic_host_page. The token passed by the SSO is processed on the server-side and the user info (along with a token for the app and/or a session/cookie) is written in a script in the page, which is read

Re: [QUESTION] Newbie in login and navigation

2012-11-12 Thread dcheeky77
Thank you very much for your quick reply! I'll definitely have a look! Thanks again! On Monday, November 12, 2012 12:45:53 PM UTC+1, Thomas Broyer wrote: Easiest is to use a dynamic host pagehttps://developers.google.com/web-toolkit/articles/dynamic_host_page. The token passed by the SSO is

onSubmitCompleted issue?

2012-11-12 Thread Thomas Lefort
I implemented a simple image uploader which relies on the form panel. I pass an image file via a filupload widget and a multipart encoding to the server which then processes the image, stores it on the disk and returns the image file path as a text/html response. On the client side I have an

Re: onSubmitCompleted issue?

2012-11-12 Thread Thomas Broyer
Because Content-Types are so often wrong on the internet (particularly when set to text/html or text/plain), browsers use content-sniffinghttp://mimesniff.spec.whatwg.org/. Because your response does not look like HTML, it might very-well be sniffed as text/plain by the browser, which will

Re: onSubmitCompleted issue?

2012-11-12 Thread Thomas Lefort
Hi Thomas, Thanks for the suggestion. I would have never thought of something like that! I tried your suggestion but unfortunately without success. That said, discussing always generates ideas and I had another look at the code. It turned out to be much more trivial than that: I was hiding the

Security vulnerability in GWT 2.4: what's this?

2012-11-12 Thread l.denardo
I read in the 2.5 release notes here: https://developers.google.com/web-toolkit/release-notes#Release_Notes_Current Security vulnerability from 2.4 to 2.5 Final The GWT team recently learned that the Security vulnerability discovered in the 2.4 Beta and Release Candidate releases was only

Re: How to set stroke width for Canvas Context2d?

2012-11-12 Thread markww
Thanks Chris, that's what I needed. On Thursday, 30 August 2012 02:24:28 UTC-4, Chris Lercher wrote: To set the width of the stroke, use ctx.setLineWidth(double) In general, FillStrokeStyle currently has three subclasses: - CanvasGradient - CanvasPattern - CssColor They don't have

More efficient way of creating CssColor instances?

2012-11-12 Thread markww
Hi, I need to do some drawing on a canvas element, is there any better way of creating fill styles on the fly? Currently I have to do this: public void drawFoo(Context2d context, int r, int g, int b, int a) { CssColor clr = CssColor.make(rgba( + r + , + g + , + b + , a + ));

Re: GWT Cross Site Iframe Linker and Script Tags

2012-11-12 Thread googelybear
I have the same error when running the code server and this limitation effectively prevents me from using superdevmode, as in my case the problem is with an external library that I include which then uses the script tag in its own module xml. Also not being able to use script in the module xml

Drag and Drop Tutorial

2012-11-12 Thread Jamie
Hi, I required Drag and Drop for a project I am working on. I couldn't find a lot of info on it, so I wrote a tutorial on how to add Drag and Drop to a Tree, using GWT 2.4+'s built-in DnD. You can read the tutorial here: http://jamies-gwt.blogspot.ca/2012/11/gwt24-drag-drop-in-tree.html I hope

Re: Security vulnerability in GWT 2.4: what's this?

2012-11-12 Thread Thomas Broyer
On Monday, November 12, 2012 2:44:17 PM UTC+1, l.denardo wrote: I read in the 2.5 release notes here: https://developers.google.com/web-toolkit/release-notes#Release_Notes_Current Security vulnerability from 2.4 to 2.5 Final The GWT team recently learned that the Security vulnerability

Re: MVP with multiple EntryPoints

2012-11-12 Thread Cristian Rinaldi
Joseph, thanks a lot for your predisposition Another question but no less important: You are using injection of dependency in the projects, e.g: peaberry with Guice or Weld? Greetings!! -Cristian El jueves, 8 de noviembre de 2012 22:53:39 UTC-3, Joseph Lust escribió: Christian, Sorry

Re: GWT Cross Site Iframe Linker and Script Tags

2012-11-12 Thread Thomas Broyer
On Monday, November 12, 2012 4:55:58 PM UTC+1, googelybear wrote: I have the same error when running the code server and this limitation effectively prevents me from using superdevmode, as in my case the problem is with an external library that I include which then uses the script tag in

Running a Maven/GWT project

2012-11-12 Thread Magnus
Hi, because of this thread https://groups.google.com/forum/?fromgroups=#!searchin/google-web-toolkit/magnus/google-web-toolkit/daaRPAj2o88/kwP3rySs6PAJ I want to run a Maven project: The example atmosphere-gwt-chat for the Atmosphere framework:

Re: Running a Maven/GWT project

2012-11-12 Thread Juan Pablo Gardella
Hi, The error says: * there is no POM in this directory (/home/wagner/dvl/spl/Atmosphere/t) * Juan 2012/11/12 Magnus alpineblas...@googlemail.com Hi, because of this thread

Re: Security vulnerability in GWT 2.4: what's this?

2012-11-12 Thread l.denardo
Thanks Thomas, I meant Eclipse Plugin (we develop and compile using Eclipse and update GWT version with the plugin - managing update by hand lead to some trouble with out-of-date jars found in some builds). The real problem is not the plugin availability (just updated) but the couple of days

Re: Running a Maven/GWT project

2012-11-12 Thread Magnus
Am Montag, 12. November 2012 18:02:26 UTC+1 schrieb Juan Pablo Gardella: The error says: * there is no POM in this directory (/home/wagner/dvl/spl/Atmosphere/t)* But this is wrong: -rw-r--r-- 1 wagner wagner 4871 Nov 12 17:37 atmosphere-gwt-chat-1.0.4.pom (downloaded from the atmosphere

Re: Running a Maven/GWT project

2012-11-12 Thread Juan Pablo Gardella
You have to run *mvn* in a directory where you have *pom.xml* file to build the project. 2012/11/12 Magnus alpineblas...@googlemail.com Am Montag, 12. November 2012 18:02:26 UTC+1 schrieb Juan Pablo Gardella: The error says: * there is no POM in this directory

Re: Running a Maven/GWT project

2012-11-12 Thread Magnus
Am Montag, 12. November 2012 18:34:33 UTC+1 schrieb Juan Pablo Gardella: You have to run *mvn* in a directory where you have *pom.xml* file to build the project. Do you mean that I have to run mvn without arguments or that the pom file in the directory must have the name pom.xml? How

Re: Running a Maven/GWT project

2012-11-12 Thread Magnus
Ok, I renamed the *.pom file into pom.xml and ran mvn without arguments. It downloaded about 1 million jar files, and ended up with this message: [INFO] [INFO] BUILD FAILURE [INFO]

Re: Drag and Drop Tutorial

2012-11-12 Thread Daniel Mauricio Patino León
Thanks for sharing. 2012/11/12 Jamie jamiesharbor-sou...@yahoo.com Hi, I required Drag and Drop for a project I am working on. I couldn't find a lot of info on it, so I wrote a tutorial on how to add Drag and Drop to a Tree, using GWT 2.4+'s built-in DnD. You can read the tutorial here:

Re: Running a Maven/GWT project

2012-11-12 Thread Hilco Wijbenga
On 12 November 2012 10:13, Magnus alpineblas...@googlemail.com wrote: Ok, I renamed the *.pom file into pom.xml and ran mvn without arguments. It downloaded about 1 million jar files, and ended up with this message: [INFO]

SuperDevMode - SourceMap wrong line numbers

2012-11-12 Thread Tom Carchrae
I really like SuperDevMode - despite it's bleeding edginess. The compile times are great, and I love being able to trace between JS code and GWT code. The fact that I can see JS errors makes life so much easier. But alas, SourceMap, your line numbers don't seem to line up with the Java

Re: Running a Maven/GWT project

2012-11-12 Thread Jens
To run the example: 1.) checkout: https://github.com/Atmosphere/atmosphere-extensions 2.) go into gwt/samples/gwt-chat 3.) run DevMode via mvn gwt:run https://github.com/Atmosphere/atmosphere does not contain the gwt-chat example. -- J. -- You received this message because you are

gwt-dnd - Vertical (VerticalPanelDropController) and Tab (TabSelectingDropController) use

2012-11-12 Thread David Torralbo
Hi, This is not reporting of an issue, but looking for advise to fine tuning my app. I am using gwt-dnd lib to create a List of Horizontal Panels that should be draggable in vertical way and also draggable from one tab to an other within a Tab Panel. You can see an example here:

GWT 2.4.0+ RequestFactory EntityProxy Validation

2012-11-12 Thread Steven Jardine
When trying to save a complex EntityProxy I receive validation errors on empty entities that should not be there. When I inspect the entity to be sent to the server I see a total of 6 entities to be saved but when I inspect the IdToEntityMap that is used for validation I see a total of 9

How to add a check-all checkbox for cell table?

2012-11-12 Thread Thomas Frisch
I have a Cell Table of which the last column is a checkbox. I would like to add a Check-All-Box as a footer that when clicked selects every checkbox for every row. Somehow it won't work here is what I got so far: private HeaderBoolean initFooterUnSelectAll(){ ValueUpdaterBoolean updater =

Re: ClassCastException from Map update in iOS6

2012-11-12 Thread Marcin Szałomski
Hi, I'm not sure, but your problem might be similar to my. The solution (- XdisableCastCheckinghttp://code.google.com/p/google-web-toolkit/wiki/NoCastCheckingOptimization) described here: http://deploythoughts.blogspot.com/2012/11/gwt-webapp-and-ios-6-safari.html . Please give a feedback if it

Unicode Characters in Dynamic Text Content

2012-11-12 Thread drkstr1
Hello All, I am having an issue with Unicode characters being displayed in dynamic text content. Please consider the examples UnicodeTest1 and UnicodeTest2, bellow. I can get the desired behavior if I assign the content manually using the javascript escape codes for the unicode character (see

Re: SuperDevMode and GwtGenerators

2012-11-12 Thread bloo
Hi guys, I've been following your issue for this, Brian, with hopes somebody is pained enough by this as I (and Gal) is by this issue. My dev experience is excruciating with this issue as it stands, so I'm willing to try and patch it if somebody could point me in the right direction. Is this

Re: Running a Maven/GWT project

2012-11-12 Thread Magnus
Hello, I downloaded the whole branch at https://github.com/Atmosphere/atmosphere-extensions and changed into the directory atmosphere-extensions-master/gwt/samples/gwt-chat. Then I executed mvn and mvn gwt:run, but both commands resulted in a Java (!) error (full output attached): [ERROR]

GWT JSR 303 and setConstraintViolations() wrong Path name bug ?

2012-11-12 Thread Daniel Mauricio Patino León
Hello there today i am almost finish with a medium complex EntityProxy editor module. But now seems that i found a new hole or don't know why this happens. This the proxy scenario: in ProductoProxy i have: @Valid public ImpuestoProxy getImpuesto(); @Valid public ImpuestoProxy

Re: GWT JSR 303 and setConstraintViolations() wrong Path name bug ?

2012-11-12 Thread Daniel Mauricio Patino León
I just confirm that seems to be a bug ? on the conversion of driver.setConstraintViolations(constraints) to ListEditorError in the Editor framework the jsr 303 reports like this: Mon Nov 12 21:29:55 GMT-600 2012 foo.bar.client.view.BaseViewImpl INFO: tipoIeps Mon Nov 12 21:29:55 GMT-600