on 02-14-2014 10:13 AM
Hi,
i have a huge, wired problem.
I uses a JSON Model to get data from SAP Backend.
All times/dates are store in a timestamp yyyyMMddkkmmss
To display them in some sap.m.Tables I use a ColumnListItem where I add
multible DateTimeInputs:
new sap.m.DateTimeInput({
editable: false,
value : {
path : "ACTIVITY_DATE/results/0/TIMESTAMP_FROM",
type : new sap.ui.model.type.DateTime({source: {pattern: "yyyyMMddkkmmss"}, pattern: "dd.MM.yyyy HH:mm"})
}
}),
When I open the first time my first screen everthing is correct.
When I navigate to an other screen, where I display similar data and go back to the first screen all HH and mm are set to "0".
Somehow the model data have been changed. Could this happen by a formatter or where should I search for the bug???
Jens
Can you post the code,how you set the model and what you do during naviagation, binding model to control ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.