return get(row);
}
private Object getChildElement(Key key, Object defaultValue) {
PageContext pc = ThreadLocalPageContext.get();
// column and query has same name
if(key.equals(this.key)) {
return get(qry.getCurrentrow(pc.getId()),defaultValue);
}
// get it from undefined scope
if(pc!=null){
Undefined undefined = pc.undefinedScope();
boolean old = undefined.setAllowImplicidQueryCall(false);
Object sister = undefined.get(this.key,null);
undefined.setAllowImplicidQueryCall(old);
if(sister!=null){
try {
return pc.get(sister, key);
} catch (PageException e) {
return defaultValue;
}
}
}