Re: Appstats RecordingFuture classcast exception

2013-02-03 Thread Niels
Hi, Thanks for your kind reply, however I did not work on the app engine since I posted this question (and I never use this e-mailaddress). I do not remember how we fixed this, I do not even remember the problem exactly. So I'm sorry I can't help you any further. Good luck!, Niels Baloe On Tue,

Re: GWT Benchmarks, Java Virtual Machine vs GWT+browser JsVM

2013-02-03 Thread RickL
Fabiano, Well done! Those are some interesting insights. Thanks. Rick On Saturday, February 2, 2013 6:50:40 PM UTC-6, Fabiano Tarlao wrote: Hi, I have wrote a simple benchmark suite in java and I have run with JavaSE 1.7.0 and, thanks to GWT, I have run the same code on

How to pass UiFields from one class to another using uibinder?

2013-02-03 Thread membersound
Hi, I have a main page layout defined with a DockLayoutPanel. Each north south center etc is split into single classes as the code gets very big. Now, I want to pass a label from north to the class Foo. 1. How can I pass this label best using uibinder? 2. Why does the following code not work

How to align components side by side?

2013-02-03 Thread membersound
Hi, how can I best align gwt components side by side? I want to create a header element, which has a centered Label, and some menu entries aligned to the right. Like: This is my Header!Save | Export | Cancel How can I achieve this? I read about creating a FlowPanel and

Re: load indicator when loading application

2013-02-03 Thread leforthomas
Thanks andrea for the pointers. I'll have a more detailed look to see if there is an easy to do this. I guess i would need some kind of server side action, eg pushing a message every % of the upload. I don't think i can check the dowloaded size, may be with some html5 feature like file api or

Re: load indicator when loading application

2013-02-03 Thread Jens
Maybe you can simply fake the download progress by calculating an average download time for a given client and store that average download time on the client in local storage / cookie. Create a timestamp as soon as the host HTML page loads and create a second timestamp in onModuleLoad(). The

Re: How to implement HasValue for ListBox?

2013-02-03 Thread BM
Not sure I am following wraps a ListBox rather than extends ListBox really means. Would appreciate if you can provide some explanation. But here is what I came up with. public class WatchedListBoxesWrap extends ListBox implements HasValueString { /** * Flag indicating if the

Re: How to download a file from server without browser opening new window?

2013-02-03 Thread membersound
Hm just another issue: I also want the servlet url to have some query parmeters like MyServlet?param=content. But the content is dynamic, especially not available on construction of the Anchor. How can I pass this content on click into the targetLink of the Anchor before it gets executed? The

Re: How to download a file from server without browser opening new window?

2013-02-03 Thread Abraham Lin
What you really want is #setHref: http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/Anchor.html#setHref(java.lang.String) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this

Re: How to implement HasValue for ListBox?

2013-02-03 Thread Thomas Broyer
On Sunday, February 3, 2013 9:25:12 PM UTC+1, BM wrote: Not sure I am following wraps a ListBox rather than extends ListBox really means. Would appreciate if you can provide some explanation. 1. Take your class 2. Remove extends ListBox 3. Adds 'private final ListBox listBox'

RequestFactory - EntityManager and Server Side Question

2013-02-03 Thread Manuel
Hi everyone, I just started with GWT and Im using RequestFactory and JPA (Hibernate). I got a View that provides a List of records and the possibility to update these records (create, update). When I implemented the update - Method, I recognized that I got to get the entity that I want to

Re: RequestFactory - EntityManager and Server Side Question

2013-02-03 Thread Jens
findEmployee() will be called before calling the instance method persist() so persist operates on a closed EntityManager I guess? In general you should use a single EntityManager instance for a single server request. Typically you could create a single EntityManager instance in a servlet