Hey, ik ben bezig met iets te maken in JSF en ik in mijn managed bean heb ik een lijst van objecten. Die objecten bevatten op hun beurt ook een lijst.
Dus nu heb ik deze structuur:
maar ik krijg de foutmelding:
type
Exception report
message
description
The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: "locatieItems"
root cause
java.lang.NumberFormatException: For input string: "locatieItems"
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
weet iemand hoe ik dit kan doen zodat ik weinig compromisses moet maken en mijn JSF nog steeds dynamisch is
Dus nu heb ik deze structuur:
Java:
1
2
3
4
5
6
| <c:forEach items="#{basisOpties.locatieLijst.locatieItems}" var="l"> <h:outputText value="#{l.naam}"/> <c:forEach items="#{l.locatieItems}" var="li"> <h:outputText value="#{li.naam}"/> </c:forEach> </c:forEach> |
maar ik krijg de foutmelding:
type
Exception report
message
description
The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: "locatieItems"
root cause
java.lang.NumberFormatException: For input string: "locatieItems"
note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
weet iemand hoe ik dit kan doen zodat ik weinig compromisses moet maken en mijn JSF nog steeds dynamisch is