Wednesday, August 1, 2012

Re: JSONParser.parseStrict() exception "Unexpected token <"

Hi Colin,

Thanks! Your ideas moved me towards a solution.  Turns out that FormPanel->onSubmitComplete returns whatever is returned as "html".  My result was surrounded by PRE tags.  I sucked the getResult output into a HTML instance and then used the getText method to get what I wanted.

This is also the first time I have used the GWT Logging tools.  very nice.

Thanks again
seven

--
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/-/zwsaK-DCR_sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment