From the Docs on Ext.Window
(http://extjs.com/deploy/ext-3.0-rc3/docs/?class=Ext.Window), in the
'methods' section:
*load
*( |Object/String/Function config| )
: Ext.Panel
Loads this content panel immediately with content returned from an XHR
call.
*Parameters:*
* |config| : Object/String/Function
A config object containing any of the following options:
|panel.load({
url: /"your-url.php"/,
params: {param1: /"foo"/, param2: /"bar"/}, /// or a URL encoded
string/
callback: yourFunction,
scope: yourObject, /// optional scope *for* the callback/
discardUrl: false,
nocache: false,
text: /"Loading..."/,
timeout: 30,
scripts: false
});|
The only required property is url. The optional properties
nocache, text and scripts are shorthand for disableCaching,
indicatorText and loadScripts and are used to set their associated
property on this panel Updater instance.
*Returns:*
* |Ext.Panel|
this
Don L wrote:
> Good input, but load() method seems for panel only, it made me think of
> render and renderto...
>
>
>> Have you tried the load() method?
>>
>> mxAjax / CFAjax docs and other useful articles:
>> http://www.bifrost.com.au/blog/
>>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324235
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4