Re: How to build text trimming cell for GWT DataGrid

2012-05-01 Thread Andrei
@Jens, Just to expand on Jen's answer. For this solution to work, you need to apply it to a div inside a cell: .myDataGrid td div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } Apply CSS to your cell: white-space: nowrap; overflow:hidden; text-overflow:

Re: Abridged summary of google-web-toolkit@googlegroups.com - 44 Messages in 20 Topics

2012-05-01 Thread Sangameswaran Subbiramaniam
-- 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 this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options,

Re: GWT applications session management

2012-05-01 Thread Adio
From what i understand he means something like this public class CustomerServiceImpl extends RemoteServiceServlet implements CustomerService { public void authorize(String username, String password) { // check the username and password // if everything is OK ...

EventBus mechanism

2012-05-01 Thread Adio
Hi everyone, now that i am working with GWT i am facing a problem with the event handling mechanism the first problem was ( http://groups.google.com/group/google-web-toolkit/browse_thread/thread/17b679b499311756/8f06531e30bf0996#8f06531e30bf0996 ), but when i read this article MVP II (

Re: GWT Serialization error with HTML String content

2012-05-01 Thread Joseph Lust
Dave, I know this is not exactly the answer you're looking for, but why are you trying to serialize and send HTML over the wire like that? Why not use a Uibinder to build that HTML and just send the dynamic part over the wire, which is Apr 30 2012 15:11:33? This is how such work is typically

Re: How to unit test GWT serialization?

2012-05-01 Thread Joseph Lust
dhoffer, You can just test the Async callback as a whole. That should hit the serialization/deserialization calls. See the Google documentation of this process: https://developers.google.com/web-toolkit/doc/latest/DevGuideTesting#DevGuideAsynchronousTesting Sincerely, Joseph -- You

Exception in Debug but not in Run mode

2012-05-01 Thread mukarev
Hi folks, currently I'm implementing a client for jWebsocket. I got a strange error. If I try my implementation in debug mode, I get an JavaScriptException because of a null value. If I run it in run mode there's no problem - everything's working fine. Exception like this:

Re: IE8 is showing script is unresponsive, any known fixes that can be easily applied

2012-05-01 Thread skippy
IE 8 has some known performance problems. We did a lot to optimize for it. Large flextables have the biggest impact. try to switch to a grid object. If you search this site you will find post with several other tips. Like don't attached the flextable to the root object until its done loading.

Injecting dependencies with GIN/Guice

2012-05-01 Thread Xybrek
I typically have this kind of code pattern in my GWT project: Menu errorMenu = new Menu(user, userController, -1); Menu searchMenu = new Menu(user, userController, 0); errorView.setMenu(errorMenu); searchView.setMenu(searchMenu); How do I inject a Menu instance in the ErrorView and other views

Re: Eclipse compile not generating i18n properties file

2012-05-01 Thread dparish
Has anyone solved this? It's not working for me either. Here's my class: package dparish.client.view.impl; import com.google.gwt.i18n.client.Messages; import com.google.gwt.i18n.client.LocalizableResource.Generate; import com.google.gwt.i18n.client.LocalizableResource.GenerateKeys;

Re: Eclipse compile not generating i18n properties file

2012-05-01 Thread dparish
I should note that I am using the -extra compiler flag and it IS generating the property files for UiBinder messages. I also tried changing the classname for the format to: format=com.google.gwt.i18n.rebind.format.PropertiesFormat but that did not help. Interestingly changing it to:

Re: Eclipse compile not generating i18n properties file

2012-05-01 Thread dparish
I figured it out. I had created the messages file but hadn't started using it in the app at all. The compiler must not scan for all interfaces with that annotation, but instead for all classes IN USE by the app with those annotations. -- You received this message because you are subscribed

Re: EventBus mechanism

2012-05-01 Thread Jambi
Seems that the onAddButtonClicked and onItemClicked methods perform some actions that involve other Presenters/Views that listen to those kinds of events. deleteSelectedContacts is just performing local changes that don´t affect other views. If there would be a different view that is showing a

Básic Slider with native code GWT, create for me

2012-05-01 Thread Jonathan Franchesco Torres Bca
http://rajonjava.blogspot.com/2012/05/slider-basico-en-gwt.html -- 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 this group, send email to

Re: Server detection of client crash

2012-05-01 Thread mmorckos
Thanks for the prompt reply. I've been experimenting with gwt for a little while and due to time constrains I'd rather not try other tools, but thanks for the suggestion. I have another question (excuse my little experience with web application), I'd like to know how the a Servlet on the

Re: NullPointerException on stockwatcher tutorial

2012-05-01 Thread Julio
Hi, works for me. i insert the DIV tag into the html. Thanks. -- 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 this group, send email to

Re: GWT Mobile App Widgets

2012-05-01 Thread AgitoM
Thanks for all the replies so far. The gwt-mobile-ui library I used, was part of the GWTMobile project. It has the problem I described. Since my project is going to be deployed in a very large group of users, who all have different phones and browsers installed on it, I need to make my