3 Replies Latest reply on Jun 8, 2009 1:46 PM by Leo van den berg

    how to call one moethod after another

    ashutosh deora Newbie

      i have methods  

      METHOD A(){
      QUERY 1 -  it will fetch small amount of data - i put this data in rich:datatable (TABLE  1) 


      METHOD B(){
      QUERY 2 - it will fetch huge amount of data (it will take some time to do it) 
       i will put this data also in rich:datatable (TABLE  1) 

      i have only one click to perform this
      condition:- i can click only once
      i have to complete method A then only i can execute METHOD B
      i cannot call method B in Method A

      now any budy can give me any idea for this
      session bean is the class from where the methods will be invoked and it will fill the data in a datatable