Java - RichFaces - RTL
我正在寻找支持 RTL(从右到左)用户界面的 Java“Faces”。 到目前为止,我检查过的唯一库是 RichFaces。 貌似原生不支持。
有什么好的资源可以讨论这个问题?
还可以推荐哪些其他原生支持 RTL 用户界面的“Faces”?
I'm looking for Java "Faces" that supports RTL (Right To Left) user interfaces. The only library that I've checked so far is RichFaces. It seems that it doesn't support it natively.
What is a good resource that talks about this issue?
What other "Faces" can be recommend that natively support RTL user interfaces?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
RichFaces 组件支持
dir
属性。RichFaces components support the
dir
attribute.JSF 标准组件很早以前就已经做到了这一点。 它们只支持所有 HTML 属性,包括
dir
属性,您可以将其设置为"rtl"
。 如果任何第三方组件库没有继承它,我会感到惊讶。The JSF standard components already do it since ages. They just supports all of the HTML attribues, including the
dir
attribute, which you can set to"rtl"
. I would be surprised if any of the 3rd party component libraries didn't inherit it.在richfaces中,它确实支持所有组件中的dir =“rtl”,是的,它并不是说你不能设置属性dir 但是当你戴上它时,它不会正确显示。这样做,在 richfaces 中,您需要覆盖其样式,将左替换为右,将右替换为左,我已经检查了它的简单组件,但对于其他像树、菜单这样的组件,正如我所说,这并不容易。 我不知道还有哪些其他组件会支持这一点。
顺便说一句,我代表 3.1.5。 GA。
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.
我自己没有使用它,只是在谷歌上搜索它,维基百科指出它可能是候选者:
http://myfaces.apache.org/trinidad/
I didn't used it on my own, but was just googling about it and wikipedia states it might be candidate:
http://myfaces.apache.org/trinidad/