File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Scope is undefined - Struts.dojo error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Scope is undefined - Struts.dojo error" Watch "Scope is undefined - Struts.dojo error" New topic
Author

Scope is undefined - Struts.dojo error

Sudha Ghatty
Greenhorn

Joined: Jan 31, 2011
Posts: 4
Hi,

I have the below code in my struts_dojo.js and I am getting a script error in IE 10 that "Unable to get property 'toLowerCase' of undefined or null reference"

I was checking the scope name using alert and i got the error that scope is undefined.

if(dojo.render.html.capable&&dojo.render.html.ie&&node.scopeName!="HTML"){
return node.scopeName.toLowerCase()+":"+_5fd;
}


This issue occurs only in IE 10 and it is working fine in IE9 or IE8/7.

Any help is greatly appreciated.

Thanks,
Sudha.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scope is undefined - Struts.dojo error
 
Similar Threads
problem in getting values in combo box and check boxes
Undefined error
can't get value from another class
Event.observe and clickElem.addEventListener giving me undefined error
jQuery autocomplete problem