PDA

View Full Version : load an url in a panel



macistina
6 Jul 2009, 2:50 AM
Hi,
I want load an url in a panel from a menu item.
I create the tree panel and a simplePanel.
When i click on menu item i wrote this code
Ext.getCmp('simplePanel').load({url:personalUrl});//personalUrl = "D:/ProcessManagement/test_costumized/test.html
The path is correct but I can see only the Loading mask but I can't see the content of this one.
IE debug message says 'Access Danied'
Please help me
Fra

Condor
6 Jul 2009, 2:54 AM
You can't load from the local filesystem. You need a HTTP server for that.

ps. You can load from the filesystem using the ext-basex user extension, but the file still needs to be in the same directory (or a subdirectory) of the current HTML.