Discuss GWT issue #9581

2018-01-05 Thread 'Vincent R' via GWT Users
Dear GWT Developers, I recently posted the issue #9581 on the github gwtproject: https://github.com/gwtproject/gwt/issues/9581 So far, it was not verified. I think that the GWT team is currently busy with fixing Java 9 related issues. Therefore, I would like to discuss this issue here. Maybe

Re: RequestBuilder, safely send data to server

2017-03-02 Thread Chad Vincent
Seconded. One of the best bits of advise I ever got is, "if you have a validation on the client, re-validate on the server". The JSR validation makes it easy to be sure validation is consistent, but I've not tried it now that the validation is a library. On Thursday, March 2, 2017 at 5:27:59 A

Re: How to handle double click on TreeItem

2016-11-14 Thread 'Vincent R' via GWT Users
Nevermind, I found out why... Am Montag, 2. Oktober 2006 18:00:27 UTC+2 schrieb edmik: > > Hi VS, > use the provided toolkit double click event is much cleaner. e.g. > class MyTree extends Tree > private final MyTree me ; > /** > * > */ > public MyTree() > { > sup

Re: How to handle double click on TreeItem

2016-11-14 Thread 'Vincent R' via GWT Users
Hi Malcolm, I have a question to your solution. Why are you implementing the onBrowserEvent in your extended Tree class, why not in an extended TreeItem class? Regards, Vincent Am Montag, 2. Oktober 2006 18:00:27 UTC+2 schrieb edmik: > > Hi VS, > use the provided toolkit double cl

Re: GWT RPC in GWT 3.0+

2016-07-11 Thread Chad Vincent
Hey, speak for yourself. ;) RMI is awesome for prototyping or when the networking aspects are a secondary feature where performance isn't an issue. Maybe better off as a library, but still useful. On Saturday, July 9, 2016 at 6:02:23 PM UTC-5, Hristo Stoyanov wrote: > > Gwt-rpc had siMilar fa

Re: How to make my app more secure. URL token

2016-06-07 Thread Chad Vincent
Your GUI needs a check, then. I handle this by having every Place (and even some sub-forms) check for a user on display and display a logged out UI if there is no current valid user. Of course, I'm using a login dialog instead of a Place, so if someone's session times out they can re-authentic

Re: Getting username from url only works after refresh

2016-06-01 Thread Chad Vincent
For some reason, passing the username around via the URL seems like a code smell to me. I'm not sure if it's actually better or not, but I store the User object from the server (less password hash) in a singleton (and the session, in case of a full refresh). I also have all my Place content se

Re: window.showModelDialog replacement

2016-05-24 Thread Chad Vincent
I normally use a custom DialogBox ( http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html ), since it is within-document, I can do whatever I need to in it (validation, Widgets, prompt for input using a custom widget, etc.), and it doesn't block other tabs. On

Re: Why can I not extend java.util.Date?

2016-03-24 Thread Chad Vincent
stand that this might also not be that easy and > it must have a particular reason why it's not yet there. > > > > > On Tuesday, 22 March 2016 16:01:11 UTC+1, Chad Vincent wrote: >> >> 1) Dates are very, very, very hard. Calendar idiosyncrasies, time zones,

Re: Why can I not extend java.util.Date?

2016-03-22 Thread Chad Vincent
1) Dates are very, very, very hard. Calendar idiosyncrasies, time zones, leap seconds... Be 100% sure you need to actually extend Date before messing with it. 2) You are probably better off putting your method (presuming this is the only one) in a custom utility class instead of extending Date

Re: New book, ESSENTIAL GWT

