Hi,
On Thu, Dec 3, 2009 at 8:49 PM, Bubulina <nohinder(a)yahoo.com> wrote:
#set($count = 0)
#foreach ($d in $xwiki.sort($dateList))
<tr>
<td>$d </td>
<td> $pageList.indexOf[$count] $pageList.indexOf[$count] </td>
<td>delete</td>
</tr>
#set($count = $count +1)
#end
just want to get the something from a list on the possition $count.
Please tell me what i am doing that wrong?
Is $pageList a java.util.List instance? If so you should do
$pageList.get($count) instead.
- Asiri
--
View this message in context:
http://n2.nabble.com/get-something-with-indexOf-tp4106635p4106635.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users