-
1. Re: rich:editor - richfaces 4.1.0.Final
yuancamo Jan 4, 2012 9:21 AM (in response to yuancamo)When you working with Servlet 2.5 and older environments, it is necessary to register this servlet manually in web.xml:
<servlet>
<servlet-name>Resource Servlet</servlet-name>
<servlet-class>org.richfaces.webapp.ResourceServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/org.richfaces.resources/*</url-pattern>
</servlet-mapping> -
2. Re: rich:editor - richfaces 4.1.0.Final
simon_brodtmann Nov 9, 2012 1:21 PM (in response to yuancamo)I have the same problem, but I have a 3.0 Servlet.
The problem is, that the editor loads the files from the wrong location:
"NetworkError: 404 Not Found - http://localhost:8080/ClearTest/skins/richfaces/editor.ecss?t=B7U9"
The ckeditor.js is successfully loaded from that url:
/ClearTest/javax.faces.resource/ckeditor.js.html?ln=org.richfaces.ckeditor
I don't really get it. Why does this not work out of the box? What do I have to change to make that working? Do I need to download any additional files?
I searched the web for over an hour, but I didn't find any usefull answers.
I use RichFaces 4.2.3.
Can anyone help me?
Thanks.
-
3. Re: rich:editor - richfaces 4.1.0.Final
simon_brodtmann Nov 15, 2012 10:33 AM (in response to simon_brodtmann)Suddenly the editor appeared. But only after I visited the page twice without restarting the server. Now it works all the time. I didn't change anything.