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

Advanced XML View

$
0
0

Hey guys,

 

I wanna create an advanced XML View:

 

This is the code in the JS-View:

 

newsap.m.Page("page",{

title : "Test",

showNavButton : "true",

showFooter : "true",

customHeader:newsap.m.Bar({

     contentLeft:[newsap.m.Button({

     icon:"sap-icon://home",

     tap:function(){app.back();}

})],

     contentMiddle:[newsap.m.Label("title",{text:"{CategoryName}"

})]

}),

 

I started like this:

 

<core:View

  controllerName="sap.ui.demo.myFiori.MeineRouteApp.controller.Master"

  xmlns="sap.m"

  xmlns:core="sap.ui.core" >

  <Page

  title="Test"

  showNavButton = "true"

  showFooter = "true"

  customHeader = <Bar>

 

  </Bar>

  >

 

And thats the point I am struggling. How can I create the custumHeader?

 

Thanks + regards

 

Chris



Viewing all articles
Browse latest Browse all 9169

Latest Images

Trending Articles



Latest Images

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