aspose file tools*
The moose likes Struts and the fly likes jsp tag pagination and tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp tag pagination and tiles" Watch "jsp tag pagination and tiles" New topic
Author

jsp tag pagination and tiles

vik ar
Ranch Hand

Joined: Jul 31, 2009
Posts: 104
Hi. I managed to get a pagination solution working with the help of JSP tags as follows

Pagination.jsp



altavista.jsp


However when I try to integrate this code with my web app which uses tiles, the first page displays fine, however when I select any of the other pages I get the error org.apache.tiles.TilesException: Attribute 'pageTitle' not found.. My tiles code is as follows:

struts.xml



tiles.xml



I notice that when I hover my mouse on the page numbers the string in the bottom left corner of the browser is http://localhost:8080/website/jsp/Layouts/Layout.jsp?pager.offset=x
vik ar
Ranch Hand

Joined: Jul 31, 2009
Posts: 104
I'm not quite sure how but I have managed to get this working by altering altavista.jsp as follows



Whenever I click on a page number I get the following warning in my console. Any ideas why this issue is occuring?






 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jsp tag pagination and tiles