Sorry about my poorly worded request, I am using the websurfportlet that was submitted a while back with improvements by Dess� Massimiliano (thanks) and originally by Pervasive Technology Labs(thanks as well). I needed a way to return the portlet to its original state if the user wanted to.
There is a really simple solution for anyone using the websurfportlet. Create a link that passes the portlet id with a value that you detect and prepend it or append it to the content of the portlet. If the value is detected for the portlet then just call getStarter() again. I just added mine to the top of the portlet and it works fine. If any one wants an example let me know. Thanks, Casimiro -----Original Message----- From: Casimiro Lovato-Winston [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 1:45 PM To: Jetspeed Users List Subject: RE: Improved WebSurfPortlet Hello, I am using a similar technique to keep more than one portlet in the websurfportlet without them clobbering eachother. Have you found a way to refresh a certain websurfportlet to it's original state, based on the portletid? Thanks for any ideas, Casimiro -----Original Message----- From: Massimiliano Dessi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 06, 2002 12:47 AM To: [EMAIL PROTECTED] Subject: Improved WebSurfPortlet I have found a problem with websurferportlet. When navigating the web with other portlets, i lose last link visited with websurferportlet. To resolve this problem, i have put the element returned by the websurferportlet in the session, identified with the 'id' of xreg. In addiction, now every portlet reads from the Rundata request, to control if it has been called. If it is has been called, then follows the next link and puts in session the new element overwriting the previous. If not, the portlet returns his last element in session, instead of opening a new connection, reading the html, parsing it and returning a new element. Dess� Massimiliano [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
