Java - RichFaces - RTL

发布于 2024-08-01 20:12:24 字数 230 浏览 6 评论 0原文

我正在寻找支持 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

红颜悴 2024-08-08 20:12:24

RichFaces 组件支持 dir 属性。

RichFaces components support the dir attribute.

终弃我 2024-08-08 20:12:24

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.

断桥再见 2024-08-08 20:12:24

在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.

故事灯 2024-08-08 20:12:24

我自己没有使用它,只是在谷歌上搜索它,维基百科指出它可能是候选者:
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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文