0 Replies Latest reply on Nov 19, 2008 7:58 AM by bala.bala_kuppuraj.yahoo.com

    dashboard caching problem

    bala.bala_kuppuraj.yahoo.com
      Hi
        
        I am getting problem in dashboard caching issue. After insert some data in a form page and save them.i come to dashboard page,the data was not included because i set as a session scope.It updates only after sign out and sign in.

      When i change to page scope, its work fine. I want the data to cache in dashboard after insert new data,without changing the session scope. or
      Any tag i have to include in xhtml file.

      This is code actually i am getting problem. can give solution for this code.

      @Name("dashboard")
      @Scope(ScopeType.SESSION)
      public class Dashboard
      {
      @In private User user;
          @In private DashboardDAO dashboardDAO;
      private obeject[]companyStats;
      @Create
         public void getDashboardReports() throws DatabaseException a\
          {
      long companyId '=' user.getCompanyId();
      companyStats '=' dashboardDAO.getCompanyStats(companyId);
        }


      thanks
      bala