I have been asked to place one more array into the [login to view URL]; it is almost identical to the RISLINEITEMSData. This one is called UserDefined Fields –
Domain model is:
[login to view URL]
Controller and Service is:
RISUDFController and RISUDFService.
Array file
Very similar to [login to view URL] -> I’m calling this on [login to view URL] (this file will go into [login to view URL])
Note:
At the top of RISPOSTController in “/risposts” I have added (AND NOT SURE IT IS RIGHT)
List risudfs = [login to view URL]();
//add the data to the model
[login to view URL]("risudfs", risudfs);
//then in the
@RequestMapping(value = "/risposts/add2", method = [login to view URL])
I see you do a
for(RISLINEITEMSData lineItem : [login to view URL]()) {
I’m assuming I would add the risudfs to this so I can populate the risudfarray
NOT sure this is correct …
int i = 0;
for(RIUDFSData risudfs : [login to view URL]()) {[login to view URL]("Merc["+i+"]", [login to view URL]());
[login to view URL]("label["+i+"]", [login to view URL] ());
[login to view URL]("description["+i+"]", [login to view URL]());
[login to view URL]("type["+i+"]", [login to view URL]());
i++;
}
I will then need to include:
to the [login to view URL]
My questions are:
1) I do not know how to add the risudfs information to the
@RequestMapping(value = "/risposts/add2", method = [login to view URL])
2) Not sure how to loop through the ‘similar scenario’ -> for(RISLINEITEMSData lineItem : [login to view URL]()) {