Re: Vaadin 7 Released

2013-02-07 Thread Joonas Lehtinen
Quite little this far. Vaadin 7 project took a lot longer to finish than we anticipated and thus we have been quite busy doing everything else than GWT. I hope we are able to start contributing more now. Probably the most visible contribution was the future of gwt market study. Next we'll be

How to make EditTextCell fit the whole width of cellWidth?

2013-02-07 Thread membersound
Hi, I have a CellTable and would like the entry fields to behave like a excel/spreadsheet table. I'm using EditTextCell columns. But when I click an entry, the TextInput has not the same alignment than the underlying label entry. I don't know why gwt does not provide this behaviour out of the

Re: GWT RPC future ?

2013-02-07 Thread stuckagain
Thomas and Paul, Thanks for all the info, I will certainly look into these alternatives. The only problem is that somehow GWT should include a fast generic RPC mechanism. I hate having to depend on 3rd party alternatives that are often writen by one individual to solve his own issue and

CellTable hovering style for single entry?

2013-02-07 Thread membersound
Hi, I know I can change the hovering style for a whole column in a CellTable using .cellTableHoveredRowCell. But how can I define hovering border only of the actual hovered entry of a column? Is that even possible? -- You received this message because you are subscribed to the Google Groups

Re: GWT RPC future ?

2013-02-07 Thread Ashton Thomas
I too am very interested in this. I absolutely do not want to jump over to RequestFactory. I love GWT-RPC and I use it in conjunction with the Command Pattern action/result wrapper. I haven't seen any problems with GWT-RPC in terms of performance as I don't currently have any high payloads

Re: GWT RPC future ?

2013-02-07 Thread RyanZA
There is always RestyGWT - http://restygwt.fusesource.org/ I've been using it recently and it works very nicely in combination with Jersey. I'm not sure on speed compared to GWT-RPC though, you'd need to test. I haven't had any speed problems so far though. RestyGWT will let you use raw json

Re: How to embrace asynchrony in GWT apps?

