oracle-databasemaf

Unable to display all properties of an object passed between amx pages


I am facing a difficulty in displaying the properties of an object passed from an amx page to another. My aim is to display all the fields of an object of class employee{String name,int age,String phone} on a separate amx page. But I'm only able to display the name field.

Here is my empList.amx

Here is my EmpDetails.amx

The reultant display on my simulator for EmpDetails.amx shows just the employee.name property and nothing else


Solution

  • You have to manually add other properties in to the bindings. Here you added only the 'name' property in the row. name property automatically bind with the Listview object while drag and dropping ListView component from the palette.

    Follow the below procedure

    enter image description here