File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Anybody used displayTag for paging in JSF?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Anybody used displayTag for paging in JSF??" Watch "Anybody used displayTag for paging in JSF??" New topic

Anybody used displayTag for paging in JSF??

Anoop V. Kumar

Joined: Jan 21, 2006
Posts: 18
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...

ernest fakudze
Ranch Hand

Joined: Aug 27, 2001
Posts: 216
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.

In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer
I agree. Here's the link:
subject: Anybody used displayTag for paging in JSF??
It's not a secret anymore!