Get the index of records on the current page

Hi,
How can I get all the index of the records shown on the current page?

What do you mean when you say “page”?
Are you referring to webclient records displayed on a table view form when you see the navigator like “<< < 1 2 3 … n > >>”? If yes there is no way to get extra info about which records are displayed, otherwise have a look at controller.getSelectedIndex and controller.getMaxRecordIndex() functions.

Create a label and check the “displaysTags” property. Then select the text property and click on the “…”-button to open the editor.
In there you’ll see a node “Standard tags”, which holds things like “currentRecordIndex”, “maxRecordIndex” and “pageNumber”.

Are those the things you’re looking for?

ngervasi:
Are you referring to webclient records displayed on a table view form when you see the navigator like “<< < 1 2 3 … n > >>”?

Yes. I’d like to select all the records on the current page by clicking a checkbox but I have no idea how I can get the index of those records.

Joas:
Create a label and check the “displaysTags” property. Then select the text property and click on the “…”-button to open the editor.
In there you’ll see a node “Standard tags”, which holds things like “currentRecordIndex”, “maxRecordIndex” and “pageNumber”.

But with this I still cannot get the number of records on the current page.

I know I can get the index if I click the first and last records on the page but I’d like to just click a check box to select all records on the current page without clicking the record to look for the beginning and ending index first.

As far as I know this is currently not possible.

Thanks for replying.