2013-02-07 Thread Ümit Seren
jQuery and other javascript frameworks use Promises/Futures ( http://en.wikipedia.org/wiki/Futures_and_promises) to make asynchronous calls more readable and workable. Unfortunately AFAIK there is nothing like that in GWT. The next best alternative is to use eventBus like RyanZA explained it.

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

2013-02-07 Thread Patrick Tucker
You realize you are telling it to open in a new, _blank, window? If you tell it to open in _self you won't see the extra window open. This brings on another issue though, if the browser decides the file can be opened internally, your user will end up losing their current state, assuming the

Re: How to embrace asynchrony in GWT apps?

2013-02-07 Thread Ryan Chazen
There is a project for using Futures in GWT - http://code.google.com/p/gwt-async-future/ However, an event bus is still a better pattern for this, as futures are just nicer syntax for single async tasks, and what is needed here is a method to de-couple the data calls so you don't need to be

Re: CellTable hovering style for single entry?

2013-02-07 Thread membersound
And further questions: .cellTableKeyboardSelectedCell { border: selectionBorderWidth solid black; } When I press ENTER and while changing the content, I want the border to be dashed: border: selectionBorderWidth dashed black; How could I implement this, as there is no property in CellTable

Non-trivial examples for UI Binder with pure HTML

2013-02-07 Thread Yan
Hi there, It has been said that using too many widgets leads to poor performance because of the overhead associated with it. But just about all the examples I have seen use widgets. There are Hello World examples using pure HTML, but it really does not get into the details with presenter,

How to change css style during runtime?

2013-02-07 Thread membersound
Hi, how can I change a specific css style property during runtime? I have a CellTable.Resource to define cellTable style MyCellTable.css. Now I want to change a specific css property during runtime. .cellTableKeyboardSelectedCell { border: } How can I access my css file during runtime and

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

2013-02-07 Thread Fabiano Tarlao
Hi, in fact I have not specied not used particular optimization arguments. I have not disabled CastChecking and ClassMetadata, and I have not explicitly set the optimization level (but the default is the maximum value). By using defaults my current configuration is: *GWT Compiler Arguments -

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

2013-02-07 Thread Paul Stockley
For sure we release production code with the following flags - disableCastCheckingtrue/disableCastChecking - disableClassMetadatatrue/disableClassMetadata Also you don't specify what version of IE you are testing with, I assume IE9 On Thursday, February 7, 2013 10:10:54 AM UTC-5,

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

2013-02-07 Thread Fabiano Tarlao
Ouput is OBFUSCATED ;-) Il giorno giovedì 7 febbraio 2013 16:10:54 UTC+1, Fabiano Tarlao ha scritto: Hi, in fact I have not specied not used particular optimization arguments. I have not disabled CastChecking and ClassMetadata, and I have not explicitly set the optimization level (but the

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

2013-02-07 Thread Fabiano Tarlao
Il giorno giovedì 7 febbraio 2013 16:14:32 UTC+1, Paul Stockley ha scritto: For sure we release production code with the following flags - disableCastCheckingtrue/disableCastChecking - disableClassMetadatatrue/disableClassMetadata Also you don't specify what version of IE you are

Re: How to make EditTextCell fit the whole width of cellWidth?

2013-02-07 Thread Andrei
Use CSS: .myCellTable input[type=text], .myCellTable select { width: 100%; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: How to override the Template interface in EditTextCell?

2013-02-07 Thread Andrei
Use CSS. On Wednesday, February 6, 2013 9:22:36 AM UTC-5, membersound wrote: Hi, I like the EditTextCell, but I want to override the template interface to give the text in the input field eg a different aligment. How can I override the interface Template when extending EditTextCell? If

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

2013-02-07 Thread Colin Alworth
JavaScript doesn't have a concept of type, so all type checks are really just function calls. Both instanceof and casts need to be generated to have JavaScript behave exactly like Java. Here's a quick demonstration: public class Test implements EntryPoint { public static class SomeObject {

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

2013-02-07 Thread Paul Stockley
One thing I will be interested to see is the effect of enableClosureCompiler=true. It does significantly reduce the JS file size in many cases. However, I have read people complaining that the resulting code was slower. On Thursday, February 7, 2013 10:53:21 AM UTC-5, Fabiano Tarlao wrote:

help with date parsing and time zones

2013-02-07 Thread rjcarr
I'm allowing the user to input a date and time and I'm using the pattern: DateTimeFormat format = DateTimeFormat.getFormat(-MM-dd HH:mm); However, the date is specified as UTC, so if a user were to put in: 2013-01-01 15:30 This will parse fine, but when printing out the parsed date

Re: GWT dev plugin for Chrome 21.0.1180.60 m not installing

2013-02-07 Thread Benjamin Possolo
First off, what a nightmare it is just to get the plugin working on chrome. the chrome store kept failing to install the plugin with a worthless error message. So i defaulted back to my old habit of opening the chrome extensions tab and then dragging the CRX file directly onto the browser. But

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

2013-02-07 Thread Colin Alworth
I can definitely confirm that with the closure compiler enabled the compiled size drops on the few apps I've tried it on, on the order of 5-15% (no hard and fast numbers yet, working on such a writeup now). I can confirm both a performance and size improvement with turning off cast checking, but I

Re: GWT RPC future ?

2013-02-07 Thread Rob
Hi, Another option is the Restlet edition for GWT: - https://github.com/restlet/restlet-framework-java/tree/master/modules also take a look at piriti (http://code.google.com/p/piriti/wiki/Comparison) Cheers Rob Kiahu.com -- You received this message because you are subscribed to the Google

Re: help with date parsing and time zones

2013-02-07 Thread rjcarr
OK, I got it working just as I wanted by appending the Z to both the pattern and the input date. So, doing this: DateTimeFormat format = DateTimeFormat.getFormat(-MM-dd HH:mm); And this: 2013-01-01 15:30Z Gets me this: Jan 1st 2013 7:30 GMT-8 Hope this helps someone else.

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

2013-02-07 Thread Fabiano Tarlao
I have released the code and executables, it's not fully documented at the moment, and I'll definitively tune things in the next days, what to say.. I have used two standard benchmark codes sieve and GNU fft (little modifications), and I have assured JIT to compile all the code thanks to

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

2013-02-07 Thread Fabiano Tarlao
Thanks Colin, I think that make sense removing cast checks and metadata in production, I have alway thought that getting cast errors in production is a good things, but it looks marginal. I think I'll add these optimizations in the next benchmarks. Regards Il giorno giovedì 7 febbraio 2013

Re: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4

2013-02-07 Thread Goktug Gokdogan
FYI, documentation is updated to emphasize that related code sample will not work with widgets. On Fri, Jan 11, 2013 at 2:44 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, January 10, 2013 2:47:30 PM UTC+1, Nils Schröder wrote: Just for your notice: I had exactly the same

Re: Trouble with UiBinder getting UiHandler events to fire under GWT 2.4

2013-02-07 Thread Jens
Am Freitag, 8. Februar 2013 00:38:37 UTC+1 schrieb Goktug Gokdogan: FYI, documentation is updated to emphasize that related code sample will not work with widgets. A bit more should be corrected. The simple Hello World class example is IMHO terrible for starters. public class HelloWorld

DataGrid vertical scrollbar overlaps the last column

2013-02-07 Thread kedar vyawahare
Hi all, I am facing a DataGrid horizontal/Vetricle Scrollbar overlaps the last row issue. While displaying the data grid, It overlaps the last row as well as column. Attached is the screen shot. This issue is not specific to IE8. You can reproduce it any browser. For vertical scroll bar, even