Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 806

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
</xf:item>
</xf:choices>
</xf:select1>
<xf:textarea bind="thoughts" id="thoughts">
<xf:label>Additional Comments</xf:label>
<xf:extension>
<cf:attribute name="type">textarea</cf:attribute>
<cf:attribute name="rows">5</cf:attribute>
<cf:attribute name="cols">40</cf:attribute>
</xf:extension>
</xf:textarea>
</xf:group>
<xf:group appearance="horizontal">
<xf:extension/>
<xf:submit id="submit" submission="comments">
<xf:label>Tell Us</xf:label>
<xf:extension>
<cf:attribute name="type">submit</cf:attribute>
<cf:attribute name="name">submit</cf:attribute>
</xf:extension>
</xf:submit>
<xf:submit id="reset">
<xf:label>Clear Fields</xf:label>
<reset ev:event="DOMActivate"/>
<xf:extension>
<cf:attribute name="name">reset</cf:attribute>
</xf:extension>
</xf:submit>
</xf:group>
Creating XSLT skins
You can create your own XSLT skins to process the XML that ColdFusion generates. You must be familiar with XSLT
and CSS programming. General information on writing XSLT transformations or CSS styles is not provided here.
However, information about the following areas is provided:
• How ColdFusion passes form attribute values to the XML file
• How to extend XSLT skins that ColdFusion provides as templates
• Basic techniques for extending the basic.xsl file to support additional
attributes
• How to extend the ColdFusion CSS files to enhance form appearance.
XSLT skin file locations
If you specify an XSLT skin by name and omit the .xsl extension, ColdFusion looks for the file in the
source directory and its subdirectories. You can specify the script source directory in your
attribute, and you can set a default location on the Settings page in the ColdFusion Administrator. When you install
ColdFusion, the default location is set to /CFIDE/scripts/ (relative to the web root).
You can also use a relative or absolute file path, or a URL, to specify the XSLT skin location. ColdFusion uses the
directory of the CFML page as the root of relative paths. The following formats are valid:
Last updated 1/20/2012
and
cfformgroup
cfformitem
tag
cfform
801
tag
type
script
cfform
scriptsrc

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents