Bound Controls - MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual

For windows 95/98/nt4/2000
Table of Contents

Advertisement

<PARAM NAME="RowsPerPage" VALUE="10"
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">
REQUIRED="$${ ParameterExists('Customize') }">
<!--- 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"/>
177

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents