[OGo-Developer] Incompatibility with WO in WOSwitchComponent?

Stéphane Corthésy developer@opengroupware.org
Tue, 18 Dec 2007 16:06:13 +0100


Hi,

First of all, I'm working with an old snapshot of SOPE sources  
(2007-05-29), and can't access your repository, neither from svn, nor  
from http://svn.opengroupware.org/viewcvs/. Can you fix the access?  
Thanks.

I'm using a WOSwitchComponent, which returns a stateful component  
(IIRC there are no stateless components in SOPE). Problem is that  
this stateful component loses its state, because the component is  
created no more than four times in a request-response loop! So any  
state passed to my component during the takeValuesFromRequest is lost  
when I reach the appendToResponse. The WOSwitchComponent instance is  
still the same, though, but it recreates the component each time it  
needs it, unlike what WebObjects does, thus preventing any child  
component to have a state. Has this bug been fixed since May? Or  
should I do the change myself?

Cheers,

Stéphane