Question

I'm trying to take a Java EE 6 application which runs fine on GlassFish 3.1.1 and deploy it on JBoss 7.0.2. I'm running into PropertyNotFound exceptions when I try to navigate to pages due to differences in JBoss EL. It seems that JBoss EL doesn't allow method expressions to methods without parameters of the form:

<c:if test="${bean.calculateX('foo').size() > 0}">

In this example JBoss EL thinks the size method is a parameter. I can get it to work in JBoss by changing it to this:

<c:if test="${bean.calculateX('foo')[size] > 0}">

But now it won't work in GlassFish. Is there a compatible way to accomplish this?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top