[richfaces-issues] [JBoss JIRA] (RF-12081) Problem with RichEditor RF 4.2.0

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Apr 10 11:26:48 EDT 2012


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

Lukáš Fryč edited comment on RF-12081 at 4/10/12 11:25 AM:
-----------------------------------------------------------

Hi pheleng,

looking into your sample, I can really see the issue, there is wrong definition on the line 274:
{{a:hover, a:hover, a:focus, a:focus, a:active, a:active}}

But looking into the resource served by RichFaces [1], I can see another definition on this line:
{{*.cke_skin_richfaces *.cke_rcombo *.cke_off a:hover *.cke_openbutton, *.cke_skin_richfaces *.cke_rcombo *.cke_off a:focus *.cke_openbutton, *.cke_skin_richfaces *.cke_rcombo *.cke_off a:active *.cke_openbutton, *.cke_skin_richfaces *.cke_rcombo *.cke_on *.cke_openbutton}}


Aren't you using some pre-processor which would change the CSS on the fly?
Aren't you using wrong version of CSSParser or SAC? [2]

[1] http://showcase.richfaces.org/org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/richfaces/editor.ecss?db=eAHb1WuhCAAFJAGh
[2] http://docs.jboss.org/richfaces/latest_4_X/Developer_Guide/en-US/html/chap-Developer_Guide-Getting_started_with_RichFaces.html#sect-Developer_Guide-Getting_started_with_RichFaces-Technical_Requirements-Project_libraries_and_dependencies
                
      was (Author: lfryc):
    Hi pheleng,

looking into your sample, I can really see the issue, there is wrong definition on the line 274:
{{a:hover, a:hover, a:focus, a:focus, a:active, a:active}}

But looking into the resource served by RichFaces [1], I can see another definition on this line:
{{*.cke_skin_richfaces *.cke_rcombo *.cke_off a:hover *.cke_openbutton, *.cke_skin_richfaces *.cke_rcombo *.cke_off a:focus *.cke_openbutton, *.cke_skin_richfaces *.cke_rcombo *.cke_off a:active *.cke_openbutton, *.cke_skin_richfaces *.cke_rcombo *.cke_on *.cke_openbutton}}


Aren't you using some pre-processor which would change the CSS on the fly?
Aren't you using wrong version of CSSParser and SAC? [2]

[1] http://showcase.richfaces.org/org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/richfaces/editor.ecss?db=eAHb1WuhCAAFJAGh
[2] http://docs.jboss.org/richfaces/latest_4_X/Developer_Guide/en-US/html/chap-Developer_Guide-Getting_started_with_RichFaces.html#sect-Developer_Guide-Getting_started_with_RichFaces-Technical_Requirements-Project_libraries_and_dependencies
                  
> Problem with RichEditor RF 4.2.0
> --------------------------------
>
>                 Key: RF-12081
>                 URL: https://issues.jboss.org/browse/RF-12081
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.0.Final
>            Reporter: phelen harg
>            Assignee: Lukáš Fryč
>              Labels: waiting_on_user
>         Attachments: Page.rar, page.xhtml, Sem título.jpg
>
>
>              I'm migrating my Application from RF 3.3.3 to RF 4.2.0. But now i'm facing a problem with the richEditor. When I load the the component, all the links in application receive a background like this picture: 
>              Analizing the code with Firebug, I found the problem in the CSS of RichEditor. /org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/richfaces/editor.ecss?db=eAHj0yqqAgACGAEl
>                If I erase the CSS the backgroud disappear. There is some kind of workaround for this?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list