[Opensource] Re: Problems with Resin 2.1.6 and Expresso 5.0.1

Michael Rimov rimovm at centercomp.com
Thu Dec 26 16:57:13 PST 2002


At 09:43 AM 12/6/2002 -0800, you wrote:

>I think I've nailed down the problem to the Expresso:Attribute tag. If I 
>fully qualify the tag with controllerElement and type attributes, it works 
>fine.
>
>My guess is the problem is with the "if (oneElement == null) {" block. 
>Apparently in Resin, oneElement is not null on subsequent calls to the tag 
>object within an Element Iterator, so the tag keeps reusing the same 
>Output object.

Dan and all,

I got a chance to take a look at this, and I think the solution is to move 
the code: ControllerElement oneElement = null;  from class level to method 
level.  If somebody wants to test the built code, I'll be happy to email 
them off list.  This way the fix can get into 5.0.3.

Thanks!
                                                 -Mike

P.S.  Thanks for the pointer on where it was going wrong.





More information about the Opensource mailing list