ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Beekman" <n.beek...@wis.nl>
Subject RE: <iterate>
Date Mon, 08 Aug 2005 17:46:51 GMT
Read carefully, my second sample uses the list directly:

> When passing the list directly as argument use:
> 
> <iterate open="(" close=")">
>   #[]#
> </iterate>

Niels

-----Original Message-----
From: Eugeny N Dzhurinsky [mailto:eugenydzh@jdevelop.com] 
Sent: maandag 8 augustus 2005 16:32
To: user-java@ibatis.apache.org
Subject: Re: <iterate>

On Mon, Aug 08, 2005 at 04:29:42PM +0200, Niels Beekman wrote:
> Something like this:
> 
> class MyBean {
>   public List getList() {
>     return mylinkedList;
>   }
> }
> 
> <iterate property="list" open="(" close=")">
>   #[]#
> </iterate>
> 
> When passing the list directly as argument use:
> 
> <iterate open="(" close=")">
>   #[]#
> </iterate>
> Hope this helps,
> Niels

Umm, so there's no way to operate with the "clean" lists, i need to wrap
the
list in the bean :(?

-- 
Eugene N Dzhurinsky

Mime
View raw message