I try to access an array using as index the result of a calculation.
<tr:outputText value="#{myController.form.model.arr[(status.index / 15)]}"/>
status.index
comes from a tr:iterator
variable varStatus
.
It seems howewer, that this is a double value internally as I get a javax.servlet.ServletException: For input string: "0.0"
.
Can I somehow cast this to an integer?