Support Forum
When writing the reply - see the Code button in the top of the reply text area - use it for wrapping code.
Basically - don't use "file:///C:/Program%20Files/Apache%20" links. All your links need to start with: "https://localhost:8081/myproject/...."
Basically - don't use "file:///C:/Program%20Files/Apache%20" links. All your links need to start with: "https://localhost:8081/myproject/...."
Read the API documentation
Hi
I had completed the setup of the Siesta and executed the example Successfully given in the Getting Started Document.
I worked great as if said in it. But when i tried to Test My Code with the Tool its throwing 2 Exceptions in the Error Console.
Error: namespace is undefined
Source File: https://localhost:8081/ext-4.0.2a/ext-all-debug.js
Line: 3487
Error: Ext.grid.ColumnModel is not a constructor
Source File: https://localhost:8081/iBPM/js/adminLayout.js
Line: 131
Note: My code is extjs version 2.0.2.
I had completed the setup of the Siesta and executed the example Successfully given in the Getting Started Document.
I worked great as if said in it. But when i tried to Test My Code with the Tool its throwing 2 Exceptions in the Error Console.
Error: namespace is undefined
Source File: https://localhost:8081/ext-4.0.2a/ext-all-debug.js
Line: 3487
Error: Ext.grid.ColumnModel is not a constructor
Source File: https://localhost:8081/iBPM/js/adminLayout.js
Line: 131
Note: My code is extjs version 2.0.2.
The second one looks like a bug in your code. As for the first one, you'd need to provide more info.
JavaScript/Angular/ExtJS consulting - kuba@virtualdesign.pl
Error Console Shows:
Error: namespace is undefined
Source File: https://localhost:8081/ext-4.0.2a/ext-all-debug.js
Line: 3487
********************************************************************************************************************************************
namespace is undefined
error source line: [Break On This Error] if (namespace === from...substring(0, from.length) === from) {
********************************************************************************************************************************************
this error occurs @ line no 3487 in ext-all-debug.js file
Error: namespace is undefined
Source File: https://localhost:8081/ext-4.0.2a/ext-all-debug.js
Line: 3487
********************************************************************************************************************************************
namespace is undefined
error source line: [Break On This Error] if (namespace === from...substring(0, from.length) === from) {
********************************************************************************************************************************************
this error occurs @ line no 3487 in ext-all-debug.js file
parseNamespace: function(namespace) {
var cache = this.namespaceParseCache;
if (this.enableNamespaceParseCache) {
if (cache.hasOwnProperty(namespace)) {
return cache[namespace];
}
}
var parts = [],
rewrites = this.namespaceRewrites,
rewrite, from, to, i, ln, root = Ext.global;
for (i = 0, ln = rewrites.length; i < ln; i++) {
rewrite = rewrites[i];
from = rewrite.from;
to = rewrite.to;
[color=#FF0000] if (namespace === from || namespace.substring(0, from.length) === from) {[/color]
namespace = namespace.substring(from.length);
if (typeof to !== 'string') {
root = to;
} else {
parts = parts.concat(to.split('.'));
}
break;
}
}
parts.push(root);
@Prashanth - please do not color your posts with red color.
The exceptions you've posted are from your code, can you show the source of the test case?
Siesta is a generic testing tool and can test any framework, including Ext2.2. It has an optional layer which is optimized for Ext4, but its optional.
The exceptions you've posted are from your code, can you show the source of the test case?
Siesta is a generic testing tool and can test any framework, including Ext2.2. It has an optional layer which is optimized for Ext4, but its optional.
Read the API documentation