|
|
|
@ -662,7 +662,6 @@ public class NewCodeItemDialog extends Dialog {
|
|
|
|
|
System.out.println("当前创建的UI组件Label名称="+currentPropName);
|
|
|
|
|
if(currentPropName != null && currentPropName.equals("文档类别") && leftMostCodeRuleNameString != null && !leftMostCodeRuleNameString.equals("")){
|
|
|
|
|
System.out.println("“文档类别”匹配成功!属性值设置为最左侧选中编码名称="+leftMostCodeRuleNameString);
|
|
|
|
|
// widget.setText(leftMostCodeRuleNameString);
|
|
|
|
|
isDocType = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -721,7 +720,7 @@ public class NewCodeItemDialog extends Dialog {
|
|
|
|
|
} else if (cnProp.getPropertyType().toUpperCase().equals("BOOLEAN")) {
|
|
|
|
|
final Combo comb = CreateCompositeUtil.createNotFillNewCombo(objPropComposite,
|
|
|
|
|
new String[] { "true", "false" }); // new
|
|
|
|
|
comb.setText(cnProp.getDefaultValue()); // Combo(propTable,
|
|
|
|
|
// comb.setText(cnProp.getDefaultValue()); // Combo(propTable,
|
|
|
|
|
if (isDocType){
|
|
|
|
|
comb.setText(leftMostCodeRuleNameString);
|
|
|
|
|
}else {
|
|
|
|
|