|
|
|
@ -102,8 +102,10 @@ public class Property extends AbstractComponent {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public Object get(Object obj, String name) {
|
|
|
|
public Object get(Object obj, String name) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
/*
|
|
|
|
String str = BeanUtils.getIndexedProperty(obj, name);
|
|
|
|
String str = BeanUtils.getIndexedProperty(obj, name);
|
|
|
|
System.out.println(str);
|
|
|
|
System.out.println(str);
|
|
|
|
|
|
|
|
*/
|
|
|
|
return BeanUtils.getProperty(obj, name);
|
|
|
|
return BeanUtils.getProperty(obj, name);
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|
throw runtimeException(e);
|
|
|
|
throw runtimeException(e);
|
|
|
|
|