是否可以在 XPages
中获取 Java 中的 getLocaleString()
值?
在 SSJS
中我可以得到如下 -
context.getLocaleString() ;
Java 中有类似的东西吗?
最佳答案
我以前用过这个:
return FacesContext.getCurrentInstance().getViewRoot().getLocale().toString();
关于java - 是否可以在 XPage 中获取 Java 中的 getLocaleString() 值?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50811215/