I recently added a pager control to an Xpage custom control. I usually use the default of “Sample 1″ for “Pager style”, but I wanted a last page button, so decided on Sample 4.
Sample 4 should look like this:
|< <Page 1 | 1|2|3|4|5 > >| per the example shown in the control.
But when I added it to my custom control, it kept looking like this:
|< <Page 1 | 1|2|3|4|5 > ..
My application was using the OneUI theming and CSS, so I kept thinking it was getting cut off somehow and I just wasn’t seeing the whole control. Silly me.
After some poking around, I found “alwaysCalculateLast” in the All Properties tab for the pager control. Now my pager looks just like the example. Why the default settings don’t make it look like the example is beyond me, but there ya go.