Package br.gov.frameworkdemoiselle.annotation

Examples of br.gov.frameworkdemoiselle.annotation.Redirect


    super(wrapped);
  }

  protected boolean handleException(final Throwable cause, FacesContext facesContext) {
    boolean handled = false;
    Redirect annotation = cause.getClass().getAnnotation(Redirect.class);

    if (annotation != null) {
      handled = true;
      Redirector.redirect(annotation.viewId());
    }

    return handled;
  }
View Full Code Here

TOP

Related Classes of br.gov.frameworkdemoiselle.annotation.Redirect

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.