Package com.esri.gpt.framework.jsf

Examples of com.esri.gpt.framework.jsf.MessageBroker.addErrorMessage()


  } catch (UsernamePolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.username");
  } catch (PasswordPolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.password");
  } catch (PasswordConfirmationException e) {
    msgBroker.addErrorMessage("identity.profile.err.confirm");
  } catch (EmailPolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.email");
  } catch (javax.naming.NameAlreadyBoundException e) {
    msgBroker.addErrorMessage("identity.profile.err.userExists");
  }
View Full Code Here


  } catch (PasswordPolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.password");
  } catch (PasswordConfirmationException e) {
    msgBroker.addErrorMessage("identity.profile.err.confirm");
  } catch (EmailPolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.email");
  } catch (javax.naming.NameAlreadyBoundException e) {
    msgBroker.addErrorMessage("identity.profile.err.userExists");
  }
}
View Full Code Here

  } catch (PasswordConfirmationException e) {
    msgBroker.addErrorMessage("identity.profile.err.confirm");
  } catch (EmailPolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.email");
  } catch (javax.naming.NameAlreadyBoundException e) {
    msgBroker.addErrorMessage("identity.profile.err.userExists");
  }
}

/**
* Executes the sending of a user feedback message.
View Full Code Here

  String sEmail = msg.getFromAddress();
  String sBody = msg.getBody();
  String sSender = sEmail;
  if (!Val.chkEmail(sEmail)) {
    bOk = false;
    msgBroker.addErrorMessage("identity.feedback.err.email");
  } else if (sBody.length() == 0) {
    bOk = false;
    msgBroker.addErrorMessage("identity.feedback.err.body");
  } else if (sName.length() > 0) {
    sSender = sName;
View Full Code Here

  if (!Val.chkEmail(sEmail)) {
    bOk = false;
    msgBroker.addErrorMessage("identity.feedback.err.email");
  } else if (sBody.length() == 0) {
    bOk = false;
    msgBroker.addErrorMessage("identity.feedback.err.body");
  } else if (sName.length() > 0) {
    sSender = sName;
  }
 
  // send mail if ok
View Full Code Here

    user.setProfile(userUpdate.getProfile());
    msgBroker.addSuccessMessage("catalog.identity.myProfile.success");
    setNavigationOutcome(ResourceKeys.NAVIGATIONOUTCOME_HOME_DIRECT);
   
  } catch (EmailPolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.email");
  } catch (javax.naming.NameAlreadyBoundException e) {
    msgBroker.addErrorMessage("identity.profile.err.userExists");
  }
}
View Full Code Here

    setNavigationOutcome(ResourceKeys.NAVIGATIONOUTCOME_HOME_DIRECT);
   
  } catch (EmailPolicyException e) {
    msgBroker.addErrorMessage("identity.profile.err.email");
  } catch (javax.naming.NameAlreadyBoundException e) {
    msgBroker.addErrorMessage("identity.profile.err.userExists");
  }
}

/**
* Handles a user self care action.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.