How to catch browser Refresh event

2012-01-10 Thread Armishev, Sergey
I have this code that suppose to logout user when he closes tab or browser. But event happened also when user presses Refresh button. How do I know that this is refresh and not really close event? Window.addWindowClosingHandler(new Window.ClosingHandler() {

RE: gwt gui with no servlet container

2012-01-05 Thread Armishev, Sergey
http://gwt.google.com/samples/Showcase/Showcase.html most of the GWT demos are pure client side : javascript+css -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of Sebastian Gurin Sent: Wednesday, January 04,

RE: GWT as reporting application

2011-12-16 Thread Armishev, Sergey
I tested highcharts static and dynamic performance. See discussion about this on highcharts chat board here http://highslide.com/forum/viewtopic.php?f=9t=12936 They had issues on Safari and IE in realtime mode when number of points more 4000. It was related to mouse tracking and tooltips.

RE: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Armishev, Sergey
I build my whole MDI Web app with http://code.google.com/p/gwtwindowmanager/ -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of Ed Sent: Tuesday, December 06, 2011 4:25 AM To: Google Web Toolkit Subject: Re:

RE: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Armishev, Sergey
To: Google Web Toolkit Subject: Re: Basic MDI (Multiple Document Interface) question Thank you both for the suggestion. I'm looking into it now. Sergey, are you still using the GwtWM project? Regards, zak. On Dec 6, 8:52 am, Armishev, Sergey sarmis...@idirect.net wrote: I build my whole MDI Web app

RE: Basic MDI (Multiple Document Interface) question

2011-12-06 Thread Armishev, Sergey
One more point to consider. This MDI solution is hard to use on mobile phones -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of Armishev, Sergey Sent: Tuesday, December 06, 2011 2:03 PM To: google-web-toolkit

RE: GWT Performance Issues

2011-12-06 Thread Armishev, Sergey
Publish your code. I suspect the problem might be there. Also Chrome in development mode might be slow (or very slow) compare to production where it usually the fastest browser -Sergey From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of CSchulz

RE: Best Visualization for GWT?

2011-11-22 Thread Armishev, Sergey
Just be aware that for real time visualizations you need some special Highcharts configurations. Otherwise it doesn't work on Safari and IE 6,7,8 See my discussions and demos on Highcharts http://highslide.com/forum/viewtopic.php?f=9t=12936 -Sergey From: google-web-toolkit@googlegroups.com

RE: Highcharts - updating chart with data

2011-11-07 Thread Armishev, Sergey
Use pure GWT charting http://code.google.com/p/clientsidegchart/ For the real Web apps it is an excellent library. It lacks some fancy stuff but works excellent with all other GWT including drag/drop packages so you can easily build dashboards. I did my own prototypes including real time

RE: Highcharts - updating chart with data

2011-11-07 Thread Armishev, Sergey
I think you have a problem to show both image and interactive chart to have the same LF. You should use the same charting library for that. Some people in the past used JFreeChart creating the same chart image on the server and then interactive one on the browser applet. Nowadays you can use

RE: future of gwt who use gwt

2011-11-02 Thread Armishev, Sergey
I think even Google underestimates the power of GWT in such area as refactoring existing MFC C++/Java-Swing GUI clients into Web based. I rewrote MFC C++ client into GWT in a month. And most of the heavy business logic/calculations been just copy/paste from original C++. Can't imagine amount of

howto make line symbols other then squares in GWT charts

2011-06-07 Thread Armishev, Sergey
Hi, In all GWT charts examples I see only square symbols on line graphs. Can I setup circle or triangle instead? -Sergey /PREBRspan style='font-size:8.0pt;font-family:Arial,sans-serif;color:#003366' _BR This electronic message and any

RE: GWT RPC - WebServiceClient

2011-04-22 Thread Armishev, Sergey
I did this GWT-RPC-WSDL integration and it works fine. Maybe not very much efficient but it works and I made quicly what I needed. I used wscompile to generate POJO java classes from WSDL. That are classes that Web server user for web services communication. They are server side classes. Then I

RE: Navigation between different html pages

2011-04-21 Thread Armishev, Sergey
String site = yourpage.html; if(!GWT.isProdMode()) site += ?gwt.codesvr=127.0.0.1:9997; Window.Location.replace(GWT.getHostPageBaseURL() + site); From:

RE: SSL troubles

2011-04-05 Thread Armishev, Sergey
In addition to certificate don't forget to configure your tomcat for ssl connection (https). -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of Patrick Sent: Monday, April 04, 2011 2:57 PM To: Google Web Toolkit

RE: How to add ClickHandler for Div Element?

2011-03-29 Thread Armishev, Sergey
Better to use widgets. I am using HTMLPanel to wrap my divs. My example has clickable image with text which is ready for internationalization. Actually 3 images where 2 are for some common background and the third gives item specific image. You also better make cursor to be a pointer when mouse

RE: Spring Security

2011-03-29 Thread Armishev, Sergey
Jeff Dwyer. Pro Web 2.0 Application Development with GWT. Great book. All code is ready. Just take it. It is much much more then just security in this book. I bought it for $10. Unfornunately it is about GWT 1.5 on the client side but still most of the ideas and code is pretty much usefull

move or not to move to Firefox 4 for GWT development

2011-03-23 Thread Armishev, Sergey
I want to upgrade my Firefox browser to version 4 on my development machine. Does GWT development plugin support it without known problems? -Sergey /PREBRspan style='font-size:8.0pt;font-family:Arial,sans-serif;color:#003366' _BR This

RE: howto check HTML5 audio tag supported in a browser

2011-03-04 Thread Armishev, Sergey
(no available media types)); } audioEl.setControls(true); audioEl.setLoop(false); audioEl.setVolume(1.0); RootPanel.get().add(audio); } else { RootPanel.get().add(new Label(audio not supported)); } [... snip ...] Philip On Mar 3, 2:53 pm, Armishev, Sergey sarmis...@idirect.net wrote

