Adobe COLDFUSION 9 Manual page 782

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
You can use both techniques in combination: you can specify a skin for your form and use styles to specify the
appearance (such as input text font) of individual controls.
For detailed information on the style names and values that you can use, see ColdFusion Flash Form Style Reference
in the CFML Reference.
Controlling form appearance with Flash skins
The cfform tag takes a
skin
the color used for highlighted and selected elements.
You can select the following Flash skins:
• haloBlue
• haloGreen (the default)
• haloOrange
• haloSilver
About Flash form styles
The ColdFusion Flash form tags have a
You can specify a
attribute in the following tags:
style
cfform
cfformgroup
cfcalendar
• cfformitem, types
hrule
cfgrid
cfinput
cfselect
cftextarea
cftree
The attributes for the
cfform
Flash supports many, but not all, standard CSS styles. ColdFusion Flash forms only support applying specific CSS
style specifications to individual CFML tags and their corresponding Flash controls and groups. You cannot use an
external style sheet or define a document-level style sheet, as you can for HTML forms.
Flash form style specification syntax
To specify a Flash style, use the following format:
style="stylename1: value; stylename2: value; ..."
For example, the following code specifies three style values for a text input control:
<cfinput type="text" name="text2" label="Last"
style="borderSyle:inset; fontSize:12; backgroundColor:##FFEEFF">
About Flash form style value formats
Style properties can be Boolean values, strings, numbers, or arrays of these values.
attribute, which lets you select an overall appearance for your form. The skin determines
attribute that lets you specify control characteristics using CSS syntax.
style
and
vrule
and
generally apply to all the form or form group's children.
cfformgroup
Last updated 8/5/2010
777

Advertisement

Table of Contents
loading

Table of Contents