The TextView is in one of my Views (see Line 17).
sap.ui.jsview("location.calc.distancecalculator.DetailsPage", { /** Specifies the Controller belonging to this View. * In the case that it is not implemented, or that "null" is returned, this View does not have a Controller. * @memberOf location.calc.distancecalculator.DetailsPage */ getControllerName : function() { return "location.calc.distancecalculator.DetailsPage"; }, /** Is initially called once after the Controller has been instantiated. It is the place where the UI is constructed. * Since the Controller is given to this method, its event handlers can be attached right away. * @memberOf location.calc.distancecalculator.DetailsPage */ createContent : function(oController) { return new sap.m.Page({ title: "Details", content: [ new sap.ui.commons.TextView({ text: "Please select data on left", design : sap.ui.commons.TextViewDesign.H5 }) ] }); } });
Thank you,
Justin.