Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 789

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
How ColdFusion processes XML skinnable forms
When ColdFusion processes a
Converts the CFML form tags into an XForms-compliant XML text format and makes it available in a variable with
1
the same name as the form. ColdFusion ignores inline text or HTML tags in the form, and does not pass them to
the XML. (It does process HTML
Applies an XSLT skin to the XML; for example, to convert the form into HTML. The XSLT file specifies the CSS
2
style sheet.
3
Returns the resulting, styled, form to the client, such as a user's browser.
If you omit the
tag
cfform
skin
If you specify
, ColdFusion performs the first step, but omits the remaining steps. Your application must
skin="none"
handle the XML version of the form as needed. This technique lets you specify your own XSL engine, or incorporate
the form as part of a larger form.
ColdFusion XSL skins
ColdFusion provides the following XSLT skins:
• basic
• basiccss
• basiccss_top
• beige
• blue
• default
• lightgray
• red
• silver
The XSLT skin files are located in the cf_webroot\CFIDE\scripts\xsl directory, and the CSS files that they use for style
definitions are located in the cf_webroot\CFIDE\scripts\css directory.
The default skin and the basic skin format forms identically. ColdFusion uses the default skin if you do not specify a
attribute in the
skin
cfform
contents. The basic skin uses
basic skin, but make more use of color.
tag that specifies XML format and an XSLT skin, it does the following to the form:
cfform
tags that are children of a
option
attribute, ColdFusion uses a default skin.
tag. The default and basic skins are simple skins that use tables for arranging the form
and
tags to arrange the elements. The skins with names of colors are like the
div
span
Last updated 1/20/2012
tag.)
cfselect
784

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents