cfmessagebox
9

Overview ColdFusion Open BlueDragon Lucee

Creates MessageBox

Attributes

Name Required Type Default Description
9
bodyStyle No String A CSS style specification for the body of the message box. As a general rule, use this attribute to set color and font styles
9
buttonType No String Applies to the control type - confirmThe buttons to display on the message box
9
callbackHandler No String Callback function which will be called when any ok|no|cancel button is clicked
9
icon No String Specifies the following CSS classeserror: Provides the error icon. You can use this icon when displaying error messages.info: Provides the info icon. You can use this icon when displaying any information.question: Provides the question icon. You can use this icon in a confirmation message box that prompts a user response.warning: Provides the warning icon. You can use this icon when displaying a warning message
9
labelcancel No String The text to put on the cancel button of a prompt message box.
9
labelno No String The text to put on the button used for a negative response in a confirm message box.
9
labelok No String The text to put on a alert button and prompt messge box OK button.
9
labelyes No String The text to put on the button used for a positive responsein a confirm message box.
9
message Yes String Message text which will be displayed
9
modal No Boolean A Boolean value that specifies if the message box should be a modal window
9
multiline No Boolean false Applies for prompt action only. Signify whether prompt is textarea(multiliner) or oneliner(textField)Default=false
9
name Yes String Name of the messageBox
9
title No String The title for the message box.
9
type Yes String Type of action to be performed
9
width No Numeric Width of the message box in pixels.
9
x No Numeric The X (horizontal) coordinate of the upper-left corner of the message box .ColdFusion ignores this attribute if you do not set the y attribute.
9
y No Numeric The Y (vertical) coordinate of the upper-left corner of the message box.ColdFusion ignores this attribute if you do not set the x attribute.