RE: howto check HTML5 audio tag supported in a browser

2011-03-04 Thread Armishev, Sergey
Of Armishev, Sergey Sent: Friday, March 04, 2011 1:36 PM To: google-web-toolkit@googlegroups.com Subject: RE: howto check HTML5 audio tag supported in a browser Thank you, Philip! That works. Took me time to find free mp3 to ogg converter and I found one from http://www.oggtomp3converter.com/ . It states

RE: howto check HTML5 audio tag supported in a browser

2011-03-03 Thread Armishev, Sergey
/ On Mar 3, 12:31 am, John LaBanca jlaba...@google.com wrote: GWT has an Audio widget for HTML5 audio support: com.google.gwt.media.client.Audio.isSupported() Thanks, John LaBanca jlaba...@google.com On Wed, Mar 2, 2011 at 6:29 PM, Armishev, Sergey sarmis...@idirect.netwrote:  I am new

howto check HTML5 audio tag supported in a browser

2011-03-02 Thread Armishev, Sergey
I am new to HTML5 and have this simple question: what is the best way to check that HTML5 audio tag is supported on the browser? In general I would like to be able to check for all/most of HTML5 tags. The only library I found is Modernizr from http://diveintohtml5.org/detect but it doesn't check

RE: $doc.body.createTextRange

2011-02-23 Thread Armishev, Sergey
From the top of my head (thanks to GWT , I don't need to remember all this anymore!) In IE document.body.createTextRange() On all other browsers document.selection.createRange() -Sergey -Original Message- From: google-web-toolkit@googlegroups.com

RE: GWT webapp into an IFRAME

2011-02-02 Thread Armishev, Sergey
I put my app into CGI based framework and my GWT based app was running inside iframe. The only difficulty was server side configuration and it depends how the your portal organized -Sergey From: google-web-toolkit@googlegroups.com [mailto:google-web-toolkit@googlegroups.com] On Behalf Of

how to implement branding in GWT

2011-01-28 Thread Armishev, Sergey
I need to implement branding in my Web application and I asking community to share their experience how it was implemented. In branding I need to show some custom image (logo image), change references in links (contacts, help), some labels text. -Sergey /PREBRspan

gwtp puzzlebazar problems

2011-01-20 Thread Armishev, Sergey
Just started to evaluate GWTP library to be used in our project but have problems to run successfully PuzzleBazar app and need some help. I checked out both projects gwtp-platform and PuzzleBazar as recommended in and configured my Eclipse project according to

GWT 2.1 showcase padding question

2010-10-12 Thread Armishev, Sergey
When I look at this demo and new Cell widgets the first impression is that those widgets wasting a lot of space. Visually the interface absolutely not attractive. Maybe it is just my problem J ? I think even for the demo it is unacceptable. The distance between table rows or tree nodes is huge.

RE: Recommendations for improving performance of a mobile application

2010-10-11 Thread Armishev, Sergey
Regarding slow RPC calls. Just try to send incremental data changes, only the data that been changed/added/deleted and cache main data on client. You might have thousands of items but only few of them or nothing been changed between RPC calls. I usually send full update when number of changes

RE: Recommendations for improving performance of a mobile application

2010-10-11 Thread Armishev, Sergey
developing for mobile? On 11 Okt., 22:01, Armishev, Sergey sarmis...@idirect.net wrote: Regarding slow RPC calls. Just try to send incremental data changes, only the data that been changed/added/deleted and cache main data on client. You might have thousands of items but only few of them

RE: GWT portlets application

2010-10-07 Thread Armishev, Sergey
If you want multi window interface with ability to drag/drop/minimize/maximize take a look at GWT window manager. I used it in my web application and my customers are very happy http://www.gwtwindowmanager.org/ Here is a demo URL http://www.gwtwindowmanager.org/demo/GwmDemo.html -Sergey

RE: Help: Development of large App with GWT

2010-10-06 Thread Armishev, Sergey
From my experience compare javascript and GWT 1.Development. Extremely fast. One language (if you use Java on server side). Huge amount of open sourced libraries and extensions 2.GWT. Easy to support and test. More Java developers available for Java then javascript 3.Porting from legacy apps. Try

RE: Translating already compiled Java?

2010-09-09 Thread Armishev, Sergey
You can automatically generate POJO classes from the same WSDL. Why are you doing this manually? In my GWT app I used SUN jax rpc for that http://java.sun.com/webservices/jaxrpc/overview.html Let me know if you need more info -Sergey -Original Message- From:

RE: WSDL

2010-08-12 Thread Armishev, Sergey
When you have pretty big WSDL file the problem is how automatically generate not only server side stubs but GWT RPC calls and data structures that GWT client can use. You don't want to program all those API manually. I used SUN jax rpc for that