Examples of addGlobalInfoMessage()


Examples of com.liferay.faces.portal.context.LiferayFacesContext.addGlobalInfoMessage()

      boolean sendEmail = true;
      RegistrantServiceUtil.add(creatorUserId, companyId, locale, submittedRegistrant, active, autoScreenName,
        sendEmail);

      String key = "thank-you-for-registering";
      liferayFacesContext.addGlobalInfoMessage(key, submittedRegistrant.getEmailAddress());
      submittedRegistrant.clearProperties();
    }
    catch (DuplicateUserScreenNameException e) {
      liferayFacesContext.addGlobalErrorMessage("the-screen-name-you-requested-is-already-taken");
    }
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.