Re: Custom Events and Elements with Elemental 2

2017-10-12 Thread harshyadav
You can try the GWT polymer (web components) wrapper: https://github.com/manolo/gwt-polymer-elements Wither you can use built-in polymer components; or create your own (just look at the source code) Also take a look at: https://github.com/manolo/gwt-api-generator which auto generates GWT api

Re: I want Datetimepicker in cell table how can i do that

2017-07-23 Thread harshyadav
Hi, Please take a look at the GWT Showcase for an example usage: http://samples.gwtproject.org/samples/Showcase/Showcase.html#!CwCellSampler --Harsh On Sunday, July 23, 2017 at 3:17:26 AM UTC-4, Sachin Chaudhari wrote: > > Date time picker is already there but how can i want DateTimePicker >

Re: Code references between client/server/shared folders

2017-05-30 Thread harshyadav
I usually only call the shared code form the client (and not the other way round). You can have separate TimeFormatter: one for client --> com.google.gwt.i18n.client.* and one for server or shared (if its used by other server side modules as well) --> java.time.* java.util.Date If your

Re: CAn I easily integrate Angular JS with GWT and will it work flawlessly and efficiently.

2017-04-27 Thread harshyadav
Yes, you can (for Angular 2): https://github.com/ltearno/angular2-gwt http://lteconsulting.fr/angular2boot/ You can make GWT work with any javascript framework (not just angular). On Thursday, April 27, 2017 at 7:39:55 AM UTC-4, Sachin Chaudhari wrote: > > CAn I easily integrate Angular JS with

Re: Urgent

2017-04-26 Thread harshyadav
GWT Polymer is great as well. https://github.com/manolo/gwt-polymer-elements On Wednesday, April 26, 2017 at 4:14:50 AM UTC-4, Sachin Chaudhari wrote: > > This is somthing simmilar in questions you may come accross. > If I am not choosing Angular JS I am choosing GWT then for cool widgets >

Re: GWT Editor with Custom Composites

2017-04-25 Thread harshyadav
Yes, that makes sense. Will make the change. Thanks! On Tuesday, April 25, 2017 at 2:22:37 AM UTC-4, Thomas Broyer wrote: > > Your getValue will break if value is null (because the instanceof will all > be false). You should probably use an explicit typing to drive conversions. > Maybe just

Re: GWT Editor with Custom Composites

2017-04-24 Thread harshyadav
the editor implementation doesn't flush correctly. A mvn clean/sdm cache clean resolves this issue. Thanks, Harsh On Friday, April 21, 2017 at 5:41:38 AM UTC-4, Thomas Broyer wrote: > > > > On Wednesday, April 19, 2017 at 8:19:52 PM UTC+2, harshyadav wrote: >> >> Hi, >&

Re: GWT Polymer

2017-04-21 Thread harshyadav
Thanks a lot Manuel. We use gwt polymer elements heavily and look forward for its future development. I would be happy to contribute in the best of my abilities: mainly testing and reporting. Regards, Harsh Yadav On Friday, April 21, 2017 at 3:10:06 PM UTC-4, Manuel Carrasco wrote: > > Hi

Re: GWT Editor with Custom Composites

2017-04-20 Thread harshyadav
> > On Wednesday, April 19, 2017 at 12:19:52 PM UTC-6, harshyadav wrote: >> >> Hi, >> >> I am trying to use the GWT editor framework to support data binding in my >> application. While implementing it I ran into a few issues and have a >> couple of ques

GWT Editor with Custom Composites

2017-04-19 Thread harshyadav
Hi, I am trying to use the GWT editor framework to support data binding in my application. While implementing it I ran into a few issues and have a couple of questions regarding the same: 1) Some of these components don't use com.google.gwt.user.* rather they use

Re: Errai + MVP

2017-03-15 Thread harshyadav
> I like the templating and model binding parts of errai but I would like to > combine it with my existing GWTP presenters somehow. > I don't want to use the entire errai framework with Wildfly and their > custom injection framework. > > > On Wednesday, December 28, 2016 at 4:28

Re: mobile device detect and back button detect

