« Diagnosing Problems with the Visual Editor Not Rendering JSF Pages. | Main | "Introduction to ADF Security in JDeveloper 10.1.3.2" by Frank Nimphius »

Setting the First Day of the Week to Monday in the SelectInputDate component


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:
CalendarInFrench:

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".

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on February 26, 2007 11:59 AM.

The previous post in this blog was Diagnosing Problems with the Visual Editor Not Rendering JSF Pages..

The next post in this blog is "Introduction to ADF Security in JDeveloper 10.1.3.2" by Frank Nimphius.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle