检查必填项的调用代码示例。

//检查必填项调用代码

KDLabelContainer[] container = new KDLabelContainer[] {

      contNumber, contName

};

exc = STRequiredUtils.checkRequiredItem(container);

 if (STUtils.isNotNull(exc)) {    

     super.handUIExceptionAndAbort(exc);

}


posted @ 2012-05-05 18:14  范永强  阅读(234)  评论(0编辑  收藏  举报