Ok. In that case, isOnlyPage is equivalent to
(startPageOfPageSequence == index) && isLastPage
and then either replace the 'false' in the getSimplePageMaster call with
that expression, or replace
if (isOnlyPage)
with
if (isFirstPage && isLastPage)
Will either of these work with the rest o
I would agree with premise 1, but 2 is incorrect I believe. I don't have my
proper development environment in front of me at the moment, but I believe you
can trace the calls used to reach isValid back to PageProvider.cacheNextPage
where you will find code like:
SimplePageMaster spm = pageSeq.g
[EMAIL PROTECTED] wrote:
https://issues.apache.org/bugzilla/show_bug.cgi?id=40798
...
I haven't gone back to the spec or the code, but assuming 1) that an
only page is also both first and last, and 2) that isOnlyPage tells the
truth about the page being tested, the problem seems to be with th
https://issues.apache.org/bugzilla/show_bug.cgi?id=40798
--- Comment #8 from Dave Gerdt <[EMAIL PROTECTED]> 2008-07-08 14:02:49 PST ---
Created an attachment (id=22237)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22237)
Test whether a 'first' page can also be a 'last' page
Tes
https://issues.apache.org/bugzilla/show_bug.cgi?id=40798
--- Comment #7 from Dave Gerdt <[EMAIL PROTECTED]> 2008-07-08 13:59:23 PST ---
Looking for a solution to this first page/last page problem I found a potential
solution written by Ken Holman [1]. I assumed because he used it (and he seem