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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to