You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Tomislav Jakopec <tj...@orka.hr> on 2007/01/15 08:58:44 UTC

datatable sortable order problem for non english languages

Hi
I have small problem and I don't now how to handle.
So far I write my own Comparator in witch I sorted according to Collator
with locale form FacesContext

Collator collator = Collator.getInstance(
						FacesContext.getCurrentInstance().getViewRoot().getLocale());
My sort order was fine, Croatian letters where sorted alphabet.

Now there is possibility to tel whole datatable sortable="true" and I don't
have to write commandSortHeader tag.

Problem: sort is alphabet in english language, not croatian and 
FacesContext.getCurrentInstance().getViewRoot().getLocale() is croatian

Is there a way to solve this problem or this is new feature for developer to
implement?
-- 
View this message in context: http://www.nabble.com/datatable-sortable-order-problem-for-non-english-languages-tf3013209.html#a8367810
Sent from the MyFaces - Users mailing list archive at Nabble.com.