I'd like to know if there is anyway to set the direction to RTL on the following PrimeFaces components:

  1. PanelGrid.
  2. Wizard

This post says that primefaces has gone bidirectional: but does that change include the two components in question?

有帮助吗?

解决方案

Primefaces has not fully gone bidirectional because its a process that will take alot of time to do, If you want something to go RTL,

First application level conversion:

<context-param>
   <param-name>primefaces.DIR</param-name>
   <param-value>RTL</param-value>
</context-param>

if that did not help, then you'll have to do it by hand.You'll need to find the classes of the generated components and convert their float and direction in css, all classes are specified in the Primefaces manual http://primefaces.org/documentation.html.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top