Say for example you have a parent node and a child node. Why should one go for supply function when they can even initialize the values for the node in the DOINIT method of controller? DOINIT method is called only at the time of initialization of the component whereas supply function is called each and every time the element of the context node is accessed. Context node has been invalidated in previous step Context node is not filled yet or Initialģ. One or more elements of the context node are accessed.Ģ. This function is called by the runtime when the context node is accessed.ġ. Supply functions are assigned to the context node of the controller.
0 Comments
Leave a Reply. |