2017-01-20 Thread harshyadav
To detect browsers/devices, the below works: private static boolean IS_ANDROID; private static boolean IS_IOS; private static boolean IS_HANDHELD; private static boolean IS_FIREFOX; private static String VIDEO_EXTENSION = "_me.mp4"; private static String DEFAULT_IMAGE_DIRECTORY = ""; static {

Re: Using css autoprefixer with GWT

2017-01-19 Thread harshyadav
Thanks, that makes sense. On Thursday, January 19, 2017 at 1:21:43 AM UTC-8, Jens wrote: > > > However, could you give and example of how calling autoprefixer >> programmatically inside resource generator would look like? >> > > No, I have no idea about the autoprefixer API. In terms of GWT you

Re: Using css autoprefixer with GWT

2017-01-18 Thread harshyadav
Thanks Jens, I'll give file watcher a try. However, could you give and example of how calling autoprefixer programmatically inside resource generator would look like? Thanks! On Wednesday, January 18, 2017 at 12:32:27 PM UTC-8, Jens wrote: > > I use GSS mixins. Works ok for me, usually you

Re: Using css autoprefixer with GWT

2017-01-18 Thread harshyadav
Anyone using css autoprefixer? On Monday, January 9, 2017 at 6:02:07 PM UTC-8, harshyadav wrote: > > Hi, > > We are trying to use autoprefixer in our GWT application for vendor > specific rules especially for flexbox support: > https://github.com/postcss/autoprefi

Using css autoprefixer with GWT

2017-01-09 Thread harshyadav
Hi, We are trying to use autoprefixer in our GWT application for vendor specific rules especially for flexbox support: https://github.com/postcss/autoprefixer We can run this independently and update each stylesheet manually, however its not ideal solution and time consuming/error-prone. Does

Errai + MVP

2016-12-27 Thread harshyadav
Hi, I am working on migrating parts of an existing GWTP app to Errai. While the UI part of Errai looks pretty impressive (html templating), I want to keep the MVP aspects of the app for better modularity. Does anyone has experience implementing MVP with Errai. I know I can go the vanilla GWT

Re: How to make sure object is set before initWidget()

2016-12-12 Thread harshyadav
Have the parts that create the widget and populate the widgets separate. A better approach would be, as recommended by GWT to use MVP design pattern. 1) You create your view/composite/widget (View.java) 2) You call your RPC in a presenter (Presenter.java) 3) Your presenter than transfer the

Re: How to make sure object is set before initWidget()

2016-12-12 Thread harshyadav
Ok, if your class is extending a composite, then just make sure, the createMenu only initialize the ui elements. After you have called the RPC, you then set the ui elements. for e.g. private void setMenu(UserInfo userInfo) { label.setName(userInfo.getName()); } On Monday, December 12,

Re: How to make sure object is set before initWidget()

