By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,654 Members | 1,517 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,654 IT Pros & Developers. It's quick & easy.

Set parameter

P: 3
I'm using jsp in oracle portlets.

I have a DisplayTag in my JSP.

This tag uses parameters for displaying the pagination links (indicating the current page number and providing hyperlinks to go to other pages) for a table.

Because I'm doing controlling the paging and because I may want to have the user leave the table and later return to the same page of the table, I need to be able to tell the DisplayTag, using the parameters, which page I'm displaying. I store the page information in session scope so that when the user returns to the page I can retrieve and display the correct records, but the DisplayTag is telling that user that he is seeing page 1 no matter which page is actually being displayed.

I can read the parameter with

String num = (String) renderRequest.getParameter("d-49653-p");

but I don't know how to set that parameter so the DisplayTag can use it.

Any ideas?
Apr 12 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.