Hi All,
I have a situation in which i am inserting a row in a view Object. The viewObject have a detail table with a view link.
So, I am trying to get the rows of Child table in the RowImpl of the Parent ViewObject. Here am using a getter in RowImpl to get the rows.
So the problem is that when i am getting rows by using viewAccessor in the rowImpl.. the rowCount is returning 2. And actually there is one row in the Child ViewObject.
And when i printed the key of the two rows. The both the rows have same key. I mean how is that possible.
And the other thing is that if am getting the rowcount from the AMImpl it is 1.
And on the page also only one row is shown.
And if i commit the data then also one row is shown in database.
But i dont knw why two rows are being returned in the rowImpl class.
And then if i open the master after refreshing the page. Then it starts retuning one row which is correct.
What may be the cause of this??
It happens when i insert a record the second time. I mean at first time i insert a record and commit the data. Then when i do the same at the second time, this problem is comming to picture.