Hi Thomas,thank you for your response first.
I have created all object that you mentioned in your previous post included controller.js.
The only one change i have done is to add statement "return myButton" in my application and now the system does not get error 'sap' is not defined.
But i have an other problem when i run my html file with browsers : 'No view type specified'. I have added this statement :
type:sap.ui.core.mvc.ViewType.JS
but the above error persists....how can i solve this problem?
Thanks in advance.
Regards.
Dario.