Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DCIteratorBinding getAllRowsInRange is not getting all rows

DLopezFeb 21 2018 — edited Feb 22 2018

Hi,

Using Jdev 12.2.1.2.

I have a jsff fragment with a table with records of Documents:

- first time some one access it it will show the current day documents;

- after that the user can change the filters to look for a specific document

At the bottom of the page I will show the totals of the documents (counters and other values).

To calculate those totals I will access the Iterator of that table and loop for each record, for that I use DCIteratorBinding getAllRowsInRange to obtain all rows returned from my WebService (REST).

The problem I'm having is:

- that the first time, getAllRowsInRange method returns me 1 row that is empty, so I only see zeros (problem) - I have 3 rows on the original response and the table presents them

- if I change the date filter and execute the service again, getAllRowsInRange will return me the correct amount of rows and will calculate the total amounts (all good)

- if I change the filter back to today's date, it will also work as it should be (all good)

I'm currently out of ideas. Can any one help?

Thanks

Daniel

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 22 2018
Added on Feb 21 2018
6 comments
1,059 views