MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifications Page 416

  • Download
  • Add to my manuals
  • Print
  • Page
    / 504
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 415
416 Components
Example
The following example sets four steps for ColdFusion components, and provides a hypertext
link in the fourth step so the user can enter the RDS user name and password:
function getSetupSteps()
{
var doSDK = false;
dom = dw.getDocumentDOM();
if (dom && dom.serverModel)
{
var aServerModelName = dom.serverModel.getDisplayName();
}
else
{
var aServerModelName = site.getServerDisplayNameForSite();
}
if (aServerModelName.length)
{
if(aServerModelName != "ColdFusion")
{
if(needsSDKInstalled != null)
{
doSDK = needsSDKInstalled();
}
}
}
var someSteps = new Array();
someSteps.push(MM.MSG_WebService_InstructionsTitle);
someSteps.push(MM.MSG_Dynamic_InstructionsStep1);
someSteps.push(MM.MSG_Dynamic_InstructionsStep2);
if(doSDK == true)
{
someSteps.push(MM.MSG_WebService_InstructionsStep3);
}
someSteps.push(MM.MSG_WebService_InstructionsStep4);
return someSteps;
}
setupStepsCompleted()
Availability
Dreamweaver MX.
Page view 415
1 2 ... 411 412 413 414 415 416 417 418 419 420 421 ... 503 504

Comments to this Manuals

No comments