SebTags 1.0 Documentation: getMetaStruct()

getMetaStruct()

If you are passing a ColdFusion component to the the CFC_Component attribute, cf_sebForm will look for a "getMetaStruct" method in that component.

The getMetaStruct method should return a structure describing information about the component itself. It should have the following keys:

This allows you to keep your cf_sebForm and cf_sebTable code very short.

For example, you could have code like the following:

<cf_sebForm CFC_Component="#Application.Employees#">
	...
</cf_sebForm>

or:

<cf_sebTable CFC_Component="#Application.Employees#">
	...
</cf_sebTable>

Taking advantage of global attributes and/or getFieldsstruct() could reduce the code even further.