Examples of viewId()


Examples of br.gov.frameworkdemoiselle.annotation.Redirect.viewId()

    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

Examples of org.omnifaces.cdi.Eager.viewId()

        sessionScopedBeans.add(bean);
      } else if (getAnnotation(beanManager, annotated, RequestScoped.class) != null) {

        if (!isEmpty(eager.requestURI())) {
          getRequestScopedBeansByRequestURI(eager.requestURI()).add(bean);
        } else if (!isEmpty(eager.viewId())) {
          getRequestScopedBeansByViewId(eager.viewId()).add(bean);
        } else {
          logger.severe(format(MISSING_REQUEST_URI_OR_VIEW_ID, bean.getBeanClass().getName(), RequestScoped.class.getName()));
        }
      } else if (getAnnotation(beanManager, annotated, ViewScoped.class) != null) {
View Full Code Here

Examples of org.omnifaces.cdi.Eager.viewId()

      } else if (getAnnotation(beanManager, annotated, RequestScoped.class) != null) {

        if (!isEmpty(eager.requestURI())) {
          getRequestScopedBeansByRequestURI(eager.requestURI()).add(bean);
        } else if (!isEmpty(eager.viewId())) {
          getRequestScopedBeansByViewId(eager.viewId()).add(bean);
        } else {
          logger.severe(format(MISSING_REQUEST_URI_OR_VIEW_ID, bean.getBeanClass().getName(), RequestScoped.class.getName()));
        }
      } else if (getAnnotation(beanManager, annotated, ViewScoped.class) != null) {
        if (!isEmpty(eager.viewId())) {
View Full Code Here

Examples of org.omnifaces.cdi.Eager.viewId()

          getRequestScopedBeansByViewId(eager.viewId()).add(bean);
        } else {
          logger.severe(format(MISSING_REQUEST_URI_OR_VIEW_ID, bean.getBeanClass().getName(), RequestScoped.class.getName()));
        }
      } else if (getAnnotation(beanManager, annotated, ViewScoped.class) != null) {
        if (!isEmpty(eager.viewId())) {
          getRequestScopedBeansByViewId(eager.viewId()).add(bean);
        } else {
          logger.severe(format(MISSING_VIEW_ID, bean.getBeanClass().getName(), ViewScoped.class.getName()));
        }
      }
View Full Code Here

Examples of org.omnifaces.cdi.Eager.viewId()

        } else {
          logger.severe(format(MISSING_REQUEST_URI_OR_VIEW_ID, bean.getBeanClass().getName(), RequestScoped.class.getName()));
        }
      } else if (getAnnotation(beanManager, annotated, ViewScoped.class) != null) {
        if (!isEmpty(eager.viewId())) {
          getRequestScopedBeansByViewId(eager.viewId()).add(bean);
        } else {
          logger.severe(format(MISSING_VIEW_ID, bean.getBeanClass().getName(), ViewScoped.class.getName()));
        }
      }
    }
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.