2016-02-02 Thread Vincent Fernandez
Hola Federico, Compre tu libro. Me parece que es muy bueno pero estoy teniendo muchas dificultades para entenderlo. Los ejemplos iniciales son incompletos, porque comenta que los completaras en los siguientes capitulos. Peor entonces en los siguientes capitulos los ejemplos son demasiado compl

Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
0:17 PM UTC+2, Chad Vincent wrote: >> >> (GWT responses use GSON, a Google-modified JSON, and are converted to >> POJO post-receive.) >> > > Huh!?!?!?! > > GWT-RPC uses its own serialization formats (plural: server-to-client is > based on JS object literals –

Re: Third Party Library for GWT validation

2015-05-20 Thread Chad Vincent
So you never convert the JSON to a POJO client side? (GWT responses use GSON, a Google-modified JSON, and are converted to POJO post-receive.) My best suggestion then is to just walk the JSON as a Map and use a custom validator interface... On Tuesday, May 19, 2015 at 1:07:15 AM UTC-5, Mohamme

Re: Third Party Library for GWT validation

2015-05-18 Thread Chad Vincent
Are you not marshalling the response into a POJO? GWT Validation can be done (with most validators, though not all) client-side. On Monday, May 18, 2015 at 7:06:11 AM UTC-5, abdul wrote: > > I want to validate the gwt field like (Email,Text Length,Phone Number,Date > & SSN,etc..) Is there any p

Re: Exception whit the GWT 2.7

2015-05-07 Thread Chad Vincent
My understanding is that the Eclipse Android GUI tool is likewise discontinued/deprecated. If you want Android GUI tools that will continue to be officially supported, you have to move to IntelliJ/Android Studio or code the GUI manually. On Wednesday, May 6, 2015 at 3:11:18 PM UTC-5, Marcin Ku

Re: Synchronized code after a service call

2015-05-04 Thread Chad Vincent
You can also use a ParallelCallback... Like this: http://www.summa-tech.com/blog/2010/11/29/parallel-asynchronous-calls-in-gwt I'm not super stoked about that implementation (if you have 1 failure, the parent isn't notified, and if you override onSuccess() to do something per-callback like inc

Re: Unable to use memcacheservice in gwt module

2015-01-28 Thread Chad Vincent
Not directly. You'll have to write a service/servlet to provide Memcache access to the client. Alternately, HashMap can be used in GWT as a Cache, as can some of the Guava Caches. On Wednesday, January 28, 2015 at 11:07 AM UTC-6, Gautam Priya wrote: > > Chad - I figured that out and have moved

Re: Unable to use memcacheservice in gwt module

2015-01-28 Thread Chad Vincent
The problem is that you've put server-side code in your GWT. Whatever is asking for the memcache needs to be moved out of your client or shared packages. On Tuesday, January 27, 2015 at 4:14:02 PM UTC-6, Gautam Priya wrote: > > Is there a memcache gwt module that I could inherit from to avoid >

Re: Chrome GWT Plugin required but is already installed

2015-01-12 Thread Chad Vincent
Plugin also still works in 32-bit Chrome 39.0.2171.95 m on Windows. On Sunday, January 11, 2015 at 5:10:24 AM UTC-6, Thomas Broyer wrote: > > > > On Friday, January 9, 2015 at 11:55:54 PM UTC+1, SHANKAR REDDY wrote: >> >> I was using GWT one year back and returned here to work on new >> developme

Re: GWT + GAE : how to handle communication failure...

2014-12-27 Thread Chad Vincent
Reduce the size of SaveBarterItemResult. If the whole 3MB of data is required, but causes disconnects frequently, return a smaller/lighter object from the save call, and then retrieve the full data set in a more resilient manner. On Friday, December 26, 2014 8:06:35 PM UTC-6, Clement Boret wro

Re: check wallet garden / internet connection

2014-12-22 Thread Chad Vincent
1) Walled Garden 2) Any attempt to contact a different server in the javascript will trigger a security warning in most browsers, if not be blocked. You certainly can try and perform an HTTP request via RequestBuilder, but I wouldn't count on it being reliable. On Monday, December 22, 2014 3:3

Re: Style problems with Firefox+LayoutPanel

2013-09-24 Thread vincent vigon
disappointing by the fact that the 'new' GWT-containers (LayoutPanels and co) behaves so differently on FF and on Chrome+Safari... Thank you again Steve. Vincent. Le mardi 24 septembre 2013 00:08:20 UTC+2, Steve C a écrit : > > Actually, I saw essentially the same view in

Re: Style problems with Firefox+LayoutPanel

2013-09-24 Thread vincent vigon
Le lundi 23 septembre 2013 09:18:54 UTC+2, vincent vigon a écrit : > > > > Le lundi 16 septembre 2013 14:29:10 UTC+2, vincent vigon a écrit : > > ListBox (add on a LayoutPanel) has a weird behavior with fireFox (23.0.1), >> not with Chrome and Safari. >> >> H

Style problems with Firefox+LayoutPanel

2013-09-16 Thread vincent vigon
bably linked) : on firefox, all my drawing on canvas are black (no colors). Thank you for helping me Vincent -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, s

Re: GWT Dev Plugin broke (Chrome/mac osx)

