on 12-28-2014 7:29 PM
Hi ,
Please explain me the difference and significance of using path:/ and the plain model property name references from the below.
var oTextField1 = new sap.ui.commons.TextField({id : "Field1",value : {path : "/firstName"}}); | ||
var oLabel2 = new sap.ui.commons.Label({text : "Last Name:"}); |
var oTextField2 = new sap.ui.commons.TextField({id : "Field2",value : { | path : "/lastName"}}); |
var oTextView1 = new sap.ui.commons.TextView("textView1", {text : "{/firstName}"}); | ||
var oTextView2 = new sap.ui.commons.TextView("textView2", {text : "{/lastName}"}); |
When we need to use /path and when to use direct property names references?. Please Clarify.
Thanks,
Urmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.