10 Replies Latest reply: May 25, 2012 1:25 AM by Chandan Srivastava RSS

    how to compare transient attribute of view object only

    Chandan Srivastava
      Hi

      I am using JDev 11.1.2.1.0

      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

      Thanks