cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@pronetics.it>
Subject Re: [cforms] creating selection list from vector
Date Tue, 05 Jul 2005 08:38:42 GMT
Il giorno 05/lug/05, alle 10:23, Bart Molenkamp ha scritto:

>> Vector (besides being a "legacy" class) is not a Collection. You need
>> to pass a Java2 collection to the template (i.e. a class implementing
>> java.util.Collection) and not a Vector.
>
> AFAICS, Vector is a collection.

Oops, you are right. My advice stands, though. Use 
widget.setSelectionList.

	Ugo

-- 
Ugo Cei
Tech Blog: http://agylen.com/
Open Source Zone: http://oszone.org/
Wine & Food Blog: http://www.divinocibo.it/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message