Commit 8836de84 by s_guodong

update

parent 43073083
...@@ -80,6 +80,17 @@ public class MdaDriver { ...@@ -80,6 +80,17 @@ public class MdaDriver {
} }
} }
return moduleList; return moduleList;
} else if (IPanel.class.isAssignableFrom(field.getType())) {
IPanel panel = (IPanel) field.get(root);
if (helpLoad && panel == null) {
String getMethodName = "get" + fieldName.substring(0, 1).toUpperCase() + fieldName.substring(1);
try {
Method m = clazz.getMethod(getMethodName);
panel = (IPanel) m.invoke(root);
} catch (Exception e) {
}
}
return panel;
} else //其他类型默认为字段 } else //其他类型默认为字段
{ {
DatafieldImpl holder = new DatafieldImpl(root, field); DatafieldImpl holder = new DatafieldImpl(root, field);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment