Re: Tracking multiple steps in a RPC request on the client

2011-09-06 Thread mohit ranjan
Make an async RPC call and update UI on OnSuccess/OnFailure()

Mohit


On Wed, Sep 7, 2011 at 1:13 AM, Nestor nestord...@gmail.com wrote:

 I'm trying to find out how to implement the following functionality.
 Any help would be appreciated.

 The client sends a RPC request to the server for a set of data. The
 server has to query the data, then perform some additional processinf
 (e.g., filter, sort) before sending it back to the client. While this
 processing is going on, a progess bar is displayed to the user,
 indicating what step is being performed (Retrieving, Filtering,
 etc.)

 I've been looking at Server Push as a potential solution, but I'm not
 sure how to implement it for this situation. I suppose the server
 could send status messages indicating completion of each step in the
 process before sending the final result set. Am I on the right track?

 Thank you.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Setting default value for DateItem()

2011-08-29 Thread mohit ranjan
Using Smart GWT

I am having a DynamicForm with
 Code:

final DateItem dateFromFormItem = new DateItem();
{
dateFromFormItem.setTitle(Date from);
dateFromFormItem.setName(dateFrom);
}

final DateItem dateToFormItem = new DateItem();
{
dateToFormItem.setTitle(Date to);
dateToFormItem.setName(dateTo);
}


I want default value of dateToFormItem to be 24 hr from now (next day), but
could not find any related method.
dateToFormItem default value is current time only as required.

Any hint/help for this will be highly appreciated.

Mohit Ranjan
http://www.flipkart.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Setting default value for DateItem()

2011-08-29 Thread mohit ranjan
Thanks Tom.
It's working.

Mohit


On Mon, Aug 29, 2011 at 9:10 PM, Tom Carchrae t...@carchrae.net wrote:


 dateItem.setDefaultValue(new Date(System.currentTimeMillis() + (24L * 60L *
 60L * 1000L)));


 On Mon, Aug 29, 2011 at 8:26 AM, mohit ranjan shoonya.mo...@gmail.comwrote:

 Using Smart GWT

 I am having a DynamicForm with
  Code:

 final DateItem dateFromFormItem = new DateItem();
 {
 dateFromFormItem.setTitle(Date from);
 dateFromFormItem.setName(dateFrom);
 }

 final DateItem dateToFormItem = new DateItem();
 {
 dateToFormItem.setTitle(Date to);
 dateToFormItem.setName(dateTo);
 }


 I want default value of dateToFormItem to be 24 hr from now (next day),
 but could not find any related method.
 dateToFormItem default value is current time only as required.

 Any hint/help for this will be highly appreciated.

 Mohit Ranjan
 http://www.flipkart.com

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Firefox 6 breaks GWT ?

2011-08-23 Thread mohit ranjan
Also, any idea about dev mode @ FF 6 ?
Last I tried, it was not done


Mohit

On Wed, Aug 24, 2011 at 1:12 AM, Roustalski roustal...@gmail.com wrote:

 Has anyone else noticed that text boxes do not show the focus ring
 when the element has focus, and that a KeyPressEvent looking for the
 charCode KeyCodes.KEY_ENTER doesn't actually work?

 Why would upgrading Firefox break this functionality?

 My app works on all other browsers and platforms, but upgrading FF to
 version 6 breaks things? I don't understand.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: GWT : Best practice to send huge amount of data from server to client

2011-08-09 Thread mohit ranjan
Somewhere I read this

binary serialization + compression - send it to client
Mohit

On Tue, Aug 9, 2011 at 5:03 PM, vaibhav bhalke bhalke.vaib...@gmail.comwrote:

 Hi folks,

 Which are the Best practices to send huge amount of data from  server to
 client in GWT?

 Right now we are facing performance issue in GWT code.

 Our server side is sending huge xml (Size in MB/GB) to client side, our
 client side parses that xml and using parsed data, beans are formed for
 populating data in Celltable grid.
 We are filling 1k + / 10k+ records in CellTable grid.

 Is there any effective way/ Best practices followed while dealing with such
 a huge data?
 If we parse the data at server side and formed the beans at server side, Is
 this good? or any alternative way..

 Any help or guidance in this matter would be appreciated.


 --
 Best Regards,
 Vaibhav Bhalke


 http://about.me/vaibhavbhalke



  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: ListListT support by RequestFactorty.

2011-08-08 Thread mohit ranjan
Out of this topic

Curious to know, what's advantage of using ListListT over ListT when
doing any client/server interaction ?


- Mohit

On Mon, Aug 8, 2011 at 6:33 PM, br22 g22...@gmail.com wrote:

 Is it supported? If not, are there planes to support in in the future?
 Thank you for your help.

 On Aug 6, 6:08 pm, br22 g22...@gmail.com wrote:
  It is documented that  ListT or SetT are supported, is
  ListListT supported as well?
  Thank You.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Contents of *gwt.rpc flie

2011-07-28 Thread mohit ranjan
No response :(

-Shoonya

On Thu, Jul 28, 2011 at 1:19 AM, Shoonya shoonya.mo...@gmail.com wrote:

 Hi,

 Can anybody  explain me what's the exact format of *.gwt.rpc file? I
 know that this contains all the whitelisted classes.

 In my project *gwt.rpc file, there are 2 lines for each class like
 this

 com.xxx.yyy.FooData, true, true, true, true, com.xxx.yyy.FooData/
 856412979, 856412979
 [Lcom.xxx.yyy.FooData;, true, true, false, false,
 [Lcom.xxx.yyy.FooData;/1961829462, 1961829462

 1. What does true/false means ?
 2. What are the numbers in the last ?
 3. What does L stand for in 2nd line ?

 -Shoonya

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.