I am using a @DataModel annotation for a variable like this:
| @DataModel("availableCars")
| private List<Car> m_availableCars;
|
and I have a factory model
| @Factory("availableCars")
| public void findCars()
| //...
|
When I use this combination, the <h:dataTable> picks up the value ok, but when
I use regular EL statments like:
| <h:outputText value="There are no cars to display" rendered="#{empty
availableCars}"/>
|
The text does not get rendered even when the factory method creates an empty
List.
After some testing, I notived that the Debug ouput page showed the bound
variable m_availableCars, and not as I expected availableCars
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011688#4011688
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011688
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user