Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

SAPUI5 Concepts

$
0
0

Hi,

 

 

From the past days i am working on SAPUI5. Some of the concept that i was observed while working on it. Please correct me if i am wrong.

 

1.     All element in .index file are global elements.

2.     Suppose i have two view, i cannot define the same objectID (like , button textview) for both object in different view.js file.

    

     view1.view.js.

 

     var button = new button({ID : "button"})

 

     view2.view.js.

 

     var button = new button({ID : "button"})

 

 

    SAP doesn't allow me to create the button if the Id is same in different view.

 

3. We can use any element of any view.js in other view view.js file.

 

4. Just i have one question How we can use the Java class inside our project is it possible to use the java class in our project.

 

Regards,

Nishant


Viewing all articles
Browse latest Browse all 6178

Latest Images

Trending Articles



Latest Images

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