Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 893

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Programming effectively
The following recommendations help improve or customize your ColdFusion Ajax application.
• Use the AjaxOnLoad function, which specifies a JavaScript function to run when the page loads, to perform any
initialization actions that are required for a page to function properly. Use the
functions when a page is loaded in a container tag. One use for this function could be on a page that pops up a login
window if the user is not already logged in when it displays. You can use the
JavaScript function that determines the login status and pops up the window only if necessary.
• Use the following ColdFusion JavaScript functions to access the Ext JS or Yahoo YUI JavaScript library objects that
underlie border and tab style
controls. Then use the raw object to modify the displayed control.
• ColdFusion.Layout.getBorderLayout
• ColdFusion.Grid.getGridObject
• ColdFusion.Layout.getTabLayout
• ColdFusion.Tree.getTreeObject
• ColdFusion.Window.getWindowObject
For documentation on the objects and how to manage them, see the Ext documentation at
extjs.com/deploy/ext/docs/
controls,
cflayout
cfwindow
and the Yahoo toolkit documentation at developer.yahoo.com/yui/.
Last updated 1/20/2012
AjaxOnLoad
AjaxOnLoad
controls, and HTML format
888
function to call
function to specify a
and
cfgrid
cftree

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents