Reputation: 36
I am working on a page in Tapestry 5.1, temporarily named TestPage.tml/TestPage.java, the .tml containing a grid control (<table t:type="grid" ... >
). When running the application, the grid displays all the data correctly, but I have a problem with pagination and column sorting. I'm running on localhost:8080
, and what happens is whenever I click on the grid's pagination links, or any column sorting link, the browser tries to go to testpage/
rather than the full URL, as evidenced by Chrome's address bar. Chrome then of course says the site could not be found.
To make matters stranger, I have another page that also has a grid and the sorting/pagination works fine. I'm not doing anything differently that I know of, with respect to the grid.
Other potentially pertinent info:
<a title="Go to page 23" href="testpage.grid.pager/23">23</a>
which should be treated as a relative URL, therefore taking me to localhost:8080/testpage.grid.pager/23
when clicked.<table t:type="grid" t:source="items" t:row="item" t:include="itemId,itemName,quantity" reorder="mark,itemId,itemName,quantity,summary" t:add="mark,features,summary" t:rowclass="prop:evenodd.next">
and again, the data displays just fine.I'd be happy to provide any other info if it could help lead to a solution. Thank you!
Upvotes: 1
Views: 171
Reputation: 36
So I upgraded my Tapestry to 5.3 (from 5.1) and lo and behold, the bug is gone!
Upvotes: 1