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