Activity Forums Salesforce® Discussions In Custom Component, how we can return value to Custom Controller or Controller Extension in Salesforce?

  • shariq

    Member
    September 22, 2018 at 9:34 PM

    In Apex, Objects are passed by reference, So supply an argument of wrapper class (object) type to custom component. If its value is changed in Custom component we will get updated value in controller also.

  • [adinserter block='9']
  • Parul

    Member
    September 23, 2018 at 5:42 AM

    Objects are passed by instance so the value is changed in custom component we will get updated value in controller also.

    Thanks

Log In to reply.