0

I'm using JSF in my page and I want to get row from a List<Object> to display it on a form.

I'm trying to do this by :

<p:outputLabel value="#{empty controller.customerNumbers.0?'-':controller.customerNumbers.0" />

And this occurred :

Caused by: javax.el.ELException: EL Expression Unbalanced: ... #{empty controller.customerNumbers.0?'-':controller.customerNumbers.0
at com.sun.faces.facelets.el.ELText.findVarLength(ELText.java:481) ~[jsf-impl-2.2.20.jar:2.2.20]
at com.sun.faces.facelets.el.ELText.parse(ELText.java:396) ~[jsf-impl-2.2.20.jar:2.2.20]
at com.sun.faces.facelets.el.ELText.parse(ELText.java:347) ~[jsf-impl-2.2.20.jar:2.2.20]
at com.sun.faces.facelets.el.ELText.parse(ELText.java:338) ~[jsf-impl-2.2.20.jar:2.2.20]
at com.sun.faces.facelets.el.ELText.isLiteral(ELText.java:321) ~[jsf-impl-2.2.20.jar:2.2.20]
at com.sun.faces.facelets.tag.TagAttributeImpl.<init>(TagAttributeImpl.java:127) ~[jsf-impl-2.2.20.jar:2.2.20]
... 94 common frames omitted

How can I get the row of my list to show it on the form ?

0 Answers0