[richfaces-issues] [JBoss JIRA] Commented: (RF-11326) rich:editor resources not loaded correctly

Marc-Christian Schroeer (JIRA) jira-events at lists.jboss.org
Thu Aug 18 03:40:19 EDT 2011


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

Marc-Christian Schroeer commented on RF-11326:
----------------------------------------------

There is a dirty workaround for this issue if you are using PrettyFaces (which you should use anyhow) to beautify your URLs:

<rewrite match="/javax\.faces\.resource/skins/kama/([\w_\-\./]*)$" substitute="/javax.faces.resource/skins/kama/$1.jsf?ln=org.richfaces.ckeditor" redirect="301" />
<rewrite match="/org\.richfaces\.resources/javax\.faces\.resource/org\.richfaces\.ckeditor/(.*)\?(.*)" substitute="/javax.faces.resource/$1.jsf?ln=org.richfaces.ckeditor&amp;$2" redirect="301" />  
<rewrite match="/org\.richfaces\.resources/javax\.faces\.resource/org\.richfaces\.ckeditor/(.*)" substitute="/javax.faces.resource/$1.jsf?ln=org.richfaces.ckeditor" redirect="301" />



> rich:editor resources not loaded correctly
> ------------------------------------------
>
>                 Key: RF-11326
>                 URL: https://issues.jboss.org/browse/RF-11326
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component
>    Affects Versions: 4.1.0.Milestone1
>         Environment: Tomcat 7.0.16, MyFaces 2.0.7
>            Reporter: Marc-Christian Schroeer
>
> When using the rich:editor component on a page, the URLs required for loading its resources are created erroneously:
> For example the following URL
>    http://localhost:8080/webapp2/org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/kama/editor.css?t=B5GJ5GG
> results in a 404 error as it should be created as
>    http://localhost:8080/webapp2/javax.faces.resource/skins/kama/editor.css.jsf?ln=org.richfaces.ckeditor&t=B5GJ5GG

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list