Friday, February 1, 2013

Re: Dictionary not working on IE7

What's you literal object looking like exactly? IIRC, IE7 strictly follows ECMAScript for literal objects in that it chokes on an ending comma; comma can only be used as a separator between properties; i.e. { foo: 1, bar: 2, } is incorrect, and in IE it's a parse errors (while other browsers recover from the error).

On Friday, February 1, 2013 7:05:16 PM UTC+1, Deepak Singh wrote:
Hi All,

I am using Dictionary with GWT2.5. Its working fine everywhere except exception on IE7. Here is the exception


java.util.MissingResourceException: 'upperSlideShow' is not a JavaScript object and cannot be used as a Dictionary 

Where 'upperSlideShow' is a var in html

var upperSlideShow {

}

Do i need to do anything else to work it on IE7 ?

Regards
Deepak Singh

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

No comments:

Post a Comment