You sent the date to client via a asynchCall. So you receive onSuccesfull or
onFailure. You are update in onSuccesful the date of the simple text
with which value? Can you share the relevant code?

Are you use DateBox?

Juan

2011/3/31 SVR <svr...@gmail.com>

> Serialization from Client to Server is OK, but Server to Client fails.
> I enter say Jan 31, 1979 (a simple Text with DatePicker) and it get saved
> to the Database as such, but when I get back the value from the server, I
> can see the correct value in the server (RPC Impl) as Jan 31, 1979, but when
> it comes back to the client after the RPC call, the value is Jan 30, 1979.
>
>
>
> On Thu, Mar 31, 2011 at 3:08 PM, Juan Pablo Gardella <
> gardellajuanpa...@gmail.com> wrote:
>
>> How are you do "when I set the Date field on the client"?
>>
>> The serialization to server->client is Ok, but to client->server fail?
>>
>> Juan
>>
>>
>>  2011/3/31 SVR <svr...@gmail.com>
>>
>>> Has anybody noticed a problem with dates and RPC. Basically I receive a
>>> date from the backend and able to see the correct date in the RPC Impl in
>>> the debugger but when I set the Date field on the client (after the the
>>> results are serialized), I see that the date is offset by a day.
>>> I havnt tested extensively for what dates cause this problem, but I do
>>> see this randomly. Yes the Client and the Server are in different time
>>> zones, but I am not setting the time component (using sql.date on the server
>>> side, which essentially has no time component).
>>>
>>> Anybody has encountered this before? I can work aound this (by passing
>>> the DD, MM, YYYY components separately), but want to understand the problem
>>> better.
>>> Thanks
>>>
>>> --
>>> 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.
>

-- 
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.

Reply via email to