input with list index causes runtime exception
define page root(){ var commentList : List<String> := List<String>(); init{ commentList.add(""); } for(i : Int from 0 to commentList.length) { input(commentList[i]) } }
java.lang.ClassCastException: java.lang.String cannot be cast to utils.RefArg
Submitted by Danny Groenewegen on 22 December 2011 at 23:55
Log in to post comments