@HandlerInput(name="TableRowGroup", type=TableRowGroup.class, required=true),
@HandlerInput(name="NameList", type=List.class),
@HandlerInput(name="HasSelected", type=Boolean.class),
@HandlerInput(name="DefaultValueList", type=List.class)} )
public static void addRowToTable(HandlerContext handlerCtx) {
TableRowGroup trg = (TableRowGroup)handlerCtx.getInputValue("TableRowGroup");
List names = (List)handlerCtx.getInputValue("NameList");
List defaults = (List)handlerCtx.getInputValue("DefaultValueList");
Boolean hasSelected = (Boolean)handlerCtx.getInputValue("HasSelected");
MultipleListDataProvider dp = (MultipleListDataProvider)trg.getSourceData();
List data = dp.getLists();
ListIterator li = data.listIterator();
if (li.hasNext()) {
// Get the first List and create a new Map to represent the row
List list = (List) li.next();