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 Gavazuk <[EMAIL PROTECTED]> wrote:
> 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 description in MyFaces WIKI  how to show
> something when data for table component is null, but now I cannot find
> the page - could someone provide me the link?
> Thank you very much.
>

Reply via email to