Hello
I constantly get “XULElement.accessKey” errors when I pass with the mouse over SmartCleint components. Even with all add-ons turned off.
Here’s the code from FireBug:
[Exception... "'Permission denied to get property XULElement.accessKey' when calling method: [nsIDOMXULLabelElement::accessKey]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://localhost/projects/SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_Core.js :: anonymous :: line 532" data: no]
http://localhost/projects/SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_Core.js
Line 532
Here’s one page for example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />
<META HTTP-EQUIV="EXPIRES" CONTENT="0" />
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
<title>IPN Platform</title>
<link href="css/" media="all" rel="Stylesheet" type="text/css" />
<SCRIPT>var isomorphicDir="../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/";</SCRIPT>
<SCRIPT SRC=../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_Core.js></SCRIPT>
<SCRIPT SRC=../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
<SCRIPT SRC=../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_Containers.js></SCRIPT>
<SCRIPT SRC=../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_Grids.js></SCRIPT>
<SCRIPT SRC=../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_Forms.js></SCRIPT>
<SCRIPT SRC=../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
<SCRIPT SRC=../../SmartClient_57_SmallVendor/smartclientRuntime/isomorphic/skins/SmartClient/load_skin.js></SCRIPT>
<SCRIPT SRC=../inc/js/Admin.js></SCRIPT>
</head>
<body>
<script>
function navigateTree(sParam)
{
appViewloader.setViewURL(sParam);
}
Tree.create({
ID:"adminMenu",
root:
{ name:"IpnAdmin", children:[
{name: "Login", isFolder:true, children:[{name: "Login", isFolder:false}
]}
]}
});
TreeGrid.create({
ID:"adminMenuViewer",
emptyMessage:"",
width:"100%",
height:"100%",
canDragRecordsOut:false,
canAcceptDroppedRecords:false,
showHeader:false,
animateFolders:true,
animateFolderTime :50,
nodeClick : function (viewer, node, recordNum) {
if (!node.isFolder)
navigateTree(node.menuPath);
}
});
//adminMenu.openAll();
</script>
<script>
// page layout
isc.ViewLoader.create({
ID:"appViewloader",
loadingMessage:"Loading, please wait...",
autoDraw:false,
viewURL:"AdminFirst.asp"
});
isc.HLayout.create({
ID:"pageLayout",
width:"100%",
height:"100%",
members:[
isc.SectionStack.create({
ID:"leftSideLayout",
width:200,
backgroundColor:"white",
showResizeBar:true,
visibilityMode:"multiple",
animateSections:true,
sections:[
{title:"IPN Platform", autoShow:true, items:[adminMenuViewer]}
]
}),
isc.SectionStack.create({
ID:"rightSideLayout",
backgroundColor:"white",
visibilityMode:"multiple",
animateSections:true,
sections:[
{title:"Login", showHeader:false, canCollapse:true, resizeable:false, autoShow:true, items:[appViewloader]}
]
})
]
});
isc.Page.setEvent("load", "pageLayout.redraw()");
</script>
</body>
</html>
The code loaded from AdminFirst.asp
isc.HTMLFlow.create({
ID:"flowWelcome",
showEdges:false,
autoDraw: true,
//width:"100%",
contents:"<center><br/><br/><br/><br/><img src='http://ipnint.com/img/ipn_logo.gif'><br/><br/>Welcome to IPN Platform Application<br/><br/><br/><img src='http://www.webcamgreetings.com/greeting_img/logo.gif'/><br/><br/><img src='http://pixtrix.co.il/img/logo_footer.gif'/></center>",
align:"center"
});
function checkLoginAdmin(data)
{
if (data[0]['lID'] != '-1')
window.location.reload();
}
function loginAdmin()
{
adminDS.fetchData({sUserName:loginForm.values.sUserName,sPassword:loginForm.values.sPassword},
"checkLoginAdmin(data)");
}
DataSource.create({
ID:"adminDS",
dataFormat:"xml",
dataURL:"XML/AdminLoginXML.asp?sOperation=LOGIN_ADMIN",
recordXPath:"//ADMIN",
fields:[
{name:"lID"}
]
});
isc.DynamicForm.create({
ID:"loginForm",
showEdges:false,
autoDraw: false,
dataSource:"adminDS",
fields:[
{ID:"sUserName", name:"sUserName", title:"UserName", required:true},
{ID:"sPassword", name:"sPassword", editorType:"password", title:"Password", required:true},
{name:"loginbtn", editorType:"button", align:"center",
colSpan:2, title:"Login", click:"loginAdmin()"}
],
numCols:2,
colWidths:[100,200],
margin:25,
cellPadding:5,
autoFocus:true
});
isc.VStack.create({
showEdges:false,
width:"100%",
membersMargin:5,
layoutMargin:10,
align:"center",
members:[flowWelcome,loginForm]
})