Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

array.length invalid in expression language

843842Feb 2 2006 — edited Apr 25 2007
I would like to do something like:
<c:if test="#{myBean.myArray.length>0}">
but JSF complains about length not being a valid attribute.

I am not sure if this is a problem with el, jsf, or facelets.

Am I doing something wrong? Is there a work around?

I am using myfaces 1.1.1, facelets 1.0.10, on Weblogic 8.1.

Thanks

Martin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2007
Added on Feb 2 2006
7 comments
485 views