2 Replies Latest reply on Dec 16, 2008 1:45 PM by ohughes

    Component Rendered Before New Value Injected

    ohughes

      Hi All,


      Let me try and explain my situation,  I have a custom facelet component which has a seam component managing it (no scope specified, simply the name).  This component is reused within a panelTabSet, so when a user clicks on a new tab, the appropriate object is injected into the component manager from a seam component that is managing the whole page..


      Unfortunately, when the component is initially rendered, it contains no content, then when the user clicks on a tab, it is rendered but with the previous content, the user must click on the same tab again to make the component render the correct content.  It is as if the bijection goes on after the page has been drawn.


      Is there anyway that this bijection can happen before the screen is drawn?


      SEAM 2.1.0 SP1
      Icefaces 1.7.2 SP1
      JBoss 4.2.3 GA
      Java 1.6


      Thanks,
      Osian