Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!

Adi Vicks

Greenhorn
+ Follow
since Feb 23, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Adi Vicks

Looks like for me the date serialization reduces date by one when it comes to client. example : if i save a date in database Feb 03, when I retrieve it to the client side it is coming as Feb 02, something happening during the rpc call, I am guessing could be date serialization over timezone issue.

Any idea ?
8 years ago
GWT
I have a DateBox , setting the default format like :
DateBox dateBox = new DateBox();
dateBox.setFormat(new DefaultFormat(DateTimeFormat.getFormat("MM/dd/yyyy"));

Now the date picker works fine. However if I enter date manually in the textbox some other format like : 2011/03/02 , it automatically changing the date to some junk date : 07/03/0169

If I don't set the date format and try to get the String and parse it in onValueChangeEvent of the textBox, the control doesn't even fire this event as it takes 2011/03/02 as valid date
and changes the text box automatically.

Clueless.. please some one help !!
8 years ago
GWT
Can you please tell me how to close a browser window in gwt ? Window.open opens a new window. But i have a cancel button on the opened window which should close it.
Any idea ?
8 years ago
GWT
I am new to GWT infact new to server side coding. I am having a variable in the server which I use for multiple rpc call. Initial i set null to this variable and other rpc calls set the value.
My question is when another user opens another browser and call the server, will he get this variable value as null(new one)or he will get the value that the previous user/client call changed ?
8 years ago
GWT
My client is using a class which has member variables that I need , but also there are some other methods that I don't need to use. But GWT complains as those methods uses other dependency classes , and it asks me to provide source for those dependency classes as well.

So I am wondering if there is a way to tell GWT to translate a class but don't translate some of its methods. Something similar to @Transient in hibernate.

8 years ago
GWT
I have an application which use some dependency utilities. The utility returns few classes/objects that I want to use in client side. I have included source for those classes through inherits in my module , but since those classes has other internal dependency classes, GWT ask is now asking me to inherit source code for all those classes too. Should I just go ahead and source for all those classes ? Note I am not getting any compilation error in Eclipse but getting No source code found errors while running.

Is there any better way of doing this ?
8 years ago
GWT
Thanks for the link. Its working now. Also I forgot to add the dependency jars in the war/web-inf/lib folder.
8 years ago
GWT
I am facing one error while running my GWT application.

Line 62: No source code is available for type com.abc.PQR; did you forget to inherit a required module?

Note: PQR is a class present in another project/directory. I have added that project's jar to my build path so didn't get any compilation error in eclipse. But seems like jetty deployment not working. I am using google plugin for eclipse to develope this application. Both the projects are under same folder.

I added the project as reference project to my project but no luck.

Any help ?
8 years ago
GWT
I am newbie to GWT, so please take the question lightly

My goal is to create a FlexTable. Add widgets to it dynamically. but want to restrict number of widgets on a row to maximum 2 , and keep adding widgets dynamically. I want if a widget doesn't fit in a row
should get displayed on the next row automatically. I have widgets like text boxes with labels, combo boxes with labels , tab panels . Could anyone suggest any ideas ?
8 years ago
GWT