Re: Upload request cancelled

2015-11-05 Thread Tushar Bhasme
SubmitCompleteEvent. Thanks, Tushar On Thursday, November 5, 2015 at 3:13:56 PM UTC+5:30, Mohammed Sameen wrote: > > Can you share the code snippet? > > On Saturday, October 31, 2015 at 11:36:33 PM UTC+5:30, Tushar Bhasme wrote: >> >> I am trying to upload files using FormPanel an

Upload request cancelled

2015-10-31 Thread Tushar Bhasme
I am trying to upload files using FormPanel and FileUpload. The moment the I submit the form, I see this in the network console: The request does go to server though and completes success

Re: I18N- sharing Constants

2015-06-16 Thread Tushar Bhasme
UTC+5:30, Tushar Bhasme wrote: > > In my app, I have created an interface > CommonLabels extends Constants > As name suggests, it contains all the labels that can be user on any page. > There are some pages that use this interface directly. > I have created other interfaces (e

I18N- sharing Constants

2015-06-16 Thread Tushar Bhasme
In my app, I have created an interface CommonLabels extends Constants As name suggests, it contains all the labels that can be user on any page. There are some pages that use this interface directly. I have created other interfaces (eg LoginLabels) for each page that extend this interface adding

Global AsyncCallback handling

2015-03-18 Thread Tushar Bhasme
I am trying to handle all the OnFailure case of all the asyncCallback classes in my application. Basically, if the backend throws some specific error- like "SessionInvalid". I want the user to be showed the Login screen. The approach I followed was "http://stackoverflow.com/questions/3657572/ho

Re: CellList inside a panel of 100% height

2015-02-25 Thread tushar bhasme
I guess the height here is set to enable scrolling if data exceeds the given pixels. Thanks, Tushar Bhasme On Wed, Feb 25, 2015 at 11:26 PM, Magnus wrote: > Thank you very much! This works! > > I don't know why, but I the parent's height is too much, so that I have to >

Re: CellList inside a panel of 100% height

2015-02-24 Thread Tushar Bhasme
table.setHeight(String.valueOf(Window.getClientHeight() - (the amount of px you want to leave from top)) + Unit.PX); Thanks, Tushar On Monday, February 23, 2015 at 8:48:34 AM UTC+5:30, Magnus wrote: > > Hi, > > consider the CellList example in GWT showcase: > > http://samples.gwtproject.org/samp

Re: Grouping in GWT Celltable?

2015-02-24 Thread Tushar Bhasme
I think I did something similar in past. It was sort of a hack. I had all the data sorted from backend. While defining the columns in frontend, I would compare current data to previous data (store in a member variable). If both are same, don't set any data in the cell. It sort of gives an appea

Re: Display images stored in database

2015-02-23 Thread Tushar Bhasme
her way to send the image to the browser? Thanks, Tushar On Sunday, February 22, 2015 at 11:53:06 PM UTC+5:30, Tushar Bhasme wrote: > > Hi, > > There have been many threads on this topic but I am facing a different > issue. We have to upload logo for each record entered. When r

Display images stored in database

2015-02-22 Thread Tushar Bhasme
Hi, There have been many threads on this topic but I am facing a different issue. We have to upload logo for each record entered. When records are fetched, we need to display the record with the logo too. To upload the logo, I simply used a form with file upload and hidden fields of the recor

Re: integrating facebook login

2014-12-16 Thread Tushar Bhasme
Anyone? On Monday, December 15, 2014 3:04:30 PM UTC+5:30, Tushar Bhasme wrote: > > I thought so too, and that's why I called FB.XFBML.parse() after > initializing. > Putting fb:login-button directly in the binder does not compile. > > Thanks, > Tushar > > On Mond

Re: integrating facebook login

2014-12-15 Thread Tushar Bhasme
ind regards > > > Nicolas > > > > Le lundi 15 décembre 2014 04:49:10, Tushar Bhasme a écrit : > > I am trying to integrate fb login to my app. I added the script to > > initialize the js: > > > > > > > > >

integrating facebook login

2014-12-15 Thread Tushar Bhasme
I am trying to integrate fb login to my app. I added the script to initialize the js: (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id =