[jboss-user] [JBoss Seam] - EL and accessing .size or isEmpty
tony.herstell@gmail.com
do-not-reply at jboss.com
Fri May 4 18:18:12 EDT 2007
A coding question ... with EL how do I get to things like .size.. or .isEmpty its seems very hard to get to!!!
I have this...
| <h:outputText value="#{messages.no_keywords}" rendered="#{advertisingCampaign.keywords == null}"/>
|
and want this
| <h:outputText value="#{messages.no_keywords}" rendered="#{advertisingCampaign.keywords == null || advertisingCampaign.keywords.size == 0}"/>
|
But size is "not a property" and incidently nither is isEmpty !!!
keywords is a LinkedHashSet (to ensure retreival order matches insertion order) and I am pretty sure that this is NOT a factor...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043362#4043362
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043362
More information about the jboss-user
mailing list