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

declarative HTMLView and control id binding

$
0
0

Hi ,

 

have someone a solution for databinding of id of a control ?

I think the problem is the html view  will be checked before it filled with the data from the binding .

 

 

f.e.

<template data-controller-name="view.Home">          <div data-sap-ui-type="sap.m.Page" data-title="Workflows" class="sapMPageHideHeaderWhenShellHeader" data-enable-scrolling="false">                    <div data-sap-ui-type="sap.m.TileContainer" data-tiles="{lanes>/ywflanesCollection}">                              <div data-sap-ui-aggregation="tiles">                                        <div data-sap-ui-type="sap.m.StandardTile"                                                  id="{lanes>event}"                                                  data-title="{lanes>text}"                                                   data-number="{path:'lanes>text',formatter:'util.Formatter.wfTaskCount'}"                                                   data-icon="sap-icon://inbox"                                                  data-press="orangeTileTap" >                                        </div>                               </div>                    </div>          </div></template>

 

error:

 

Uncaught Error: "view.Home--{lanes>event}"

 



Viewing all articles
Browse latest Browse all 6178

Trending Articles



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