ODataModel aggregation's getBindingContext() returns undefined [duplicate]
问题 This question already has answers here : getBindingContext() Returns undefined (2 answers) Closed 2 years ago . I have a sap.m.VBox control, of which the items aggregation is bound to an ODataModel dataset, and as such is being populated by a sap.m.HBox template control containing multiple sap.m.Input controls (which are bound to the respective ODataModel's dataset properties) In code: <VBox items="{/My_ODatamodel_Dataset}"> <items> <HBox> <Input value="{property1} change="doSomething"/>