output.append(" <input type='hidden' id='indexOfItemToDown' name='' value=''/>\n");
output.append(" <input type='hidden' id='indexOfItemToUp' name='' value=''/>\n");
boolean alternate = false;
String rowClass;
for (int i = 0; i < lovs.size(); i++) {
FixedListItemDetail lovDet = (FixedListItemDetail) lovs.get(i);
String name = lovDet.getValue();
String description = lovDet.getDescription();
//before sending name and description to the hidden input,
//substitute single and double quotes with their html encoding
name = GeneralUtilities.substituteQuotesIntoString(name);
description= GeneralUtilities.substituteQuotesIntoString(description);