[
https://issues.jboss.org/browse/RF-11394?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-11394:
---------------------------------
Hi Jan, regrettably this is intentional issues. Here is explanation:
there are three localized settings:
(1) textarea (hidden)
(2) iframe contentsEditable (WYSIWYG editor area itself)
(3) internationalization of interface (buttons, popups, etc.)
Since (1) and (2) are affected by @lang directly,
(3) is derived from browser settings, that's why you are seeing span[lang=en].
@lang attribute is actually used as defaultLocale if no locale is determined from
browser.
You can still influence the defaultLocale by forcing editor to use your prefered one,
and it is using configuration: @config="language: 'fr'".
Metamer: rich:editor: lang attribute isn't propagated to both
text containers
-----------------------------------------------------------------------------
Key: RF-11394
URL:
https://issues.jboss.org/browse/RF-11394
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.1.0.Milestone2
Environment: RichFaces 4.1.0.20110910-M2
r.0d4276b62c8366e0eaa1b7cd1c350d373e65ed79
Metamer 4.1.0-SNAPSHOT r.unknown
Mojarra 2.1.2-FCS
Apache Tomcat 7.0.19
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20100101 Firefox/7.0
Reporter: Ján Jamrich
Assignee: Lukáš Fryč
Labels: ci_issue
Fix For: 4.1.0.Milestone3
Attribute lang occurs within editor root element at least 2 times:
In textarea element, and in span[id$=editor:inp]. But @lang attribute value is set only
to textarea, and in second element remain value "en".
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira