Hi David, Thanks for the answer. We got around this by the fact that you can add the same parameter multiple times on a PortletURL object and it will replace that param with the new value each time (as it says in the Javadoc).
Thanks! Rango -----Original Message----- From: David Sean Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, September 24, 2007 4:03 PM To: Jetspeed Developers List Subject: Re: Cloning or copying the PortletURL object? On Sep 20, 2007, at 1:29 PM, Keshavan, Rango wrote: > Is there any way of cloning or copying the PortletURL object? I > want to > get the URL and append parameters to it multiple times from the same > base PortletURL object, but not affect the base. It looks like the > addParameters method on the current PortletURL object affects the base > and there is no way of removing them after you get the string. > No, the Portlet API doesn't support this. Best to just create multiple instances of them as they are not too expensive --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
