cfsprydataset
8

Overview ColdFusion Open BlueDragon Lucee

Creates a Spry data set; can use bind parameters to get data from ColdFusion AJAX controls to populate the data set.

Attributes

Name Required Type Default Description
8
bind Yes String A bind expression that returns XML data to populate the Spry data set. The bind expression can specify a CFC function or URL and can include bind parameters that represent the values of ColdFusion controls. For detailed information on specifying bind expressions, see HTML form data binding in cfinput.
8
name Yes String The name of the Spry data set.
8
onbinderror No String The name of a JavaScript function to execute if evaluating the bind expression results in an error. The function must take two attributes: an HTTP status code and a message. If you omit this attribute, and have specified a global error handler (by using the ColdFusion.setGlobalErrorHandler function), the handler displays the error message; otherwise a default error pop-up displays.
8
options No String A JavaScript object containing options to pass to the data set.
8
type No String Specifies data set type, corresponding to the format of the data that is returned by the bind expression.
8
xpath No String Valid for XML type data sets only. An XPath expression that extracts data from the XML returned by the bind expression. The data set contains only the data that matches the xpath expression.