[richfaces-issues] [JBoss JIRA] Commented: (RF-8044) rich:editor color picker fails if context-param com.sun.faces.preferXHTML is true

Mike Hanafey (JIRA) jira-events at lists.jboss.org
Mon Oct 26 11:33:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-8044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12491499#action_12491499 ] 

Mike Hanafey commented on RF-8044:
----------------------------------

After spending a little time with a JavaScrip debugger, it was found the problem is a stupid case sensitive equality. In particular, when in xhtml mode, the "a" tag is "a", but in HTML mode "a" is "A", and the set color function (line 8075 in tiny_mce_src.js.jsf) does a e.nodeName() == "A" test, so this is true only in HTML mode.

Then I find this issue is already raised here http://tinymce.moxiecode.com/punbb/viewtopic.php?id=17628

> rich:editor color picker fails if context-param com.sun.faces.preferXHTML is true
> ---------------------------------------------------------------------------------
>
>                 Key: RF-8044
>                 URL: https://jira.jboss.org/jira/browse/RF-8044
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-input
>    Affects Versions: 3.3.2.SR1
>         Environment: Glassfish 2.0, JSF RI 1.2_12
>            Reporter: Mike Hanafey
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>
> rich:editor color picking fails when app is deployed on Glassfish and context parameter "com.sun.faces.preferXHTML" is true. See forum reference for more info.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list