{
int sizeOfSelectedColumn = viewForm.getSelectedColumn().length;
String[] selectedColumnArray = viewForm.getSelectedColumn();
for (int i = 0; i < sizeOfSelectedColumn; i++)
{
ViewColumnVO columnVO = new ViewColumnVO();
DDNameValue ddSelectedColumn = new DDNameValue(selectedColumnArray[i], selectedColumnArray[i]);
columnVO.setColumnOrder(i+1);
columnVO.setColumnName(selectedColumnArray[i]);
columnInfo.add(columnVO);
selectedColumn.add(ddSelectedColumn);
} //end of for loop (int i = 0; i < sizeOfSelectedColumn; i++)
} //end of if statement (viewForm.getSelectedColumn() != null)