slemmon
9 Apr 2012, 11:25 AM
I wanted to check in and see if I'm using the component loader's load method correctly.
I have a panel with a loader defined like so:
region: 'center'
, itemId: 'documentationContent'
, autoScroll: true
, loader: {
url: 'placeholder.html'
, loadMask: true
}
I want to then supply a different doc to the loader's url. I'm doing that like so:
panel.getLoader().load({
url: 'something_completely_different.html'
, loadMask: true
})
The url that is employed in the load is the original placeholder doc and not the one specified in the load's options object.
I assume I'm skipping a step somewhere. Thoughts?
I'm using RC2 for 4.1 if that helps.
I have a panel with a loader defined like so:
region: 'center'
, itemId: 'documentationContent'
, autoScroll: true
, loader: {
url: 'placeholder.html'
, loadMask: true
}
I want to then supply a different doc to the loader's url. I'm doing that like so:
panel.getLoader().load({
url: 'something_completely_different.html'
, loadMask: true
})
The url that is employed in the load is the original placeholder doc and not the one specified in the load's options object.
I assume I'm skipping a step somewhere. Thoughts?
I'm using RC2 for 4.1 if that helps.