0 Replies Latest reply on Sep 16, 2009 11:38 AM by jonjack

    HELP - Backing Bean created twice

      Hi

      Using: JSF, Facelets, Richfaces

      I have seen alot of posts after Googling my problem of my backing beans getting called twice that relate to the faces-config.xml being declared unnecessarily so registering the listeners twice:

      <context-param>
       <param-name>javax.faces.CONFIG_FILES</param-name>
       <param-value>/WEB-INF/faces-config.xml</param-value>
      </context-param>
      



      I have removed this but I still get my beans instantiated twice and this is causing me problems in my request scoped beans.

      Can anyone enlighten me on other possible causes of this behaviour. I have read that this is normal but hitting my database twice for the same request seems pointless.

      Thanks in advance
      Jon