jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: iterative tag with nested tags example
Date Wed, 12 Mar 2003 08:10:57 GMT
Thank Ian. Would you be able to reproduce the problem in a junit test
case that we could add to our cactus test suite?

-Vincent

> -----Original Message-----
> From: Ian Kallen [mailto:spidaman@arachna.com]
> Sent: 12 March 2003 04:24
> To: Cactus Users List
> Subject: Re: iterative tag with nested tags example
> 
> 
> The first cut of code with JspTagLifecycle worked fine, but the tags
> nested inside the iterations appear to have lost a reference to the
parent
> tag  (getParent() == null).
> 
> I'm creating the nesting relationships like this:
>   JspTagLifecycle col1Lc = tableLifecycle.addNestedTag(col1);
> 
> I also tried explicitly setting the parent in the setUp() phase but it
> still thinks the parent is null, I saw the test case for the jstl
forEach
> tag but none of the test cases use addNestedTag(...) where the
lifecycle
> is iterative.
> 
> Any ideas?  I'm re-examining the tag in question's code but I suspect
> something is wrong with the iterative lifecycle's handling of nested
tags.
> 
> On Sun, 9 Mar 2003, Christopher Lenz wrote:
> > I'd be quite interested in some feedback about the JspTagLifecycle
> > class. Haven't heard much yet :-(
> 
> 
> --
> Ian Kallen <spidaman@arachna.com> | AIM: iankallen
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message