Package org.jboss.portletbridge.richfaces

Examples of org.jboss.portletbridge.richfaces.RichFacesHelper


          .getFactory(FactoryFinder.APPLICATION_FACTORY);
      application = appFactory.getApplication();

      application.addELContextListener(this);
      try {
        richFacesHelper = new RichFacesHelper();
        RICHFACES_ENABLED = true;
      } catch (NoClassDefFoundError e) {
        // Do nothing, no Richfaces classes available.
        richFacesHelper = null;
        RICHFACES_ENABLED = false;
View Full Code Here


    if (null == viewRootClass) {
      // JDK-5 Double Checked Locking
      synchronized (this) {
        if (null == viewRootClass) {
          try {
            RichFacesHelper richFacesHelper = new RichFacesHelper();
            viewRootClass = richFacesHelper.getViewRootClass();
          } catch (NoClassDefFoundError e) {
            viewRootClass = UIPortletViewRoot.class;
          }
        }
      }
View Full Code Here

   private static final long serialVersionUID = -4023885603543145666L;
   private RichFacesHelper ajaxContext;

   public PortalPhaseListener() {
      try {
         ajaxContext = new RichFacesHelper();
      } catch (NoClassDefFoundError e) {
         // Do nothing, no Richfaces classes available.
         ajaxContext = null;
      }
   }
View Full Code Here

  private static final long serialVersionUID = -4023885603543145666L;
  private RichFacesHelper ajaxContext;

  public PortalPhaseListener() {
    try {
      ajaxContext = new RichFacesHelper();
    } catch (NoClassDefFoundError e) {
      // Do nothing, no Richfaces classes available.
      ajaxContext = null;
    }
  }
View Full Code Here

    if (null == viewRootClass) {
      // JDK-5 Double Checked Locking
      synchronized (this) {
        if (null == viewRootClass) {
          try {
            RichFacesHelper richFacesHelper = new RichFacesHelper();
            viewRootClass = richFacesHelper.getViewRootClass();
          } catch (NoClassDefFoundError e) {
            viewRootClass = UIPortletViewRoot.class;
          }
        }
      }
View Full Code Here

TOP

Related Classes of org.jboss.portletbridge.richfaces.RichFacesHelper

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.