[opencms-dev] Size of a valueList

Thomas Decher thomas.decher at tomdigital.de
Mon Mar 22 12:25:45 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Petr,

I think ${fn:length(content.valueList['multipleItem']) > 0} will help. You'll
have to include the taglib:
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

HTH
regards Thommy

Petr Chelčický schrieb:
> Hi!
> 
> I started to use the expression language and am wondering how to get the size of a returned valueList without looping through all its values? Is this possible with only the expression language? 
> 
> Peter
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

- --

TOM Digital GmbH
Thomas Decher
Hammerbrookstrasse 93
20097 Hamburg, Germany

Fax: +49.40.254048-40

E-Mail: td at tomdigital.de
___________________________________________________________________________

TOM Digital GmbH

Geschäftsführer / Managing Director: Thomas Heisterhagen
Eingetragen beim / registered at: Amtsgericht Hamburg HRB 110797

Diese E-Mail einschliesslich ihrer Anlagen ist vertraulich und nur fuer
den Adressaten bestimmt. Wenn Sie nicht der vorgesehene Empfaenger sind,
bitten wir Sie, dieses E-Mail mit Anlagen unverzueglich vollstaendig zu
loeschen und uns umgehend zu benachrichtigen.

Dieses Problem ließe sich mit Verschlüsselung sehr leicht umgehen. Für diese
E-Mail-Adresse ist ein PGP-Schlüssel, die ID lautet 0xBDCC86D6, auf den gängigen
Schlüsselservern verfügbar.

This e-mail and its attachments are strictly confidential and are
intended solely for the attention of the person to which it is
addressed. If you are not the intended recipient of this e-mail, please
delete it including its attachments immediately and inform us
accordingly.

This problem can be dealt with simply by encryption. A PGP-key, the id is
0xBDCC86D6, for this email-account is available on the established key servers.
___________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkunU7kACgkQJ51ior3Mhtb/rACglyVsfQoYpz0s6a/CCQymSpMZ
R5sAn2jxfO+vBuI3cLyCYlOYTWoajUAu
=bMpC
-----END PGP SIGNATURE-----



More information about the opencms-dev mailing list