componentListPackage

Returns an array of the component names in a package. Throws an error if the package doesn't exist.

componentListPackage(package) → returns array

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

package string
Required

The dotted package name, such as org.lucee.cfml. packageName and name are aliases.

Examples
Sample code invoking the componentListPackage function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub