コード例 #1
0
ファイル: Login.java プロジェクト: peterliujava/heat
 Object onActionFromLogout() throws RemoteException {
   persistentLocale.set(
       new Locale(service.getSOInterfaceConfiguration(visitor.getId()).getDefaultLanguage()));
   logout();
   cmpResources.discardPersistentFieldChanges();
   if (_request.getSession() != null) _request.getSession().invalidate();
   return Login.class;
 }
コード例 #2
0
 Object onActionFromCancel() throws ValidationException {
   cmpResources.discardPersistentFieldChanges();
   return SearchCustomer.class;
 }
コード例 #3
0
 Object onActionFromFinish() throws RemoteException {
   customer.setContacts(contacts.toArray(new Contact[contacts.size()]));
   service.updateContact(customer);
   cmpResources.discardPersistentFieldChanges();
   return SearchCustomer.class;
 }
コード例 #4
0
ファイル: Question2.java プロジェクト: peterliujava/heat
 public Object onActionFromClearPage() {
   cmpResources.discardPersistentFieldChanges();
   return null;
 }