Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 790

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Example: a simple skinnable form
The following image shows a simple XML skinnable form that uses the default skin to format the output:
This form is used in the examples and description.
Building XML skinnable forms
You build ColdFusion XML skinnable forms using standard ColdFusion forms tags, including
tags. These tags create the elements of the form, the building blocks of the form.
cfformitem
ColdFusion converts the following tags to XML for processing by the XSLT:
Standard ColdFusion form data control tags
tags specify the controls that the form displays.
Add individual items to your form, such as text or rules. The valid types depend on the skin.
cfformitem tags
Group, organize, and structure the form contents. The valid types depend on the skin.
cfformgroup tags
These tags are designed so you can develop forms in a hierarchical structure of containers and children. Using this
model, the
tag is the master container, and its contents are children containers and controls. Each
cfform
tag defines a container that organizes its child elements.
cfformgroup
The specific tags and attributes that you use in your form depend on the capabilities of the XSLT skin. You use only
the tag and attribute combinations that the skin supports. If you are using a skin provided by a third party, make sure
that the supplier provides information on the supported attributes.
Using standard ColdFusion form tags
You use standard ColdFusion form tags, such as
generate form input elements. ColdFusion maps most of these tags and their subtags (such as
tag) to equivalent XForms elements. ColdFusion maps applet and Flash format
cfselect
ColdFusion XML extensions that contain Java applet or Flash objects. It converts XML format
tags to ColdFusion XML extension.
The specific attributes you can use and their meanings can depend on the skins.
Using ColdFusion skins: The skins that are supplied with ColdFusion support the attributes that you can use with
HTML forms. You can also use
with
attribute values of
cfinput
type
The
,
cfgrid
cfinput
or
cfinput
attributes to provide labels for the following tags:
label
,
,
text
button
password
Last updated 1/20/2012
,
,
cfselect
cfslider
, as you normally do in standard CFML forms to
cftree
, and
file
and
cfformgroup
,
, and
cftextarea
tree
tags in the
option
and
tags to
cfgrid
cftree
and
cfgrid
cftree
785

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents