Ok, done: http://issues.apache.org/jira/browse/IBATIS-131
Niels -----Original Message----- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: vrijdag 20 mei 2005 15:09 To: ibatis-user-java@incubator.apache.org Subject: Re: Iterate problem Yeah i know what is going on. File a JIRA issue and i'll be sure to get to it. Brandon On 5/20/05, Niels Beekman <[EMAIL PROTECTED]> wrote: > Hi, > > Latest one, 2.1.0. > I looked in ConditionalTagHandler.java and it uses some Probe-instance > to find the property, as soon as this Probe encounters '[' it tries to > parse an index instead of checking the position of ']'. > > Hope this helps, > > Niels Beekman > > -----Original Message----- > From: Brandon Goodin [mailto:[EMAIL PROTECTED] > Sent: donderdag 19 mei 2005 23:09 > To: ibatis-user-java@incubator.apache.org > Subject: Re: Iterate problem > > What version of ibatis are you using? > > On 5/19/05, Niels Beekman <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm using the iterate-tag to loop a list, but I can't find a way to > use > > the current element in attributes of inner tags, when I try the > > following: > > > > <iterate property="myList"> > > <isEqual property="myList[].someProperty" compareValue="true"> > > $myList[].anotherProperty$ > > </isEqual> > > </iterate> > > > > iBATIS tries to index the property myList with an empty string, but in > > my opinion it should use the current element (the []-notation works > fine > > within inner tags), when I supply an index it works just fine... > > > > Thx, > > > > Niels Beekman > > >