[
http://jira.jboss.com/jira/browse/JBSEAM-2821?page=all ]
Norman Richards closed JBSEAM-2821.
-----------------------------------
Resolution: Done
It's pretty trivial, but there are way too many booking examples to mess with all this
on every app on older branches, especially considering that the paging behavior is so
poor. Perhaps we should migrate booking to use EntityQuery, but I'd keep that to the
2.1 branch? In any event, I've fixed the main example for reference.
Page two of hotels list is empty when page size is 20 on all Booking
examples
-----------------------------------------------------------------------------
Key: JBSEAM-2821
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2821
Project: Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.1.0.A1, 2.0.1.GA
Reporter: Jay Balunas
Assigned To: Norman Richards
Priority: Minor
Fix For: 2.0.2.CR2, 2.1.0.BETA1
When on the main search page of any of the booking examples (Booking, JPA, hibernate,
etc...)
- change the page size to 20 and click "find hotels" with no search.
- You should see a full listing of hotels.
- Click on "More results" and the next page will show "No matching
hotels".
This is probably a minor tweak to the way the page counts are determined.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira