Re: can I use Class.forName and newInstance in GWT ?

2010-12-30 Thread Danny Goovaerts
No, you cannot. Dynamically instantiating classes would invalidate some of the goals of the GWT compiler. The GWT compiler builds a javascript application that only contains code for the actual call graph of your application. If you would be able to instantiante classes from arbitray Strings, it

Is GWT application gallery still maintained?

2010-08-04 Thread Danny Goovaerts
I've uploaded my application on http://gwtgallery.appspot.com/ more than a week ago and it still does not have appeared in the gallery. The most addition dates from June 7. Is this gallery still maintained? Thanks, Danny www.cellamea.eu -- You received this message because you are subscribed to

Re: Ecryption best practices (server side, client side, password handling)?

2010-08-02 Thread Danny Goovaerts
Stefan has allready made some very good comments so I'm not going to repeat them. Some more additional thoughts. Regarding encrypting the data in the database. If a user does not trust you (yourself and any of the people that have access to your server) to look at his data in the database, why

Re: XML Validation directly

2010-07-29 Thread Danny Goovaerts
I use saxon from Michael Kay (www.saxonica.com) for programmatic XML validation. It's very good, but it does not proivided much more detailed error messages. You mention that you need this during development time. Do you want to validate XML files that you construct by hand before using them in

Re: Do we have any Library for OpenID autentication(Authentication using Google accounts/Face book etc.)

2010-07-29 Thread Danny Goovaerts
I've implemented support for openID with special case for Google and Yahoo mail (www.cellamea.eu). I've written a servlet that uses openid4java to interact with the openid providers. I can make the code available. On this moment, it's not packaged in an isolated way, so it's not usable out of the

GWT service to manage your wine cellar on line

2010-07-26 Thread Danny Goovaerts
to build this! Have fun! Danny Goovaerts www.cellamea.eu www.oobikwe.eu -- 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, send email

Re: Mixed content warning on Chrome (skull and bones)

2010-07-15 Thread Danny Goovaerts
an unencrypted connection and they should be notified because it is fairly serious. On Jul 14, 1:51 pm, Danny Goovaerts danny.goovae...@gmail.com wrote: I'm not worried about the overhead for the encryption. I want to load the js over http because browsers do not cache content  that is loaded

Mixed content warning on Chrome (skull and bones)

2010-07-14 Thread Danny Goovaerts
I've deployed my GWT application over https. To allow caching of the javascript files, I load the bootstrap script over http : script language=javascript src=http://www.cellamea.eu/cellamea/ cellamea.nocache.js/script As expected, this gives amixed content warning on Internet Explorer. On

Re: Mixed content warning on Chrome (skull and bones)

2010-07-14 Thread Danny Goovaerts
are sending doesn't contain any sensitive data, therefore this is a desired behavior as usually there is not real reason not to make a request once an SSL session has been established because at that point a symmetric block cipher is used which has very little overhead. On Jul 14, 10:17 am, Danny

Re: the button and its infoLabel problem...

2010-07-13 Thread Danny Goovaerts
I think that you need a deferred command to handle this. Limit your clickhandler to set the infoLabel to Beginning and then launch a deferred command who's execute method performs the search and then updates the label. In this way, the execution thread will finnish, causing the screen to be

Re: GWT and CSS

2010-06-16 Thread Danny Goovaerts
Magnus, standard.css is added after your style sheets are loaded. Unless your style definitions are more selective that the definitions in standard.css, the definitions in standard.css take precedence. There are to possible solutions - make your selectors more precise(googleon css priority for

Re: ClickHandler not called on second click

2010-06-03 Thread Danny Goovaerts
I have filed an issue 4993 for this in the issue tracker. On Jun 2, 9:37 pm, Danny Goovaerts danny.goovae...@gmail.com wrote: I managed to isolate the code in a few classes which reproduce the problem. Can I upload a zipfile (15k) somewhere? On Jun 2, 5:27 pm, Olivier Monaco olivier.mon

Re: ClickHandler not called on second click

2010-06-03 Thread Danny Goovaerts
if it already is enabled. For reference : see issues http://code.google.com/p/google-web-toolkit/issues/detail?id=2885q=button%20click%20twice and http://code.google.com/p/google-web-toolkit/issues/detail?id=4992q=clickhandler%20pushbutton On Jun 3, 8:52 am, Danny Goovaerts danny.goovae...@gmail.com

Re: ClickHandler not called on second click

2010-06-02 Thread Danny Goovaerts
the real root cause. Danny On Jun 1, 6:21 pm, Danny Goovaerts danny.goovae...@gmail.com wrote: My application is quite large. The button is several levels deep, i.e. in a FlowPanel which itself is in a HorizontalPaneI in a hierachy of divs. I will try to isolate while still reproducing

Re: ClickHandler not called on second click

2010-06-02 Thread Danny Goovaerts
you use the PushButton? What is the exact structure of panels? You need to build a test case to us help you. Olivier On 2 juin, 08:02, Danny Goovaerts danny.goovae...@gmail.com wrote: I have not yet been able to isolate the code while reproducing the problem. It's probably related

Re: Getting the default DateBox() picker to advance year at a time

2010-06-02 Thread Danny Goovaerts
It's not necessary to write a custom DatePicker. It suffices to create a DatePicker with a custom MonthSelector. Here is my implementation // package eu.oobikwe.gwt.ui; import com.google.gwt.user.datepicker.client.CalendarModel; import com.google.gwt.user.datepicker.client.DatePicker; import

ClickHandler not called on second click

2010-06-01 Thread Danny Goovaerts
I have a button with a ClickHandler. When I move the mouse over the button and click the button, the ClickHandler is called. When I do no move the mouse away from the button, the ClickHandler is not called on any subsequent clicks. I have to move the mouse away from the button and back. Then the

Re: ClickHandler not called on second click

2010-06-01 Thread Danny Goovaerts
)             {                 RootPanel.get().add(new Label(clicked));             }         });         RootPanel.get().add(b);     } What's your test case? Olivier On 1 juin, 08:07, Danny Goovaerts danny.goovae...@gmail.com wrote: I have a button with a ClickHandler. When I

