Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp tag pagination and tiles

 
vik ar
Ranch Hand
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 104
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?






 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic