on 2013 Dec 18 9:42 AM
Request clarification before answering.
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".
@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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.