[jboss-user] [JBoss Seam] - Re: EL and accessing .size or isEmpty
hstang
do-not-reply at jboss.com
Sat May 5 00:40:15 EDT 2007
Use Facelets' built-in Jstl Function library.
| <h:outputText value="#{messages.no_keywords}" rendered="#{fn:length(advertisingCampaign.keywords) == 0}"/>
|
make sure you register the namespace for fn
i.e
| <html xmlns:fn="http://java.sun.com/jsp/jstl/functions">
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043401#4043401
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043401
More information about the jboss-user
mailing list