Use REST to get data, the data format is a list format, but I dont know how to display it in the list

0
1.The first step is to enter the criteria in the search box The second step is to click the save button. but I don't know how to display the data from REST in the list below
asked
1 answers
1

Depends a bit on the type of entities. If you are using persistent entities or non persistent. Non persistent is not saved in the database and only exists in memory.

If you want to save and link the result to your search, you would have to iterate over the list and set the association to the search. Then when committing the list, you will be able to retrieve the associated data (eg via xpath).

If you don't need to store them and you are using np entities, you can do the same, but then you can only retrieve via association.

answered