سؤال

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