on 06-28-2016 1:01 PM
Hello Experts,
I have defined model in menifest like :
"tile" :{
"type" : "sap.ui.model.json.JSONModel",
"uri" : "model/tile.json"
}
OnInit i have written like below:
onInit : function(){
var mTileInfo = this.getOwnerComponent().getModel("tile");
this.getView().setModel(mTileInfo);
And my View is like below:
<TileContainer
id="container"
tiles="{tile>/TileCollection}">
<StandardTile
icon="{icon}"
title="{title}"
info="{info}"/>
</TileContainer>
But Tiles are getting displayed without any information( ie without icon, title, info ) as defined in the tile.json.
thanks,
Abhi
Hello,
Just a small issue I found. I fixed it myself.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.