Nicole Liliana
03/25/2022, 1:58 PMarrayList = queryToArray(queryexecute("select id.... from products... where userid = ?"));
var returnArray=[];
for (i=1;i<=ArrayLen(arrayList);i++){
arrayAppend(returnArray, populator.populateFromStruct(target=getInstance('userProduct'), memento=arrayList[i],trustedSetter=true,ignoreEmpty=true));
}
return returnArray;
to create an array of objects and i use it to print data on the page
in the test the code use 1s to populate 10 object with this code
am I wrong in using the function?Daniel Mejia
03/25/2022, 4:31 PMuserProduct
objects. Now you can loop through this array and use the getters to output data.Daniel Mejia
03/25/2022, 4:32 PMMarco Liverani
04/07/2022, 9:54 AMdavid.kreimer
04/07/2022, 1:56 PMdavid.kreimer
04/07/2022, 1:57 PM?__cf_nodebug=true_
Marco Liverani
04/07/2022, 2:26 PMNicole Liliana
04/07/2022, 2:44 PMdavid.kreimer
04/07/2022, 2:55 PMMarco Liverani
04/11/2022, 9:10 AMRodney
04/11/2022, 12:43 PMMarco Liverani
04/11/2022, 12:46 PMRodney
04/11/2022, 2:00 PMRodney
04/11/2022, 2:02 PMNicole Liliana
04/11/2022, 2:46 PMScott Steinbeck
04/11/2022, 4:09 PMNicole Liliana
04/12/2022, 7:52 AM