This content has been marked as final.
Show 6 replies
-
1. Re: rich:editor: why does color picker not work?
nbelaevski Jun 18, 2009 1:25 PM (in response to hanafey)Hi,
What is RF and browser version? -
2. Re: rich:editor: why does color picker not work?
hanafey Jun 18, 2009 5:48 PM (in response to hanafey)The browser is Firefox 3.0.11.
Same behavior with Chrome 2.0.172.31
RF is v.3.3.1.GA SVN $Revision: 14228 $ $Date: 2009-05-14 09:56:51 -0700 (Thu, 14 May 2009) -
3. Re: rich:editor: why does color picker not work?
ilya_shaikovsky Jun 19, 2009 7:40 AM (in response to hanafey)checked your code with 3.3.2 snapshot and demosite environment and the color picker works fine on my side with FF but not works with Chrome.
seems the issue is in tinyMCE itself and we not using the latest one. But the issues on updating the tiny already here and should fix this https://jira.jboss.org/jira/browse/RF-7290 -
4. Re: rich:editor: why does color picker not work?
hanafey Oct 23, 2009 11:53 AM (in response to hanafey)Unfortunately, with 3.3.2.SR1 the problem is exactly the same.
-
5. Re: rich:editor: why does color picker not work?
hanafey Oct 24, 2009 5:40 PM (in response to hanafey)As is often the case, a seemingly simple problem may have some twists, and this issue qualifies.
The problem can easily be reproduced with Glassfish 2.0u2, JSF RI 1.2_12 with:<rich:editor id="mce" value="#{editor.commentForEdit.body}" configuration="/editor-simple"> </rich:editor>
editor-simple.properties:theme="advanced" theme_advanced_toolbar_location="top" theme_advanced_toolbar_align="center" theme_advanced_layout_manager="SimpleLayout" entity_encoding="numeric" theme_advanced_buttons1_add="|,forecolor,backcolor"
BUT THE KEY IS YOU MUST ALSO HAVE:<context-param> <param-name>com.sun.faces.preferXHTML</param-name> <param-value>true</param-value> </context-param>
in your web.xml. I am using this option because it solved some other problems.
So the question is why does color picker fail with this context parameter, and can this be fixed???