Example #1
0
 /* (non-Javadoc)
  * @see com.mg.framework.generic.ui.DefaultDialog#onActionOk(com.mg.framework.api.ui.WidgetEvent)
  */
 @Override
 public void onActionOk(WidgetEvent event) {
   if (this.revalDate == null || this.AccPlan == null)
     throw new BusinessException(
         Messages.getInstance().getMessage(Messages.ACC_REVALUTE_NOT_CHOOSE_FIELDS));
   else super.onActionOk(event);
 }
Example #2
0
 /* (non-Javadoc)
  * @see com.mg.framework.generic.ui.AbstractForm#doOnRun()
  */
 @Override
 protected void doOnRun() {
   setTitle(this.accRevaluateDlgTitle);
   super.doOnRun();
 }