Portlet Recent Items Links

Hi

I’m trying to write a Recent Items portlet, which displays the last 10 links the user has visited or worked with. Though I can store/persist the portlet names and links the user has visited, I have a hurdle to parameterize these links. If it were a JSP I would have done that by appending the parameters in the URL.

We have an Out of the Box portlet called wm_userhistory.