Oracle Fusion Middleware Tag Reference for Oracle ADF Faces 12c (12.2.1.4.0) E81455-03

# af:getCustomTimeZoneSelectItems

getCustomTimeZoneSelectItems getcustomtimezoneselectitems

This function takes an optional timezone ID parameter and merges it with the second argument, a custom list of timezones. The custom list of timezones should be sorted by raw offset order. If the ID parameter is not null, the TimeZone whose ID is specified is inserted into the list according to raw offset order, if it is not already present.

The return value is a java.util.List containing a javax.model.SelectItem for each timezone, where the select item's value is set to the TimeZone object, and the label is set to the timezone's name.

<af:selectOneChoice label="Select a new timezone" value="#{demoInput.timeZoneId}" autoSubmit="true"> <f:selectItems value="#{af:getCustomTimeZoneSelectItems(demoInput.timeZoneId, demoInput.customTimeZoneList)}"/> </af:selectOneChoice>

- af:getCommonTimeZoneSelectItems

## Attributes

Name | Type | Description
--- | --- | ---

timezoneID | java.lang.String | The timezone ID to include with the returned List of common timezones.
timezones | java.util.List | A list of custom timezone IDs.