Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anybody used displayTag for paging in JSF??

 
Anoop V. Kumar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • 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
 
ernest fakudze
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic