myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Quentel" <>
Subject Sorted SelectItem objects in selectOneChoice
Date Wed, 08 Jul 2009 21:15:16 GMT
Using JSF 1.2 and Trinidad...


selectOneChoice drop down selection lists are dynamically populated from
lookup tables in a database.  An ArrayList stores SelectItem objects.


Does anyone know how to make selectOneChoice sorted, other than via the
actual SQL query (" ORDER BY ")?


I tried using some of the java.util.Collections classes, but did not get
this to work.




Mike Quentel


View raw message