[
https://issues.jboss.org/browse/RF-11326?page=com.atlassian.jira.plugin.s...
]
Marc-Christian Schroeer edited comment on RF-11326 at 8/18/11 3:42 AM:
-----------------------------------------------------------------------
There is a dirty workaround for this issue if you are using PrettyFaces (which you should
use anyhow) to beautify your URLs:
{noformat}
<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&$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" />
{noformat}
was (Author: mschroeer):
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&$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.resourc...
results in a 404 error as it should be created as
http://localhost:8080/webapp2/javax.faces.resource/skins/kama/editor.css....
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira