1 Reply Latest reply on Apr 29, 2011 2:07 AM by feuyeux

    Richfaces 3.3.3 and view scope

    ivancosta

      Hi,

       

      I'm trying to put my beans in view scope using

       

      <managed-bean>

              <managed-bean-name>foo</managed-bean-name>

              <managed-bean-class>foo.bar</managed-bean-class>

              <managed-bean-scope>view</managed-bean-scope>

      </managed-bean>   

       

      But the bean act as it's in request scope. No state is saved. Otherwise, it works fine if I use @KeepAlive.

       

      RF 3.3.3 doesn't work with <managed-bean-scope>view</managed-bean-scope> ?

       

      I'm using RF 3.3.3, Mojarra 2.1.1, Facelets 1.1.15

       

      Thanks in advance,

      Ivan

        • 1. Richfaces 3.3.3 and view scope
          feuyeux

          please check out what the jsf-impl version do you depend.

          If it's not jsf2.0, please get to know that there is only keepAlive exists.

          Additonally, I strongly recommend you to use annotation instead of configuration in xml.