You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by Jeff Butler <je...@gmail.com> on 2006/04/24 15:15:25 UTC
Opinions About Nested Iterate Tags
JIRA issues 281 and 238 present different solutions to the problem of nested
iterate tags not working:
http://issues.apache.org/jira/browse/IBATIS-281
http://issues.apache.org/jira/browse/IBATIS-238
I would like to solicit opinions from the community about which path we
should go down. I am not so interested in your opinions about the proposed
patches - I am more interested in feedback about the proposed syntax. My
main questions are these:
1. Which version is more intuitive?
2. Which version is more compatible with the way we do things now?
3. Which version do we feel more comfortable with supporting for the long
run (at least in the iBATIS 2.x series)
I am more in favor of the syntax proposed in IBATIS-281 - it seems to me
that it more closely matches the syntax we currently expect in the iterate
tag. I will do a more thorough analysis of the patches to make sure they
work in all our test cases, and I also want to make sure that the tags can
be nested to arbitrary levels.
I plan to work on this later in the week. Please post any opinions you may
have about this.
Jeff Butler
Re: Opinions About Nested Iterate Tags
Posted by Larry Meadors <lm...@apache.org>.
To me, 281 looks more like what I would expect.
Larry
On 4/24/06, Jeff Butler <je...@gmail.com> wrote:
>
> JIRA issues 281 and 238 present different solutions to the problem of nested
> iterate tags not working:
>
> http://issues.apache.org/jira/browse/IBATIS-281
> http://issues.apache.org/jira/browse/IBATIS-238
>
> I would like to solicit opinions from the community about which path we
> should go down. I am not so interested in your opinions about the proposed
> patches - I am more interested in feedback about the proposed syntax. My
> main questions are these:
>
> 1. Which version is more intuitive?
> 2. Which version is more compatible with the way we do things now?
> 3. Which version do we feel more comfortable with supporting for the long
> run (at least in the iBATIS 2.x series)
>
>
> I am more in favor of the syntax proposed in IBATIS-281 - it seems to me
> that it more closely matches the syntax we currently expect in the iterate
> tag. I will do a more thorough analysis of the patches to make sure they
> work in all our test cases, and I also want to make sure that the tags can
> be nested to arbitrary levels.
>
> I plan to work on this later in the week. Please post any opinions you may
> have about this.
>
> Jeff Butler