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 Omer Czerniak <om...@movious.com> on 2001/05/30 12:31:00 UTC

passing parameter to a portlet - bug

during my research of passing parameters to a portlet i fixed a minor bug at
PortletFactory;

   // HACK, FIX ME: Even though the parameters are empty,
   // don't delete the "old" parameters but ADD the "new" ones
      pc.setInitParameters( ParametersFactory.getParameters( entry));


i have changed it to -->

        pc.setInitParameters( ParametersFactory.getParameters(
entry,pc.getInitParameters() ) );


      in this way we use the old hash table and don't create a new one.



Enjoy




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