I discovered that EL interpret null Integer object as 0. How to achieve this problem? I found that I can use system property org.apache.el.parser.COERCE_TO_ZERO but it didn't help (as far as I know it works for Tomcat but we use JBoss).
I use JBoss 6.0.1 GA, JSF 2.1.