After several try with rich:calendar ("th", "th_TH" locale)
The rendered output always be in gregorian year.
However, in Thai locale, the default era is buddhist.
So, the expected outcome must be buddhist year.
e.g. 1/1/2551 in buddhist calendar is equals to 1/1/2008 in gregorian calendar.
Did it have to set any other property other than locale?
Note: Buddhist year = Gregorian year + 543.
Thanks in advance.
Hmmm not even single response?
Anyway, after i digged into richfaces source code.
If i'm correct, this component use javax.faces.converter.DateTimeConverter to do localization work.
If this is the case, maybe i should consider raise this issue at Sun instead.
Tell me if i'm wrong.