我正在寻找支持 RTL(从右到左)用户界面的 Java“面孔”。到目前为止,我检查过的唯一库是RichFaces。似乎它本身不支持它。
什么是谈论这个问题的好资源?
可以推荐哪些其他原生支持 RTL 用户界面的“Faces”?
我正在寻找支持 RTL(从右到左)用户界面的 Java“面孔”。到目前为止,我检查过的唯一库是RichFaces。似乎它本身不支持它。
什么是谈论这个问题的好资源?
可以推荐哪些其他原生支持 RTL 用户界面的“Faces”?
RichFaces components support the dir
attribute.
JSF 标准组件自古以来就已经这样做了。它们只支持所有 HTML 属性,包括dir
属性,您可以将其设置为"rtl"
. 如果任何 3rd 方组件库没有继承它,我会感到惊讶。
我没有自己使用它,只是在谷歌上搜索它,维基百科说它可能是候选者:http: //myfaces.apache.org/trinidad/
In richfaces, it does support dir="rtl" in all components, yep it does not say you can not set the attribute dir but when you put it on, it will not display correct. To do so, in richfaces you need override its style, replacing left with right and right with left, i have checked it for simple components but for others like tree, like menu it would not be easy as i say. I have no idea what other components would support that.
btw i speak for 3.1.5. GA.