4 Replies Latest reply on Feb 9, 2007 1:41 PM by Wilson Almeida

    Why don't instance RenderManager in Seam?

    Wilson Almeida Newbie

      Hello,

      I am using seam it with icefaces in my project.

      I want to acquire an object of the class RenderManager of Icefaces API in bean (Manter),
      but when I use Seam it, I do not obtain this object in bean (Manter).

      In faces-config.xml

      <managed-bean>
       <managed-bean-name>renderManager</managed-bean-name>
       <managed-bean-class>com.icesoft.faces.async.render.RenderManager</managed-bean-class>
       <managed-bean-scope>application</managed-bean-scope>
      </managed-bean>
      
      
      <managed-bean>
       <managed-bean-name>manter</managed-bean-name>
       <managed-bean-class>br.com.wapcash.test.component.Manter</managed-bean-class>
       <managed-bean-scope>request</managed-bean-scope>
       <managed-property>
       <property-name>renderManager</property-name>
       <value>#{renderManager}</value>
       </managed-property>
      </managed-bean>
      



      In Manter Bean
      
      @Name("manter")
      @Scope(ScopeType.SESSION)
      public class Manter implements Renderable {
      
       private RenderManager renderManager;
      
       public void setRenderManager(RenderManager renderManager){
       this.renderManager = renderManager;
       }
      
       public RenderManager getRenderManager(){
       return renderManager;
       }
      
       (...)
      


      A important reference:
      In icefaces tutorial here see a sample, this is timezone7.