2012-10-22 Thread Vincent
It was broke before for me as well but now appears to be working again... (I presume we can thank Google for fixing it?) my details Chrome version: 22.0.1229.94 GWT Developer Plugin version: 1.0.11338 (although I did hit "Update extensions now" button on chrome://chrome/extensions/) Mac OS/X: 10

Senior PeopleSoft HRMS --Baltimore,MD--6+MONTHS

2012-03-29 Thread vincent karoff
functional set up and testing Good communication skills and must be able to work with all levels* * Vincent Karoff Voice: 203-983-9475 E-mail:vinc...@panzersolutions.com * -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To po

Capturing “Cancel” selection from GWT Activity.mayStop() response

2012-01-30 Thread Vincent Fazio
I have a GWT two column display. The left column contains a CellTable with a list of users in the application. When the user selects an user from the list, the right column displays the selected users details - which the user can edit. I have my Activity wired up to use the mayStop() method so tha

Re: GWT Style Not Working in AbstractCell

2012-01-06 Thread Vincent Fazio
Nevermind - I was doing this wrong. The style works if I do something like SafeStyles styles = SafeStylesUtils.fromTrustedString("width: 100%;"); instead of the nonsense I was doing. GWT must have some filter to remove nonsensical styles. On Fri, Jan 6, 2012 at 3:56 PM, Vincent F

GWT Style Not Working in AbstractCell

2012-01-06 Thread Vincent Fazio
I'm attempting to create a custom cell renderer for my GWT CellTable. I'm attempting to set a CSS style inside of the cell, but it's not rendering for some reason. Here's my custom cell renderer static class MyStringCell extends AbstractCell implements Cell { interface UncheckedStringTemplat

Re: layout panel problem, invisible panels

2012-01-05 Thread Vincent Fazio
I've also had problems when trying to put a layout panel inside of (as a child of) a non-layout panel (basic panel). I'm assuming this is what's happening when you place DockLayoutPanel inside of HeaderPanel. You can however put non-layout panels inside layout panels. I'm new to GWT and I'm not

Re : Re: Request Factory More Secure ?

2011-07-11 Thread Vincent François
Tank's Vincent -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/gifJRZfQdNYJ. To post to this group, send email to goo

Request Factory More Secure ?

2011-07-10 Thread Vincent François
Is it correct to think that Request Factory is more secure that GWT RPC ? The client does not handle a entity (objectify entity) but handles a proxy. Is it true ? Am I right ? -- Vincent -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit&q

integer and long weird arithmetic

2011-05-03 Thread Vincent T
A sample code being worth thousands words, here are my little findings. I'm aware that using long all the way may have got me out of trouble, but I wanted to share these weird results that some may consider as a bug. In hosted mode there is no pb. The comments contains the content of the popups in

Re: adding a DockLayoutPanel to a SimplePanel?

2010-10-25 Thread Vincent
I faced the same problem with LayoutPanel inside SimplePanel. For now, the only workaround a found is the same than the one proposed by Jeff, except that I extends the LayoutPanel. On 25 oct, 16:48, Jeff Larsen wrote: > One option would be to extend AbsolutePanel and have it implement > AcceptsOn

Re: GWT 2.1 and Editors

2010-10-25 Thread Vincent
I'm indeed using SimpleBeanEditorDriver and I don't see anything at the editor level neither. Thanks for your answer anyway Thomas. On 22 oct, 23:49, Thomas Broyer wrote: > On 22 oct, 18:50, Vincent wrote: > > > Hello, > > > I'm working on a prototype which

GWT 2.1 and Editors

2010-10-22 Thread Vincent
bean and compare it to the initial bean in the Activity in the mayStop method. Is it the right way to do this or is there a better way to do it? Thanks, Vincent -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this gr

Event on the BorderLayout/ContentPanel Collapse Button

2010-08-24 Thread Vincent COROLLEUR
w Listener() { @Override public void handleEvent(BaseEvent be) { // Something to do } }); Do someone has a work around ? Regards, Vincent COROLLEUR -- You received this message because you are sub

Re: Script tag dynamic loading

2010-08-16 Thread Vincent COROLLEUR
1); ScriptElement script2 = Document.get().createScriptElement(); script2.setType("text/javascript"); script2.setSrc("http://mapstraction.googlecode.com/svn/trunk/source/ mxn.js?(google)"); Document.get().getElementsByTagNa

Re: GWT and Map dynamic loading

2010-08-13 Thread Vincent COROLLEUR
Hello, I still have the problem. I tried to load other scripts and it works. There is a mechanism from JS maps API that i may not understand or know. I should not be the only guy trying this... Regards, Vincent -- You received this message because you are subscribed to the Google Groups

Re: Script tag dynamic loading

2010-08-13 Thread Vincent COROLLEUR
I tried to load the script on a button event and it's the same... Really annoying -- 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...@googlegroups.com. To unsubscribe from this group, se

Re: Script tag dynamic loading

2010-08-13 Thread Vincent COROLLEUR
Hello, I still have the problem. I tried to load other scripts and it works. There is a mechanism from JS maps API that i may not understand or know. I should not be the only guy trying this... Regards, Vincent -- You received this message because you are subscribed to the Google Groups

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
to try out > RequireJS romhttp://requirejs.org/ > > reg, > > On 12 Aug., 11:38, Vincent COROLLEUR wrote: > > > I just tried this and it doesn't work, same problem. > > > I had already tried a similar thing but the JSNI was implemented in > > GWT code, same

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
t; > > and put invoker to your GWT class: > > public native void loadJS(String url)/*-{ >  $wnd.loadJS(url); > > }-*/; > > ensure you have the HEAD tag in your html, and give it a try > > it has to work... > > On 12 Aug., 11:01, Vincent COROLLEUR wrote:

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
But even if try to load only one map dynamically, it bugs. It works only by the static way for the moment (script tag in index.jsp) -- 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...@go

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
JS code on demand, I'd rather write this subroutine in > JSNI then callback the "GWT" part to pass control over, this way you > hide the "dirty" things from GWT - it will work for sure. So just > write your SCRIPTing tag JS loader but in JavaScript as native method.

Re: GWT and Map dynamic loading

2010-08-12 Thread Vincent COROLLEUR
Application bugs when the code is reached, i tried DefferedCommand and i even tried to launch it with a button... Debug mode won't give me any explaination. It's been three days i'm on it and i can't see any sunbeam :) -- You received this message because you are subscribed to the Google Groups

Re: GWT and Map dynamic loading

2010-08-11 Thread Vincent COROLLEUR
always the same error. Module is loading normaly and when the code is reached, it unloads the application. Regards, Vincent COROLLEUR -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send emai

GWT and Map dynamic loading

2010-08-11 Thread Vincent COROLLEUR
//mapstraction.googlecode.com/svn/trunk/source/ mxn.js?(google)"); Document.get().getElementsByTagName("head").getItem(0).appendChild(script2); This code makes my application unloading... (message : "Unloading module"). I don't understand the problem. Is there a way to realize

cross-domain with GWT (load JavaScript)

2010-08-10 Thread Vincent COROLLEUR
/javascript"); script1.setAttribute("src", crossdomainURL); RootPanel.getBodyElement().appendChild(script1); Any ideas ? Regards, Vincent COROLLEUR -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: Script tag dynamic loading

2010-08-10 Thread Vincent COROLLEUR
I think it doesnt work bacause of the cross-domain protection. Have you got any ideas ? Regards, Vincent -- 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...@googlegrou

Re: Script tag dynamic loading

2010-08-10 Thread Vincent COROLLEUR
ot;script"); script1.setAttribute("type", "text/javascript"); script1.setAttribute("src", URL); RootPanel.getBodyElement().appendChild(script1); Regards, Vincent -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit&

Re: Script tag dynamic loading

2010-08-09 Thread Vincent COROLLEUR
map, openLayers...), so i want to load only the script corresponding to the map API choosed. Regards, Vincent COROLLEUR -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to googl

Script tag dynamic loading

2010-08-09 Thread Vincent COROLLEUR
ds to an error when it's loaded ("Unloading module") : its unload my application module. I am still looking for a way to load dynamically google map. Regards, Vincent COROLLEUR -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit

Passing parameter via POST

2010-03-24 Thread Vincent
Hi: I am new to GWT so please excuse this stupid question. I have a GWT app that I can jump from page to page. On one page, I want to jump to another page with a set of parameters but I do not want to pass them via GET. I like to use POST. Is there a way to redirect a page in GWT with a set of

Re: SplitLayoutPanel

2010-02-08 Thread vincent yeung
On Jan 12, 11:33 pm, Stine wrote: > Hello :) > > I am having problems making my panels display the way they should - > they look almost empty!! :( > > For instance when I have this code... > > public final void onModuleLoad() { >         SplitLayoutPanel p = new SplitLayoutPanel(); >         p.a

Re: Syncronisation in GWT

2009-07-13 Thread Jason Vincent
You are modifying the set while you are iterating over it. This has nothing to do with multi-threading. Try something like... Set tasks = widgetTaskSet.getAllTasks(); for(WidgetTask task: tasks) { task.execute(); } tasks.clear(); There are plenty more options too. Just don't modify the colle

Re: Discussion on security-for-gwt-applications

2008-11-04 Thread Jason Vincent
Nah... I need sessions to expire like normal so that those resources can be released as users leave the site. On Tue, Nov 4, 2008 at 5:14 AM, ponthiaux eric <[EMAIL PROTECTED]>wrote: > Did you try to make cyclic call to the server to preserve the session ? > with a Gwt Timer for example . > > r

Re: Discussion on security-for-gwt-applications

2008-11-04 Thread Jason Vincent
I see your point. If the SID is invalid, either via a real attack or by session invalidation, the result is the same... "I don't know who you are so please re-authenticate yourself." My project is in its early stages, so for what I thought was an attack I was just throwing an exception to kick th