Oracle Fusion Middleware Tag Reference for Oracle ADF Faces
11g Release 2 (



getCommonTimeZoneSelectItems get common time zone select items

The function returns a java.util.List of commonly used timezones, sorted by raw offset. Each item in the list is a javax.model.SelectItem with its value set to the TimeZone object, and the label set to the timezone's name.

This list is used by the af:inputDate to allow the user to select a timezone for a date-time.

<source> <af:selectOneChoice label="Select a new timezone" value="#{demoInput.timeZoneId}" autoSubmit="true"> <f:selectItems value="#{af:getCommonTimeZoneSelectItems}" /> </af:selectOneChoice> </source>