10 Replies Latest reply on May 25, 2012 6:25 AM by Chandan Srivastava

    how to compare transient attribute of view object only

    Chandan Srivastava

      I am using JDev

      I am creating an adf table using view object.
      I added two transient field in view object named sum_applied_amt and sum_pass_amt (which are calculated field and have the sum of applied_amt and pass_amt respectively).

      Now on jsf page when user changes in pass_amt column it reflect the value of sum_pass_amt field also.
      At this point I need to add a validation that checks the value of that transient field, if the value of sum_pass_amt goes greater than sum_applied_amt it should through a message that pass amount must be less than or equal to applied ammount

      Please provide the solution ASAP