Re: GWT Serialization error with HTML String content

2012-05-03 Thread dhoffer
Joseph,

In this case I'm just trying to send some HTML to the server so it can
be saved as a log file for the user, but the issue here really has
nothing to do with HTML, it is due to new line characters in the
string...could be any string.  I found and fixed the problem.  It was
due to some Atmosphere comet code that assumed the string would not
have any new line chars...all is working now with that fixed.

-Dave

On May 1, 8:17 am, Joseph Lust lifeofl...@gmail.com wrote:
 Dave,

 I know this is not exactly the answer you're looking for, but why are you
 trying to serialize and send HTML over the wire like that? Why not use a
 Uibinder to build that HTML and just send the dynamic part over the wire,
 which is Apr 30 2012 15:11:33? This is how such work is typically done.
 Further, you just need to send a date object, so you can leave the
 formatting to the UiBinder on the clientside as well.

 I hope that helps as HTML is not typically parroted like that in GWT.

 Sincerely,
 Joseph

-- 
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 Serialization error with HTML String content

2012-05-03 Thread Joseph Lust
Touche, glad you got it sorted. I'll be on the lookout for newline 
characters in the future.

Sincerely,
Joseph

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/G4fm6MoVJ-YJ.
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 Serialization error with HTML String content

2012-05-01 Thread Joseph Lust
Dave,

I know this is not exactly the answer you're looking for, but why are you 
trying to serialize and send HTML over the wire like that? Why not use a 
Uibinder to build that HTML and just send the dynamic part over the wire, 
which is Apr 30 2012 15:11:33? This is how such work is typically done. 
Further, you just need to send a date object, so you can leave the 
formatting to the UiBinder on the clientside as well.

I hope that helps as HTML is not typically parroted like that in GWT.

Sincerely,
Joseph

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hSwm6Mm9BGIJ.
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.