ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: Iterate problem
Date Thu, 19 May 2005 21:09:10 GMT
What version of ibatis are you using?

On 5/19/05, Niels Beekman <niels@wis.nl> 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
>

Mime
View raw message