Package org.crank.message

Examples of org.crank.message.SimpleMessageManager


 
  public void processAction(ActionEvent event)
      throws AbortProcessingException {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    try {
      MessageManagerUtils.setCurrentInstance(new SimpleMessageManager());
      defaultActionListener.processAction(event);
     
        } catch (FacesException ex) {
            Throwable rootCause = ex;
            while (rootCause.getCause() != null && rootCause.getCause() != rootCause) {
View Full Code Here


   * Wrap method calls with error handling.
   */
  public Object invoke(MethodInvocation methodInvocation) throws Throwable {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    try {
      MessageManagerUtils.setCurrentInstance(new SimpleMessageManager());
      Object returnObject = methodInvocation.proceed();
     
      generateFacesMessages(facesContext);
     
      return returnObject;
View Full Code Here

TOP

Related Classes of org.crank.message.SimpleMessageManager

Copyright © 2018 www.massapicom. 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.