Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

What's the defference between "new>PoItem" and "new>/PoItem" in data binding?

$
0
0

Hi experts,

    I'm confused about this question,What's the defference between "new>PoItem" and "new>/PoItem" in data binding?

    I create a model like this:

        var newModel = new sap.ui.model.json.JSONModel(sRootPath + "/model/mock.json");this.setModel(newModel, "new");

    When I do data binding,Sometimes "<Input type="Text" placeholder="{i18n>PoItem}" value="{new>/CompCode}" />" works,

    but sometimes "<Input type="Text" placeholder="{i18n>PoItem}" value="{new>CompCode}" />" works,why?


Viewing all articles
Browse latest Browse all 3523

Trending Articles



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