*/
public class UpdateJspFields implements Visitor {
public Object visitTemplateElement(TemplateElement element)
{
ModuleConfModel moduleConf = element.getModuleConf();
String moduleName = ((ExtendConfModel)moduleConf.getMapExtends().get("moduleName")).getValue();
String domainFields[] = ((ExtendConfModel)moduleConf.getMapExtends().get("domainFields")).getValues();
String domainFieldsNames[] = ((ExtendConfModel)moduleConf.getMapExtends().get("domainFieldsNames")).getValues();
StringBuffer buffer = new StringBuffer("");
for(int i = 0; i < domainFields.length; i += 2)
{
buffer.append("<tr>\n\t");
buffer.append((new StringBuilder("<td>")).append(domainFieldsNames[i]).append("</td>\n\t").toString());