You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Luc Fouin <lu...@free.fr> on 2005/03/31 16:09:24 UTC

Unwanted parameters persistence

hi,

i'm working on J2 + Tomcat 5.5, and i've a problem with parameters... i 
build Urls with :

 > PortletUrl pu = renderResponse.createRenderURL();

and there is allways parameters which come from the current page... i've 
tried to delete it with

 > pu.setParameters(new HashMap());
or
 > pu.setParameter(myKey, myValue);

but it still does not work... i allways got parameters that i don't want...

is there a bug in parameters manipulation or am i doing wrong??

thanks, Luc

-- 
Luc FOUIN - Stagiaire Aptiwan
14 rue Niepce
75014 Paris
Tél : (+33) 6 77 95 17 24
Mél : luc.fouin@aptiwan.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Re: Unwanted parameters persistence

Posted by Luc Fouin <lu...@free.fr>.
Luc Fouin a écrit :
> there is allways parameters which come from the current page... i've 
> tried to delete it with
> 
>  > pu.setParameters(new HashMap());
> or
>  > pu.setParameter(myKey, myValue);
> 
> but it still does not work... i allways got parameters that i don't want...
> 
> is there a bug in parameters manipulation or am i doing wrong??

apparently, by forcing a new parameter, just after the creation of the 
PortletUrl, like this :

> PortletURL pu = renderResponse.createRenderURL(); 
>
> pu.setParameter("something", "anything");

it forces the other parameters to be deleted... my problem is solved 
now... but isn't it a bug of Pluto or Jetpseed??

thanks, Luc


-- 
Luc FOUIN - Stagiaire Aptiwan
14 rue Niepce
75014 Paris
Tél : (+33) 6 77 95 17 24
Mél : luc.fouin@aptiwan.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Re: Unwanted parameters persistence

Posted by Ate Douma <at...@douma.nu>.
Should be fixed now in the current CVS
See http://issues.apache.org/jira/browse/JS2-194 and 
http://issues.apache.org/jira/browse/JS2-231

Please test again.

Luc Fouin wrote:
> hi,
> 
> i'm working on J2 + Tomcat 5.5, and i've a problem with parameters... i 
> build Urls with :
> 
>  > PortletUrl pu = renderResponse.createRenderURL();
> 
> and there is allways parameters which come from the current page... i've 
> tried to delete it with
> 
>  > pu.setParameters(new HashMap());
> or
>  > pu.setParameter(myKey, myValue);
> 
> but it still does not work... i allways got parameters that i don't want...
> 
> is there a bug in parameters manipulation or am i doing wrong??
> 
> thanks, Luc
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org