Metadata
- Source
- FLUID-4776
- Type
- Improvement
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Antranig Basman
- Created
2012-08-22T15:08:46.214-0400 - Updated
2024-07-22T09:36:34.722-0400 - Versions
-
- 1.4
- Fixed Versions
-
- 1.5
- Component
-
- Framework
Description
Already a convention has been established, that involves boilerplate configuration as follows:
fluid.defaults("fluid.tests.child4257", {
gradeNames: ["fluid.eventedComponent", "autoInit"],
preInitFunction: "fluid.tests.child4257.preInit"
});
It should be the case that any function which conforms to such a naming scheme (consisting of the component name followed by one of the recognised lifecycle function names, preInit, postInit or finalInit) is automatically registered as a handler for the relevant lifecycle point.
Comments
-
Michelle D'Souza commented
2012-08-29T16:22:40.975-0400 Merged into project repo at 94149c04b1515082042d1b9e60259306b2797b64