Re: Facing problem tackling browser refresh

2010-04-20 Thread Danny Goovaerts
I faced exactly the same problem (see http://groups.google.com/group/google-web-toolkit/browse_thread/thread/36979a4e8e51fdc5# ) I concluded that in case of a refresh, the async call is cancelled in the browser before it has concluded. I solved the problem by waiting until the onSuccess() of the

Re: Async RPC during CloseHandler.onClose() cancelled?

2010-04-17 Thread Danny Goovaerts
Moving the reload to the onSuccess is a good suggestion. Thanks! On 16 apr, 18:12, Thomas Broyer t.bro...@gmail.com wrote: On Apr 16, 5:44 pm, Danny Goovaerts danny.goovae...@gmail.com wrote: In the application that I'm building  I've implemented a CloseHandler.onClose() which saves

Async RPC during CloseHandler.onClose()

2010-04-16 Thread Danny Goovaerts
I've implemented a CloseHandler to makes an async call to the server to store the loc -- 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,

Re: Unable to migrate GWT application to version 2.03 due to problem with internationalization

2010-03-19 Thread Danny Goovaerts
es_GTC is normally not a valid locale. The country part of a locale is the two character ISO country code. GTC is not a valid country code. A reason might be that GWT 1.5 was not strict about the country code format, and that 2.0 is much stricter. Danny On 19 mrt, 14:28, craige

Re: How do I use my own server in hosted mode instead of GWT's built-in Jetty instance?

2009-12-10 Thread Danny Goovaerts
When you run OOPHM without the built in Jetty, your RPC calls will go to your instance of Tomcat (or to be more precise, to the server that is listening on the port that you specify in the URL : http://localhost:port/cellamea.html? gwt.codesvr=192.168.1.102:9997, The URL proposed in the

ReplacementString support for MultiWordSuggestOracle for 1.6

2009-03-22 Thread Danny Goovaerts
I want to usereplacementString with Issue 2695 --~--~-~--~~~---~--~~ 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

Re: ReplacementString support for MultiWordSuggestOracle for 1.6

2009-03-22 Thread Danny Goovaerts
? Thanks (not just for answers to this post but for the tremendous tool that GWT is) Danny On 22 mrt, 20:56, Danny Goovaerts danny.goovae...@gmail.com wrote: I  want to usereplacementString with  Issue 2695 --~--~-~--~~~---~--~~ You received this message because you

Re: Script error in IE 7 in web mode

2009-02-06 Thread Danny Goovaerts
, Danny Goovaerts danny.goovae...@gmail.comwrote: I have a GWT application that runs OK in hosted mode. When I compile it, it gives a script error on Internet Explorer 7. The compile version runs correctly in Firfox, Chrome and Safari. I've turned on script debugging in IE7 and it gives me

Script error in IE 7 in web mode

2009-02-05 Thread Danny Goovaerts
I have a GWT application that runs OK in hosted mode. When I compile it, it gives a script error on Internet Explorer 7. The compile version runs correctly in Firfox, Chrome and Safari. I've turned on script debugging in IE7 and it gives me the following message (translated from Dutch)

Toggle visibility of a PushButton

2009-01-30 Thread Danny Goovaerts
I have the follwing problem with PushButton. I hide it using setVisible(false). I then want to show it again using setVisible(true). But it is not shown. When I replace the PushButton by a regular Button it works as expected. Does anyone know the cause of this behavior and how to remedy it?

Re: Error executing RPC call after updating to GWT 1.5.3

2008-12-09 Thread Danny Goovaerts
I've experienced the same problem. Be sure to use the 1.5.3 version of the gwt-servlet.jar in your Tomcat deployment. This fixed the problem for me. Danny a_martinez schreef: Hi, I developed an application with several services. After updating from GWT 1.5.2 to 1.5.3 the RPC calls to the

Re: After leaving TextBox to a Button it takes second click to get ClickListener to work

2008-12-08 Thread Danny Goovaerts
I have a similar problem. I hve a FlexTable with a ClickListener. The FlexTable is down inside a set of nested Widgets (DeckPanel/Composite/ DeckPanel/AbsolutePanel/FlexTable). Sometimes, the ClickListener is called simply when I click a row in the table. In other situations, I need to click the

Problem with ListBox in Internet Explorer 7

2008-12-03 Thread Danny Goovaerts
I have a ListBox which is on a tab in a TabPanel. The ListBox only shows one item, so it is actually a drop down. I have unexpected behaviour when disabling and enabling the ListBox. This is the scenario - The tab with the ListBox is not shown. - The value of the ListBox is updated as the result