177
<PARAM NAME="RowsPerPage" VALUE="10"
REQUIRED="$${ ParameterExists('Customize') }">
Or, to customize the OUTPUTFILE attribute of the TEMPLATE tag using a name
attribute entered by the user, you would use the following syntax:
OUTPUTFILE="$${Name}Admin.cfm">
The expression syntax supported within the wizard configuration file is the same as the
one supported in wizard output templates (see the reference section for more details).
Bound controls
One of the most powerful capabilities of wizard pages are bound controls. Bound
controls allow you to place controls onto the wizard page and have their values
automatically bound to wizard parameters. To do this, simply add an INPUT sub-tag to
the PAGE tag for each control you wish to bind, making sure that the NAME attribute of
the INPUT tag matches the Name property of the control. All controls specified in the
layout can be bound.
Wizard definition page example
This sample wizard creates an HTML template.
<WIZARD NAME="DefaultTemplate" CAPTION="Default HTML Template">
<!--- wizard parameters --->
<PARAM NAME="sDocType" VALUE="HTML 4.0" REQUIRED="true">
<PARAM NAME="sTitle" VALUE="">
<PARAM NAME="bMetaDescr" VALUE="false">
<PARAM NAME="sMetaDescr" VALUE="">
<PARAM NAME="bMetaKeywords" VALUE="false">
<PARAM NAME="sMetaKeywords" VALUE="">
<!--- WIZARD PAGE --->
<!--- attributes page --->
<PAGE NAME="DocAttribs" TYPE="DYNAMIC"
CAPTION="HTML Document Attributes"
IMAGE="..\\images\\main.bmp">
<PAGELAYOUT>
<CONTROL NAME="lblDocType" TYPE="label"
DOWN="10" RIGHT="10"
WIDTH="90"
CAPTION="Document Type:"
/>
<CONTROL NAME="ddDocType" TYPE="DropDown"
EDITABLE="no"
ANCHOR="lblDocType" corner="NE" WIDTH="MAXIMUM" down="-5">
<ITEM CAPTION="HTML 2.0" VALUE="HTML 2.0"/>
<ITEM CAPTION="HTML 3.2" VALUE="HTML 3.2"/>
<ITEM CAPTION="HTML 4.0" VALUE="HTML 4.0"/>
Содержание COLDFUSION STUDIO 4.5-USING COLDFUSION...
Страница 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Страница 16: ...xvi Contacting Allaire...
Страница 90: ...82...
Страница 130: ...122...
Страница 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Страница 182: ...190...