Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    what are RTL best practices?

    Please help me to figure out how to provide my smartgwt application with RTL support.
    The only way I tried is to set <body dir=RTL> right in index.html . And yes it works.
    But my goal is to give a user ability to choose a language on a "user preferences" screen and automatically apply RTL in code of the application (reload of the application is acceptable in this case also).
    What is the best way to do that dynamically?

    #2
    Hi asg2007,

    most likely it is easiest to save this as preference in the DB and change your main .html to a .jsp and query the DB in the jsp in order to dynamically add the RTL-attribute to the body-tag.

    The javadocs don't mention any RTL-setters.

    Best regards,
    Blama

    Comment

    Working...
    X