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

Exception in executing a view with IconTabBar...

$
0
0

Hi,

 

I wrote the following view and got this error: Uncaught TypeError: Cannot read property 'clone' of undefined

 

<core:View xmlns:core="sap.ui.core"  xmlns:l="sap.ui.layout" xmlns="sap.m" xmlns:table="sap.ui.table"  controllerName="com.sap.solman.setup.overview.view.Master">  <Page id="scenarioStepListPage" title="{Description}" showNavButton="true" navButtonPress="onNavBack" >        <IconTabBar                id="idIconTabBar"                select="onFilterSteps"                class="sapUiResponsiveContentPadding">            <items>                 <IconTabFilter showAll="true" count="1" text="Step(s)" key="All" />                 <IconTabSeparator/>                 <IconTabFilter icon="sap-icon://status-completed"  iconColor="Positive" count="2" text="Txt" key="S" />                 <IconTabFilter icon="sap-icon://status-in-process" iconColor="Critical" count="3" text="Txt" key="W" />                 <IconTabFilter icon="sap-icon://status-error"      iconColor="Negative" count="4" text="Txt" key="E" />                 <IconTabFilter icon="sap-icon://status-inactive"   iconColor="Default"  count="5" text="Txt" key="I" />            </items>            <content>            </content>        </IconTabBar>    </Page></core:View>

If I add a footer got another error: Cannot add direct child without default aggregation defined for control sap.m.IconTabBar

 

Tried also to add controls in content without success...

 

Maybe this tells you something meaningful but not for me!

 

Regards,

Serge.


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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