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

Michal Petrov commented on RF-13758:
------------------------------------

I've found the issue but the intended fix broke it for JS files.

There are some differences between how Mojarra and MyFaces render the 
stylesheet links. MyFaces are doing some additional checks to determine if the 
resource is already rendered (and the resources we provide make it return true 
for most files) so they skip it 
({{org.apache.myfaces.renderkit.html.HtmlScriptRenderer.encodeEnd()}})

> RF 4.5 with MyFaces, CSS not loaded
> -----------------------------------
>
>                 Key: RF-13758
>                 URL: https://issues.jboss.org/browse/RF-13758
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.5.0.Alpha3
>            Reporter: Matej Novotny
>            Assignee: Michal Petrov
>            Priority: Critical
>              Labels: myfaces
>
> When you use MyFaces as JSF implementation, RF fail to get CSS files hence 
> the components are displayed as plain text.
> I tried this (among others) with simpleapp which I modified by adding a 
> simple rich:panel. With Mojarra the css for panel was received and panel was 
> displayed correctly. Then I modified pom.xml to use MyFaces. The app can be 
> deployed but the panel is just a plain text and page contains no css for 
> styling.
> This can be reproduced with Metamer/simpleapp/showcase.
> Please see steps to reproduce for reproducers with Metamer and simpleapp.
> Showcase reproducer is more complicated due to RF-13757.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
_______________________________________________
richfaces-issues mailing list
richfaces-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to