2 Replies Latest reply on Mar 12, 2009 7:36 AM by Thiagu Mariappan

    call by reference method

    Thiagu Mariappan Novice

      hi every one


      if i pass any outjected component as a argument for action class method through jsf view page how it will be workes. if i make any changes on that on that argument within the method, can i acess the changes outside (i mean the changes will outjected again)


      code:
      this is the outjected user component from one class


          @Out(required = false)
          Products product;


      i am pass this product component as a argument to some other class through jsf expression language


      <h:commandButton action='#{order.add(product)}' valut=submit/>


      then imake some changes on the object within add method of order component
      can i get the changes outside without outject it again.


      by
      Thiagu.m