Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 794

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Prefix
URL
xf
http://www.w3.org/2002/xforms
ev
http://www.w3.org/2001/xml-events
cf
XML structure
For each CFML tag, ColdFusion converts attributes and element values to XML in the XForms
in individual control elements, such as the XForms
ColdFusion generates XForms XML in the following format. The numbers on each line indicate the level of nesting of
the tags.
1
form tag
2
XForms model element
3
XForms instance element
4
cf:data element
3
XForms submission element
3
XForms bind element
3
XForms bind element
3
.
3
.
3
.
2
(end of model element)
2
XForms or ColdFusion extension control element
2
XForms or ColdFusion extension control element
.
.
.
1
(end of form)
Data model
The XForms data model specifies the data that the form submits. It includes information on each displayed control
that can submit data, including initial values and validation information. It does not contain information about
or
cfformgroup
cfformitem
• One
element
xf:instance
• One
element
xf:submission
• One
element for each form control that can submit data
xf:bind
xf:instance element
The XForms
element contains information about the form data controls. Any control that can submit
xf:instance
data has a corresponding instance element. If the control has an initial value, the instance element contains that value.
The
element contains a single
xf:instance
most
tag types,
cfinput
cfselect
CFML tag's
attribute. For applet and Flash format
name
parameter of the tree or grid's Java applet object. Only
cf_param_name
do not have instance data, because they cannot submit data.
andbutton
Used for
XForms model (including initial field values) and XForms elements that
correspond to cfform tags.
System events. Used for the
All ColdFusion extensions, including passthrough of attributes that do not
correspond to XForms elements or attributes.
xf:input
tags. The data model consists of the following elements and their children:
element that contains an element for each data control:
cf:data
,
,
cfslider
cftextarea
cfgrid
Last updated 1/20/2012
cfinput type="reset".
,
, or
xf:secret
xf:group
, and
. Each element name is the corresponding
cftree
and
tags, the element name is the value of the
cftree
tags of types
cfinput
element, or
xf:model
elements.
,
cfgrid
,
,
submit
image
reset,
789

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents