List<Node> rowNodes = XMLUtil.getNodes(templateNode, "layout/rows/row");
for(Node rowNode : rowNodes)
{
List<Node> columnNodes = XMLUtil.getNodes(rowNode, "column");
FieldRow fieldRow = new FieldRow();
for(Node columnNode : columnNodes)
{
List<Node> fieldNodes = XMLUtil.getNodes(columnNode, "field");
FieldColumn fieldColumn = new FieldColumn();
for(Node fieldNode : fieldNodes)
{
Field tempField = initFieldNode(fieldNode);
fieldColumn.addField(tempField);
this.fieldSet.add(tempField);
}
fieldRow.addColumn(fieldColumn);
}
fieldRowList.add(fieldRow);
}
}catch(Exception e)