Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 799

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Part
Description
The xf or cf namespace element name, as identified in the table in
tagname
bindid
ID attribute of the model
Control label text. Specified by one of the following:
label
The CFML tag
The
The tag body content of
Not used for
Type of control. One of the following:
controltype
The
Select
Not used for
attribname
Name of a CFML tag attribute. There is a
does not otherwise have an entry in the XML.
Value of a CFML tag attribute.
attribvalue
Tag-specific element structure
The information described here about the tag-specific features of the XML for several types of input tags is not all-
inclusive. For the specific structure of any ColdFusion form tag, see the XML generated from the tag by ColdFusion.
Selection tags
Tags that are used for selection,
XForms
and
select
select1
element for each item a user can choose. Each item normally has an
xf:item
element. Check boxes have a single item; select and radio button controls have more than one.
The following example shows the CFML code for a group of two radio buttons, followed by the generated XML control
elements. This example also shows the use of a
CFML
<cfformgroup type="horizontal" label="Accept?">
<cfinput type = "Radio" name = "YesNo" value = "Yes" checked>
<cfinput type = "Radio" name = "YesNo" value = "No">
</cfformgroup>
xf:bind
element for this control. Specified by the control's CFML tag
attribute
label
value
attribute of the
radiobutton
cfselectoption
and
tags.
cfgrid
cftree
attribute
cfinputtype
,
slider
, or
textarea
, for the
cfgrid
and
cftree
tags.
cf:attribute
,
cfselect
cfinputtype="radio"
elements. These elements include an
cfformgroup
Last updated 1/20/2012
"CFML to XML tag
,
radio
,
submit
, and
resetcfinput
subtags,
cfselect
,
cfslider
, or
cftextarea
tag for each attribute specified in the CFML code that
, and
cfinputtype="checkbox"
element, which in turn has an
xf:choices
xf:label
tag to arrange and label the radio button group.
mapping" on page 792.
name
attribute.
tags
tags, respectively.
are converted to
element and an
xf:value
794

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents