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

E17491-06

af:getCommonTimeZoneSelectItems

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>