How can Pagination be achieved in portlets ?

HI,

I wanna implement pagination in portlets.

Ex: I display 20 pages .. 1, 2 , 3, 4, 5, 6, 7, 8..

So i will have following clickable texts...

prev>> 1 2 3 4 5 6 7 8 9 10 next<<

when i select 3 , it should route me to page no 3.

when i click on next it should display me the following

prev>> 11 12 13 14 15 16 17 18 19 20

Any ideas ?

[393 byte] By [dev2007a] at [2007-11-27 11:30:51]
# 1

Well using the solution provided by display tag wud be a better idea...

http://displaytag.sourceforge.net/

Don't forget to checkout documentation with regards to JSR168 Applns.

however,there are lot many other solutions which we can think of....but the complexity wud be lot more.

Hope that might help :)

REGARDS,

RaHuL

RahulSharnaa at 2007-7-29 16:36:16 > top of Java-index,Java Essentials,Java Programming...
# 2

Hi,

Here You go......

http://forum.java.sun.com/thread.jspa?threadID=5194183

drvijayy2k2a at 2007-7-29 16:36:16 > top of Java-index,Java Essentials,Java Programming...
# 3

> Hi,

>

> Here You go......

>

>

> http://forum.java.sun.com/thread.jspa?threadID=5194183

My friend i'm afraid to say this but the one Suggested by you will not work on Portlet Environment under a Portlet Container.

It wud be gr8 if you can revisit Basic Concepts of Portal,Portlet Container,Portlets & a Servlet,Servlet Container.

REGARDS,

RaHuL

RahulSharnaa at 2007-7-29 16:36:16 > top of Java-index,Java Essentials,Java Programming...
# 4

Thanks very much ..

i dont want to use any third party tool to acheive this...

any other idea?

can it be achieved through navigation:shift tab..

how can i achieve it using portal programming itslef?

dev2007a at 2007-7-29 16:36:16 > top of Java-index,Java Essentials,Java Programming...