示例#1
0
 public void drawSecretNotify(boolean bol, int error) {
   pSecretError.clear();
   if (bol == true) {
     pSecret.setStyleName("core-CreateUserAccount-ErrorInput");
     if (error > 0) {
       pSecretError.add(new HTML(UserData.getError(error)));
     }
   } else {
     pSecret.removeStyleName("core-CreateUserAccount-ErrorInput");
     pSecretError.clear();
   }
 }
 @Override
 @Export
 public void removeStyleName(String className) {
   super.removeStyleName(className);
 }