"); sb.append(" | "); } else { sb.append(" | ").append(" | "); } } sb.append(""); nextLine = true; currentCount = 0; } if (nextLine) { //进行隔行换色 if (currentLineCss) sb.append(" |
");
String DivCss = XFormModel.getCSSValue("DivCss");
DivCss = DivCss.equals("")? "":" class=\"" + DivCss + "\"";
sb.append(" " + field.getLabel()).append(" | ");
} else {
sb.append(""); sb.append("" + field.getLabel()).append(""); if(field.getValidate().isNeed()) sb.append(" *"); sb.append(" | "); //control sb.append("1) { int ColumnWidth = Integer.parseInt(field.getColumnWidth()) * 2 - 1; sb.append(" ColumnWidth=\"").append(ColumnWidth + "\""); } else { if (widthFlag[currentCount + 1] == 0) { widthFlag[currentCount + 1] = 1; sb.append(htmControlWidth); } } sb.append(" nowrap>"); sb.append(produceControlHtml(field, dataobject)); sb.append(" | "); } //结束行 if (result == columnCount) { sb.append(""); sb.append(" | "); } else { sb.append(" | ").append(" | "); } } sb.append(""); } //end sb.append(" |