1 Reply Latest reply: Jul 29, 2012 10:13 AM by 933532 RSS

    difference between setWhereClauseParams and setWhereClause

    senthur
      Hi All,

      can anyone explain me the difference between setWhereClauseParams and setWhereClause ? and
      difference between setForwardURL and forwardImmediately() ?
      diffrenece between firePartialAction and fireAction?


      Thanks
      Senthur

      Edited by: senthur on Jul 28, 2012 3:55 PM
        • 1. Re: difference between setWhereClauseParams and setWhereClause
          933532
          Hi Senthur,

          My understanding is as below:

          1) setWhereClauseParams and setWhereClause :
          ===========================================

          setWhereClauseParams: talks about the parameters which we are using in the where clause.

          setWhereClause: talks about the complete where clause it containd parameters & order by clause etc....

          2) setForwardURL and forwardImmediately:
          ========================================

          setForwardURL: when we call this in the page, it will perform the soft close on the current page then forwards to next page.

          forwardImmediately: when we call this in the current page, immediately control will transfer to the next page, without considering the current page state.

          3) firePartialAction and fireAction:
          =====================================

          firePartialAction: when control encounters this, only limited values(from the region which is setup as PPR) will be passed to CO. this will reduce the network traffic.



          fireAction: In this case, all the values from the page will be submitted to CO.

          Regards,
          Naren.