This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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