When using multiple action links constructed in a for loop, like this:


for(release : Tag in releases) {
actionLink(“Show Issues”, unFoldRelease(release))
placeholder “release” + (release.name) empty()
}

action unFoldRelease(release : Tag) {
replace(“release” + release.name, roadmapRelease(release));
}

The for-loop parameter (release) is not used in the action calls, causing all actions to perform the same event, all affecting the topmost placeholder.

Submitted by Sander Vermolen on 11 February 2011 at 15:32

Log in to post comments