It is fair to say it's a known bug in the current Jetspeed incarnation.
Unfortunately it's pretty much related to the way Turbine 2 processes the
action events and the fact that when your Action.doUpdate() is called, 
Jetspeed has not yet started to load the portal content...

Fortunately, there are some workarounds working by using the StateManager,
I'd point you to the MultiColumnControllerAction as an example of how to
pass
around data in your action events.

Since this is an architectural limitation of the Jetspeed-Turbine
interaction, fixing it 
would require many more changes than we're prepared to do... unless of
course 
somebody comes up with a brillant low-impact solution to this issue

--
Raphaël Luta - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Message d'origine-----
> De : Lukasz Olek [mailto:[EMAIL PROTECTED]]
> Envoyé : mercredi 23 octobre 2002 10:33
> A : Jetspeed Users List
> Objet : Jetspeed BUG???
> 
> 
> I have downloaded nightly build Jetspeed from 2002-10-19.
> I have an Action object with two methods: buildNormalContext and
> doUpdate:
> 
> public class MeetingFormAction extends VelocityPortletAction {
> 
>   protected void buildNormalContext(VelocityPortlet velocityPortlet,
> Context context, RunData runData){
>   ...
>     }
>     
>     public void doUpdate(RunData runData, Context context) throws
> Exception{
>     }
> }
> 
> method buildNormalContext gets properly configured context object, but
> doUpdate does not.
> Context in doUpdate does not have any keys set (array getKeys() is
> empty).
> Is it a bug?
> What to do?
> Thanks 
> Lukasz Olek
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to