Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Current issues

tyomero edited this page Jul 26, 2012 · 1 revision

Images for TinyMCE are not loading

For some reason the images and CSS for the editor are not being loaded, though the editor is working. The errors I get in the webkit console are:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/gre-prototype/faces/javax.faces.resource/themes/simple/skins/default/content.css Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/gre-prototype/faces/javax.faces.resource/themes/simple/img/icons.gif

I tried printing the resources path javax.faces.resource but I couldn't figure out how.

TODO:

It is quite clear that those files are not found because the correct path is javax.faces.resource/tiny_mce/themes instead of javax.faces.resource/themes.

I have tested this by loading the correct url in the browser: http://localhost:8080/gre-prototype/faces/javax.faces.resource/tiny_mce/themes/simple/img/icons.gif

It only remains to know how to set this up so that javax.faces.resource points to the right location.

Clone this wiki locally