• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

jsp tag pagination and tiles

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?






 
There's a city wid manhunt for this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic