1 Reply Latest reply on Nov 29, 2012 8:14 AM by Suren s

    CDI bean List in datatable is null on submit from JSF

    Jose K Newbie

      1.       Controller Bean (TestController.java) which is in RequestScope (enterprise context) is called index_cut.xhtml, when load for the first time this page.

       

       

      We also have tried with ConversationScope but that failed too

       


       

      2.       On button “Load”, we load the following method to populate the sapFinancialPeriodList

       

      <<XHTML Code>>




      << XHTML Result >>

       

      3.       After changing the content on the page, the sapFinancialPeriodList come as NULL the following method –

       

      <<XHTML Code>>

       

      <<JAVA Code>>

       

       

      The list is null at this point.