• 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Anybody used displayTag for paging in JSF??

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using displayTag for pagination - inspired by the application hosted on equinox.
The pagination displays perfectly fine when the first request in made, bur when I click on any of the additional links to proceed to the next page etc.. I get an 404 error...

Here is the code which I have in the jsp:




I have also tried browse.jsp (the actual name) but even that gives the same error - 404.
Has anyone used displayTag before?? Can someone please help me resolve this...
If this doesnt work then I guess I will have to explore myfaces pagination options...

Thanks,
Anoop
 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Anoop,

I also came across the same problem with the display tag. It seems that the pagination does not work since the display tag does not cooperate with JSF. I think it does not know which page we are on which is why you get a 404.

You could probably adjust something in the code of display tag to get it working but I guess that would be complex.

I will be exploring the ValueList tag next and see what happens.
 
reply
    Bookmark Topic Watch Topic
  • New Topic