ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Beekman" <ni...@wis.nl>
Subject Iterate problem
Date Thu, 19 May 2005 14:11:56 GMT

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

<iterate property="myList">
  <isEqual property="myList[].someProperty" compareValue="true">

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...


Niels Beekman

View raw message