Yes, We can read that pagesize from user also.
Steps.
1.Read Page size from user.
2.Get those number of records from DB.(Need to do some more coding).
3.Read the Pagesize from the request.
4. Put that one as pagesize.
These allows the user select no of records per page.
But we need to code more.
Thanks
Praveen
On 3/27/07, Adriel Manalansan <[EMAIL PROTECTED]> wrote:
Yes, but in your example you used a constant pagesize of 15. How can I
put a variable pagesize? Is there any solution except using a scriptlet
so it will be an OOP approach?
<ww:set name="studyList" value="studies" scope="request"/>
<display:table name="studyList" cellspacing="0" cellpadding="0"
requestURI="" style="width:100%"
id="studyList" *pagesize="(need to be a variable)"*
class="table" export="false" decorator="genericDecorator">
Again, thank you for your immediate replies....
Praveen Kumar wrote:
> Hi,
>
> Are you asking for display some set rows at JSP right ?
>
> <display:table id="Commands" name="Commands" sort="external"
> pagesize="15" />
>
> Thanks
> Praveen
>
> On 3/27/07, *Adriel Manalansan* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
> Hello to everyone. How can I put a variable pagesize in
> displaytag? What
> will I use to put a variable? Can I use a webwork tag? If yes, how?
> Thank you for your kind replies...
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
>
>
> --
> Thanks
> Domma Raju Praveen Kumar.
> ------------------------------------------------------------------------
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys-and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
--
Thanks
Domma Raju Praveen Kumar.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user