Setting the First Day of the Week to Monday in the SelectInputDate component
By Didier Laurent on Feb 26, 2007
Jose asks in the OTN Forum how to set the first day of the week in the <af:SelectInputDate> component.
For example, suppose that you set up the preferred language of your Browser to French/Belgium [fr-be].
The calendar will show the following days: dim., lun., mar., mer., jeu., ven., sam. for Sunday, Monday, Tuesday, Wednesday, Thursday and Friday respectively:
However, in Belgium, as in many other European countries, the first day of the week is the Monday and not the Sunday.
So the calendar should display: lun., mar., mer., jeu., ven., sam., dim. instead.
Is it possible to change this in ADF Faces ?
Unfortunately, it's not possible in the current release of JDeveloper.
This will be possible from JDeveloper 11 onwards (Enhancement Request 5653036 for those who have access to Metalink), where the chooseDate component will take the locale into account to display dates (and also numbers).
For more information, see "Add support for formatting locale, separate from translation locale".