private void dealMultChildHelper(DOTreeModel treeModel,
StringBuffer buffer, String instanceUid) {
for (Iterator itChild = treeModel.getChildren().iterator(); itChild
.hasNext();) {
DOTreeModel childModel = (DOTreeModel) itChild.next();
childModel.setDropDownID(treeModel.getDropDownID());
if (childModel.isSelf()) {
log.info("Enter is Self::::" + childModel.getL10n());
setTempPara(instanceUid, treeModel, childModel);
List list = childModel.getService().invokeSelect();
childModel.setContainerPane(treeModel.getContainerPane());
dealSelfLinkOnlyHelper(childModel, list, buffer, instanceUid);
} else {
if (childModel.getService() == null) {
buffer.append("\n<tree text=\"").append(
childModel.getL10n());
this.appendIconXML(treeModel, buffer);
appendSrc(childModel.getObjUid(), treeModel, instanceUid,
buffer);
buffer.append("\"/>\n"); // / xml 关闭符号
} else {
List listChilds = childModel.getService().invokeSelect(
instanceUid);
if (listChilds != null && listChilds.size() > 0) {
buffer.append("\n<tree text=\"").append(
childModel.getL10n());
this.appendIconXML(treeModel, buffer);
appendSrc(childModel.getObjUid(), treeModel,
instanceUid, buffer);
buffer.append("\"/>\n"); // / xml 关闭符号
}
}