getSetupSteps()
Availability
Dreamweaver MX.
Description
Dreamweaver calls this function if the
positive integer. This function controls the server-side setup instructions, which can be
implemented using extensions that use a modal dialog box and extensions that use server
components.
This function returns an array of the strings for Dreamweaver to display in either the Setup Steps
dialog box or the Components panel, depending on the extension type.
Arguments
None.
Returns
An array of n+1 strings, where n is the number of steps, as described in the following list:
•
The title that appears above the list of setup steps
•
For each step, the text instructions, which can include any HTML markup that is legal inside a
tag
li
You can include hypertext links (
<a href="#" onMouseDown="handler">Blue Underlined Text</a>
The
"handler"
expression, such as "
•
An
"Event:SetCurSite"
•
An
"Event:CreateSite"
•
An
"Event:SetDocType"
user's document.
•
An
"Event:CreateConnection"
database connection.
•
An
"Event:SetRDSPassword"
Service (RDS) user name and password (ColdFusion only).
•
An
"Event:CreateCFDataSource"
setupStepsCompleted()
tags) in the list of steps by using the following form:
a
value can be replaced by any of the following strings or any JavaScript
dw.browseDocument('http://www.macromedia.com')
handler opens a dialog box to set the current site.
handler opens a dialog box to create a new site.
handler opens a dialog box to change the document type of the
handler opens a dialog box to create a new
handler opens a dialog box to set the Remote Development
handler opens the ColdFusion administrator in a browser.
function returns zero or a
":
Component panel API functions
319
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers