Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Uncaught reference error: oBundle is not defined

$
0
0

I've the same problem.

 

I'm trying the SAP-Tutorial and get the same problem. "oBundle is not defined".

 

createContent : function(oController) {

var myButton = new sap.ui.commons.Button("btn");

myButton.setText(oBundle.getText("helloworld"));

myButton.attachPress(function(){$("#btn").fadeOut();});

return myButton;

}

 

"Uncaught Reference Error : oBundle is not defined".

 

Tutorial: Create a Hello-World SAP UI5 Application - SAP HANA Developer Guide for SAP HANA Studio - SAP Library

 

@David: There is nothing said, that the oBundle is to initialize before. I don't think I've to do it.

 

Thanks for your help.

 

Okay, now i think there is a mistake in the tutorial.

Maybe it should be: myButton.setText("helloworld");

 

Message was edited by: Dirk Raschke


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>