If you only care if the size is zero, you can do this in standard JSF 1.1 EL.
#{empty yourCollection}
Otherwise, you have to use Facelets or something else that extends EL
functionality.
Facelets supplies jstl:length() or you can create your own
myFunct:size() function.
On 9/28/07, Anton
Hello all!
I suspect I am not first who ask this but is there way to determine
size of collection in JSF EL (MyFaces 1.1.5)?
How to implement condition statements in JSF EL? I now that JSTL tags
using are prohibited in JSF pages (but c:choose is working well
:))...
And some months age I saw
2 matches
Mail list logo