SebTags 1.0 Documentation: getFieldsArray()

getFieldsArray()

If you are passing a ColdFusion component to the the CFC_Component attribute and the tag has no child tags (cf_sebField for cf_sebForm or cf_sebColumn for cf_sebTable), then the tag will look for a "getFieldsArray" method.

The getFieldsArray method should return an array of structures. Each structure will represent the attributes of the child tag (cf_sebField or cf_sebColumn).

Each tag will pass in a "transformer" argument. It will be "sebColumn" if each structure should represent a cf_sebColumn and "sebField" if each structure should represent a cf_sebField.

The parent tag will then use each structure in the array as a nested tag, in the order of the array.