property.getRelationProperty().getColName());
}
if (theValue != null && !"".equals(theValue.trim())) {
DOBO corrBO = property.getLinkBO();
if (corrBO == null && property.getLinkService() != null) {
corrBO = property.getLinkService().getBo();
}
if (theValue.indexOf(";") == -1) {
BOInstance bi = getAInstance(property, corrBO, theValue);
// /
// System.out.println("BOINSTANCE++++++++++++++++++++++++++++++++++++++"
// + bi);
BOInstance data = property.getData();
if (bi != null) {
// ///////////////////////////////////采用弹出方式
DOPaneModel theModel = property.getLinkPaneModel();
if (theModel != null
&& theModel.getLinkType() != null
&& (theModel.getLinkType().intValue() == DOPaneModel.LINKTYPE_TREEMODEL)) {
theModel = null;
}
if(bi.getName()!=null){
return DOValueService.stardardOnlyPane(property,bi.getName()).toString();
}else{
return DOValueService.stardardOnlyPane(property,property.getValue()).toString();
}
}
} else {
String[] strs = theValue.split(";");
StringBuffer buffer = new StringBuffer();
for (int i = 0; i < strs.length; i++) {
String aInsUid = strs[i];
BOInstance bi = corrBO.getInstance(aInsUid);
if (bi != null) {
DOPaneModel theModel = property.getLinkPaneModel();
if (theModel != null
&& theModel.getLinkType() != null
&& (theModel.getLinkType().intValue() == DOPaneModel.LINKTYPE_TREEMODEL)) {