Components
The recommended method by which cf_sebTable should interact with data is via ColdFusion Components. It has several built in methods to define these interactions.
- CFC_Component: The instantiated component (for example #Application.Employees#).
- CFC_GetMethod: The name of the method used to retrieve the query of records to be displayed in the table.
- CFC_GetArgs: An optional structure of arguments to pass to the CFC_GetMethod method.
- CFC_DeleteMethod: The name of the method used to handle deletions (it should accept an argument with the name of pkfield attribute).
- CFC_DeleteArgs: An optional structure of additional arguments to pass to the CFC_DeleteMethod method.
- CFC_SortMethod: See sorting
- CFC_SortListArg: See sorting
- CFC_SortArgs: See sorting
- CatchErrTypes: A comma delimited list of error types that should be handled the same as validation errors (displaying them to the user).
Note that many of these attributes could be defined via getMetaStruct().