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 >