X

The blog for hints & tips about Oracle Application Development Framework and Mobile Application Framework

  • ADFv
    December 20, 2010

How-to create a select one choice listing common time zones

Frank Nimphius
Master Principal Product Manager

ADF Faces provides an option to query a list of common
timezones for display in a Select One Choice component. The EL expression for
this is #{af:getCommonTimeZoneSelectItems()}.


To
use this expression in a Single Select One Choice component, drag and drop the
component from the Oracle JDeveloper Component Palette into a JSF page.  In the opened dialog, copy the expression into
the Value property below the Bind to list (select items) header.

<af:selectOneChoice label="TimeZones" id="soc1">
  <f:selectItems value="#{af:getCommonTimeZoneSelectItems()}"
                          id="si1"/>
</af:selectOneChoice>

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.