When I use this code using the standard 3.1 server config
and access it bypassing portal security using:
http://<Our IP Here>:7031/vvresources/fender/test.html
I get the following error:
Clearly it finds the sencha-touch.js but that looks for data/Modal.js here
instead of here
Have I missed something out?
Thanks!
PHP Code:
<html>
<head>
<script type="text/javascript" src="/sencha-touch/sencha-touch.js"></script>
<script type="text/javascript">
Ext.define('User', {
extend: 'Ext.data.Model',
config: {
fields: [
{name: 'firstName', type: 'string'},
{name: 'lastName', type: 'string'},
{name: 'age', type: 'int'},
{name: 'eyeColor', type: 'string'}
]
}
});
</script>
</head>
<body>
</body>
</html>
and access it bypassing portal security using:
http://<Our IP Here>:7031/vvresources/fender/test.html
I get the following error:
PHP Code:
GET http://<Our IP Here>:7031/vvresources/fender/data/Model.js?_dc=1334833399626 404 (Not Found)
Clearly it finds the sencha-touch.js but that looks for data/Modal.js here
PHP Code:
http://<Our IP Here>:7031/vvresources/fender/data/Model.js
PHP Code:
http://<Our IP Here>:7031/sencha-touch/src/data/Model.js
Thanks!
Comment