3 Replies Latest reply on Feb 18, 2010 1:57 PM by Nick Belaevski

    RequestContext in RichFaces

    Jose Miguel Loor Apprentice



      I would like to know how to get the RequestContext in RichFaces. The main idea is to create a project for Andromda with RichFaces, not trinidad. I have to migrate some classes, and one of them has this code:


      public class AdfFacesContextWrapper
          implements java.io.Serializable
          private transient org.richfaces.context.RequestContext currentInstance = null;
          public org.richfaces.context.RequestContext getCurrentInstance()
              if (this.currentInstance == null)
                  this.currentInstance =
              return this.currentInstance;
          private static final long serialVersionUID = 1L;


      i would like to know how to make this work in a RichFaces environment