I started learning Java, JSF2, and JPA2, and started using the Pet Catalog sample project. I am using Eclipse + Glassfish.
So, I have a JSF view page with the following line:
<h:outputText value="Item #{catalog.pagingInfo.firstItem + 1} .. #{cataloTYPO.pagingInfo.lastItem} of #{catalog.pagingInfo.itemCount}"/>
cataloTYPO does not exist, it is not a bean, not a class, nothing. The problem is that the JSF seems to be fully satisfied with this and displays "Item 1 .. of 29". I expect this to throw an exception, or at least write a problem to register, but nothing happens.
I tried to solve this problem, but no one sees it.
Thanks for the help.
EDIT: alternatively is this normal behavior?
Tomik source share