ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Preston <greg.pres...@gmail.com>
Subject Iteration Problem
Date Sat, 24 Sep 2005 15:59:53 GMT
All,
 There have been several good posts on this board regarding the use of the
iteration tag over a list. For some reason I get the following error:
 There is no READABLE property named 'approvalRoles[]' in class '
com.intv.it.rw.model.SessionCache'

<select id="list-open-approvals"
parameterClass="com.intv.it.rw.model.SessionCache"
resultClass="com.intv.it.rw.model.RequestLineApprovals">
<![CDATA[
SELECT
...
AND rla.finalized <> 'X'

<dynamic prepend="AND">
<iterate property="approvalRoles"
open=" rla.approval_role_id IN ("
close=")" conjunction=",">
#approvalRoles[]#
</iterate>
</dynamic>
]]>

I've tried passing an unwrapped list by specifing java.util.List as the
parameter and by using various permeintations of #[]# and #value[]#. All
with no joy. I'm using version 2.1.5.

Thanks in advance,

Greg

Mime
View raw message