2016-12-12 Thread harshyadav
Call Widget mainMenu = createMenu(); initWidget(mainMenu); from the onSuccess() method of the RPC after you have set the userInfo object. Something like: rpcService.getUserInfo(username, new AsyncCallback() { @Override public void onSuccess(UserInfo result) {

Re: Got UmbrellaException when trying to show loading screen on async login processing using MaterialLoading

2016-12-09 Thread harshyadav
Check your server logs and put breakpoint there to see if it is reaching server, maybe your RPC is failing on the server. Also take a look at the browser console, there might be a NPE before even calling the RPC. Also, giving a look at your code, instead of manually showing and closing the

Re: Payment gateway for an existing GWT application

2016-11-17 Thread harshyadav
+1 for the Arcbees wrapper (not maintained anymore, but works fine straight-forward credit/ACH payments with current Stripe.js) Other than that, you could: 1) You could just use JSNI. All the Payment APIs have minimal javascript client code (unless you using node.js). 2) JSNI would be the

Re: GWT UI Library: which one?

2016-11-11 Thread harshyadav
You can try Vaadin GWT Polymer Elements (GWT Wrapper for Google Polymer elements). https://github.com/vaadin/gwt-polymer-elements Here is the showcase: http://vaadin.github.io/gwt-polymer-elements/demo/#paper/ItemSample And here is the Polymer web component project:

Re: JsonpRequestBuilder - Timeout while calling

2016-11-08 Thread harshyadav
Haven't used RestyGWT, but after reading thru different available options, I recently switched to Errai JAX-RS, the setup is pretty straight forward and it provides out of the box jackson serialization/de-serialization and cross-domain access. On Tuesday, November 8, 2016 at 4:10:26 PM UTC-5,

Re: Chrome says I need to download the developer plugin, but it won't let me.

2016-10-05 Thread harshyadav
The Developer plugin won't work in the recent versions of Chrome. (Dev mode is deprecated by most recent browsers). You should use the Super dev mode: http://www.gwtproject.org/articles/superdevmode.html On Wednesday, October 5, 2016 at 11:30:46 AM UTC-4, dal...@whippets.wwusd.org wrote: > >

Re: Using Constants based on Environment

2016-10-01 Thread harshyadav
Thanks for your response Jens. For the maven configuration, I have a *.Dev.gwt.xml and a *.Prod.gwt.xml being referenced from the maven profiles. I'll see if I can directly filter resources there. Since, I am using GWT 2.8, the second option you mentioned works great with my current setup.

Using Constants based on Environment

2016-09-30 Thread harshyadav
Hi, I have a client side configuration file Config.properties, in which I store some client properties for the application. I use this file as: *Config.properties:* key = xyz *Config.java:* public interface Config extends Constants { String key(); } Now, I want to have 2 versions

Re: Problems connecting to Super Dev Mode server with 2.8 / multi-module project

2016-09-21 Thread harshyadav
Hi Drew, Did you find any solution for this? I am facing a similar issue. Thanks! On Friday, August 19, 2016 at 10:16:40 AM UTC-4, Drew Spencer wrote: > > The SDM recompile happens first time, it's just that when I reload the > page I see the "skipped compile because no input files have

Re: GWT Compile Issues: gwt-maven-plugin & gwtjackson

2016-09-14 Thread harshyadav
tring.format() Here is the reference to the github issue as well https://github.com/nmorel/gwt-jackson/issues/94 On Monday, September 12, 2016 at 10:47:27 PM UTC-4, harshyadav wrote: > > Can anyone share their thoughts on how to use gwtjackson with the new gwt > maven plugin? >

Re: GWT Compile Issues: gwt-maven-plugin & gwtjackson

2016-09-12 Thread harshyadav
0.13.1-SNAPSHOT provided Thanks, Harsh On Monday, September 12, 2016 at 9:23:45 AM UTC-4, harshyadav wrote: > > Yes, thats correct. > The issue is with including jackson annotation sources, which works fine > otherwise in gwtjackson. > > > On Monday, September 1

Re: GWT Compile Issues: gwt-maven-plugin & gwtjackson

2016-09-12 Thread harshyadav
Yes, thats correct. The issue is with including jackson annotation sources, which works fine otherwise in gwtjackson. On Monday, September 12, 2016 at 3:42:54 AM UTC-4, DavidN wrote: > > As far as I know GWT does not emulate String.format. > > On Sun, 11 Sep 2016 at 22:49, harsh

GWT Compile Issues: gwt-maven-plugin & gwtjackson

2016-09-11 Thread harshyadav
Hi, I am trying to migrate to the gwt-maven-plugin (net.ltgt.gwt.maven). With a few hiccups and reading thru the documentation, I am able to get a modular app up and running. However, with gwtjackon am not able to include the jackson annotation sources thru maven dependencies. [INFO]

Re: Working polymer example?

2016-09-08 Thread harshyadav
Did you try running this samples: https://github.com/manolo/gwt-polymer-todo-list OR https://github.com/vaadin/gwt-polymer-elements/tree/master/demo On Thursday, September 8, 2016 at 10:00:56 PM UTC-4, Transplant wrote: > > > I've left this alone in the hopes that it would mature with the 2.8

Re: GWT/GWTP: Communicate data from Parent to Child Presenter

2016-09-07 Thread harshyadav
roduct as a field variable in the > class and in the onReset method you can just access the currentPlaceRequest > and compare them and then conditonally load the data. > > > On Tuesday, September 6, 2016 at 5:48:52 PM UTC+2, harshyadav wrote: >> >> This is a GWTP q

Re: Is GWT is Dead?

2016-09-06 Thread harshyadav
Google Groups is indeed in GWT (or most parts of it, just inspecting the HTML structure would tell you that) Evernote Parts of Google Inbox Most of AWS services Google ADX (they created a new UI last year using GWT) and hundreds and thousands of more (including my current projects and future

Re: lambda being compiled to empty method

2016-09-06 Thread harshyadav
ton wrote: > > This is the Function interface code: > > https://github.com/Peergos/Peergos/blob/google/src/peergos/gwt/emu/java/util/function/Function.java > > On Tuesday, 6 September 2016 21:00:11 UTC+1, harshyadav wrote: >> >> Can you share your functional interface co

Re: lambda being compiled to empty method

2016-09-06 Thread harshyadav
Can you share your functional interface code? On Tuesday, September 6, 2016 at 3:35:32 PM UTC-4, Ian Preston wrote: > > Thank you for all your awesome work on GWT. > > I'm getting a lambda being compiled to an empty method. As the method is > empty, it returns null, and the caller gets a null

GWT/GWTP: Communicate data from Parent to Child Presenter

2016-09-06 Thread harshyadav
This is a GWTP question, asking here as no answer on the GWTP group/stackoverflow. I have a Presenter (with Proxy), and I display multiple child presenters (with ProxyPlace) inside the parent presenter. Parent Presenter: @ProxyStandard @NoGatekeeper public interface MyProxy extends

Re: GWT 2.8.0 RC1 - InternalCompilerException: Error constructing Java AST

2016-08-10 Thread harshyadav
Try adding just the following dependency: xml-apis xml-apis 1.4.01 Also this, if you have not already done so: javax.servlet javax.servlet-api 3.1.0 provided And this is how GWT dependencies look for me (2.8.0-rc1): com.google.gwt

Re: Appearance of extra scroll bar in GWT Datagrid

2013-10-14 Thread harshyadav
No success so far. Yes, only happens in Google Chrome. --Harsh On Thursday, October 10, 2013 4:15:08 AM UTC-4, ovidi...@gebs.ro wrote: Hello, Any news on this issue? Or anybody found any workarounds? Thank you, O -- You received this message because you are subscribed to the Google

Re: RPC Error after 2.3 upgrade: The response could not be deserialized

2011-06-26 Thread harshyadav
It worked for me by placing the gilead jar above GWT libraries in class-path entries (Order and Export in Eclipse). On May 6, 1:47 pm, VKMS vkm...@gmail.com wrote: I have very similar software configuration - Gilead 1.3.1, Hibernate, and the exception also is about the timestamp: Here's what

Deploy application on Oracle HTTP Server

2011-02-25 Thread harshyadav
Hi all, Is it possible to deploy a GWT (RPC-based) application to Oracle HTTP Server. I would really appreciate the if someone could point me to proper documentation or enlist the steps for the same. Thanks, Harsh Yadav -- You received this message because you are subscribed to the Google