• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

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?






 
This is my favorite show. And this is my favorite tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic