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

Binding text ObjectAttribute Ui5

$
0
0

Hi, i'm new in SapUi5.

 

in my first page I have an input form, after I click search im going to set model like this:

 

sap.ui.getCore().setModel(oJsonModel,"VascheDetails");


After I call a new page I want to see the objects of the first row in ObjectHeader. I tried like this

 

<ObjectHeader  headerText="Dettagli vasca"         title="{VascheDetails>/0/Matnr}">         <attributes>           <ObjectAttribute title="Materiale" text="" />           <ObjectAttribute title="Partita" text="" />           <ObjectAttribute title="Codice Campagna" text="{VascheDetails>/0/Zccam}" />           <ObjectAttribute title="Data prod. vasca" text="{VascheDetails>/0/Datav}" />         </attributes>       </ObjectHeader>

 

but it doesn't work. How can I solve my problem?

 

Thank you

 

Giacomo


Viewing all articles
Browse latest Browse all 3303


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