Hi, I have a bit of a problem here:
#foreach($image in $command.lessonLearned.images)
Image: $image.fileName <input type="submit" onclick="submitForm();setImageToRemove($image.id);setAction('removeImage');" value="REMOVE"/><br/>
#end
$image.id inside the onclick event is not evaluated as a velocity variable. How do I make it write out the variable content and not just the variable name?