PDA

View Full Version : beginner question



aelythe
20 Nov 2009, 9:21 PM
Hi,

I created a panel with 2 items. I am using autoLoad to load server content in one of them (html).

But how can I load extjs (javascript content) and make it be executed? I couldn't find out this method in none of the samples... :(

Any clue or help is very welcome!

Thanks!

Paul :)

diclofoss
22 Nov 2009, 4:53 AM
Maybe this section can help you.

http://www.extjs.com/learn/Tutorials#Getting_Started

Air_Mike
22 Nov 2009, 7:16 AM
Instead of putting url string under autoLoad property you should put object specified by Ext.Updater.update method and put script: true to process javascript because this property is false by default.

Another options is to change Ext.Updater.defaults loadScripts to true which will changes default value of updater.

aelythe
22 Nov 2009, 7:31 AM
Thanks for your answers!

I will try right now!

Paul
:)

BlancoX
22 Nov 2009, 12:30 PM
Instead of putting url string under autoLoad property you should put object specified by Ext.Updater.update method and put script: true to process javascript because this property is false by default.

Another options is to change Ext.Updater.defaults loadScripts to true which will changes default value of updater.

can you post a code example please? i think im stuck cause the same problem, so code would be really appreciated.

Thanks
Jose Maria