Re: how to create PushButton using UiBinder

2014-08-20 Thread Nguyen Thi Le
you can use this code ui:image field=viewimage src=task/images/image.png / g:PushButton g:upFace image={viewimage} / /g:PushButton On Wednesday, October 6, 2010 7:54:29 AM UTC+7, mars wrote: hi, I tried to create a PushButton(with an image) in UiBinder but could not get it work, here is

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

2014-08-20 Thread Sumit Mane
Thanks buddy, going to use this into my app. Just little contribution: String formattedMonth = getModel().formatCurrentMonth(); change to: String formattedMonth = getModel().formatCurrentMonthAndYear(); -- You received this message because you are subscribed to the Google Groups Google Web

Re: Generation of permutations

2014-08-20 Thread Developer
bump -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to

Re: Cross field validation on client

2014-08-20 Thread Zied Hamdi OneView
Hi, I was looking at the link http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html#validation , and it's not clear when the validation is executed. it seams it is executed each time data is sent to the server!!???. If it's the case, this could be a performance problem since we

Re: Cross field validation on client

2014-08-20 Thread Thomas Broyer
On Wednesday, August 20, 2014 2:09:17 PM UTC+2, Zied Hamdi OneView wrote: Hi, I was looking at the link http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html#validation , and it's not clear when the validation is executed. it seams it is executed each time data is sent to

Re: Generation of permutations

2014-08-20 Thread Thomas Broyer
I think the best practice is to decide which locale is your primary locale and: - define it as the fallback locale, and - use non-suffixed properties file for that locale and accept that a permutation for the default locale might be generated (should be the case as soon as you use

Re: GWT and BV/javax.validation 1.1

2014-08-20 Thread Ted Gulesserian
I had to upgrade to JPA 2.1 today to be able to use this feature: http://dreamand.me/java/java-jee7-jpa-stored-procedure-example/ It also required upgrading Hibernate. In the process I ran into the same issue that Jörg ran into. My solution was to hold back hibernate-validator to 4.2.0 as my

Re: CellTable with optimal page size

2014-08-20 Thread Thomas Lefort
I had the same request and went for the easy quick and dirty trick, ie override the onresize method. @Override public void onResize() { super.onResize(); if(dataProvider.getList ().isEmpty() || !dataGrid.isVisible() || (dataGrid.getVisibleItems().size() == 0)) { return; } try { int pageStart =

JsInterop advance?

2014-08-20 Thread Cristian Rinaldi
Community: I'm playing with JsInterop , and I have two questions: 1) Are you planning to try the static methods of JS objects, such as Object, Promise, etc.? 2) How do when an instance is mapped to an existing Object, eg Promise, has a constructor with parameters?

Re: GWT and BV/javax.validation 1.1

2014-08-20 Thread Thomas Broyer
On Wednesday, August 20, 2014 2:32:54 PM UTC+2, Ted Gulesserian wrote: I had to upgrade to JPA 2.1 today to be able to use this feature: http://dreamand.me/java/java-jee7-jpa-stored-procedure-example/ It also required upgrading Hibernate. In the process I ran into the same issue that

Re: JsInterop advance?

2014-08-20 Thread Jens
Interesting. I also have a promise library that maps to ES6 native promises but I am still using normal JSNI to do so. Would be nice to see how this could work with JsInterop. Is there any documentation about JsInterop yet or do you just try around by looking at GWT tests? -- J. -- You

i have problem changing this to native javascript. please help me

2014-08-20 Thread anuj joshi
private native void createChart() /*-{ $(function () { $wnd.$(document).ready(function () { $wnd.Highcharts.setOptions({ global: { useUTC: false } }); $wnd.$('#container').highcharts({

Re: JsInterop advance?

2014-08-20 Thread Cristian Rinaldi
Hello Jens: I have just searched in GWT test and code, and talks of +Goktug Gokdogan in GWT.create event. El miércoles, 20 de agosto de 2014 11:52:52 UTC-3, Jens escribió: Interesting. I also have a promise library that maps to ES6 native promises but I am still using normal JSNI to do so.

Re: render a SVG graphic as bitmap?

2014-08-20 Thread Joseph Lust
Also wrote a bunch of map animations in SVG back in 2011. Used SMIL to markup the animations and movements of viewports. Worked out quite well in FF at the time, but IE was terrible. Chrome worked well, but there were a number of SMIL methods that Chrome either didn't implement or did so

Re: render a SVG graphic as bitmap?

2014-08-20 Thread Cristiano Costantini
Hi, You can use Apache Batik library and write a servlet that renders raster images from SVG files and serves them over http. Apache Batik is not uptaded since long time, but we use it successfully by some years to renders maps stored on the server in SVG format. Regards, Cristiano Il

Re: render a SVG graphic as bitmap?

2014-08-20 Thread Cristiano Costantini
Sorry for the double message, I had problems with the mail app and it has delivered it now! Il mercoledì 20 agosto 2014, Cristiano Costantini cristiano.costant...@gmail.com ha scritto: Hi, You can use Apache Batik library and write a servlet that renders raster images from SVG files and

[gwt-contrib] JsInterop Advance

2014-08-20 Thread Cristian Rinaldi
Community: I'm playing with JsInterop , and I have two questions: 1) Are you planning to try the static methods of JS objects, such as Object, Promise, etc.? 2) How do when an instance is mapped to an existing Object, eg Promise, has a constructor with parameters?

Re: [gwt-contrib] JsInterop Advance

2014-08-20 Thread 'Goktug Gokdogan' via GWT Contributors
On Wed, Aug 20, 2014 at 6:17 AM, Cristian Rinaldi csrina...@gmail.com wrote: Community: I'm playing with JsInterop , and I have two questions: 1) Are you planning to try the static methods of JS objects, such as Object, Promise, etc.? There will be some static helpers provided

Re: [gwt-contrib] JsInterop Advance

2014-08-20 Thread 'Ray Cromwell' via GWT Contributors
Static methods on interfaces is a Java8 only feature, but I prefer it. Since you can use Java8 with GWT even if you are running Java7 or below as a JVM, and since these features are not for shared code, but for Web code, I'm kinda leaning towards the idea of JSNI 2.0 requiring Java8. We should

Re: [gwt-contrib] JsInterop Advance

2014-08-20 Thread 'Goktug Gokdogan' via GWT Contributors
It is not like a library forces Java8; as we are supplying our own java8 compatible compiler, I think we are flexible to force Java8. If there is shared code and they want to keep java7 compatibility, then they should avoid using java8 specific features. On Wed, Aug 20, 2014 at 1:21 PM, 'Ray

Re: [gwt-contrib] JsInterop Advance

2014-08-20 Thread Jens
Are we ballsy enough to say GWT 3.0 = Java8 source level enforced for client side code? I hope so. I am pretty sure everyone who has given Java8 a try so far, even if it was just an example project, feels the pain when coming back to a GWT project. If Java8 gives more freedom and a