I have an issue (no big deal but wanted to see if anybody else had seen it) where I have an structure like the one below:
<ui:repeat var="categoria"
value="#{newsletterPage.categoriasNewsletter}" varStatus="it">
boring code...
<ui:repeat
value="#{newsletterPage.getOportunidadesPremium(categoria)}"
var="trio">
boring code...
</ui:repeat>
categoria is an Enum from the enum list categoriasNewsletter and by each category I need to get some data from getOportunidadesPremium(categoria).
The error happens exactly on getOportunidadesPremium because somehow when categoria is passed as a parameter it's null inside the method. The funny story is this is null ONLY when using development stage, if it is production stage everything is fine, just by changing the:
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Production</param-value>
</context-param>
I'm using primefaces 3.4 and
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.10</version>
</dependency>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>el-impl</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.1.10</version>
</dependency>
I'm not asking for a fix for it as I suppose must be an api issue (and in production it'll be Production), just wanted to know if you have seen anything like this.
Thanks.