adf 笔记

1>adf标准视图查询,用到RowMatch对结果查询,一定记得在vo.executeQuery()后,调用setRowMatch(null),否则其它页面的结果中会加上查询条件,导致结果不正确。

            PlanDetailVOImpl vo=   this.getPlanDetail1();
            RowMatch rm=new RowMatch();
            rm.setWhereClause("plan_type_sub_uuid='jdht'");
            vo.setRowMatch(rm);
            vo.executeQuery();
            vo.setRowMatch(null);

2>adf调用webservices,有返回值的方法,为空时返回"[]"而不是null

你可能感兴趣的:(ADF)