Setting the locale on every date field component/editbox component/view column is time consuming. Is it possible to set them in a theme?
EDIT: To be more clear: We ship an application to several customers to be run on their servers. Customers have different needs on how date should be displayed and entered depending on the regional setting applicable for their country of origin. We have many views displaying data with dates and today we set all date columns converter locale to whatever the client's country is; Swedish (sv), Netherland(nl), Denmark (da)… Whenever we install the application at a new customer we need to modify every date column's converter locale setting. I'd like it to be more of a central setting and I thought why not in a theme?
context.setLocaleString
to set it on XPage level as we discussed last time. And don't usegetComponent
especially if it gives you trouble: timtripcony.com/blog.nsf/d6plinks/TTRY-942UPQ – Panu HaaramogetComponent
is not returning expected value even when the page level html/djConfig locale is set correctly: stackoverflow.com/questions/14626897/… – Panu Haaramo