- February 8, 2017
- Posted by: user
- Category: Uncategorized
CFPROPERTY tag mainly do only two things.
- Useful in validation for web service return types.
- Add metadata to components.
cfproperty is very less used – it does not provide any validation for checking datatypes or set any default values to any instance so its presence can be useless in most of the cases.
If you are using any webservice and any component type is returning and you want to check type of instances(data) returned from that component , then cfproperty can be helpful.
If you are willing to have meta-data based system then cfproperty can be again helpful.