Hello,
I'm rather new at this. I'm trying to implement FCKeditor in my webapp and I'm having difficulties. I have downloaded the .jar files from the site and added them to my project within NetBeans. My problems is that I'm trying to follow the documentation (http://java.fckeditor.net/installation.html) and I have no idea what SFL4J binding is. Can someone point me in the right direction? I'm using Sun Application server 9.
Thanks!!
Mon, 11/24/2008 - 20:46
#1
Re: Java FCKeditor for dummies?
A slf4j binding represents the direct application of logging statements to a logging framework. Thus you have to choose a binding based your deployed logging framework. If you don't log, use either slf4j-nop or slf4j-simple.
As a long-term goal I would discourage using either one. A serious application should always log its state. Try to read some tutorials on logging. The best would be start off with SLF4J itself (1, 2) and then readt the documentation of logback.
Hope this helps for starters,
Mike
Re: Java FCKeditor for dummies?
using slf4j-nop I get an iFrame with my 404 page in it. Is it possible FCKeditor isn't compatible with RichFaces? That's what I'm using on my site. Or perhaps I have something configured incorrectly?
Re: Java FCKeditor for dummies?
Re: Java FCKeditor for dummies?
I'm still having the same problem. I looked at the source of the page and the URL the iFrame is trying to use is: "/ELC-war/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=Default" ELC-war is the name of my webapp, but all of my pages need to start with ELC-war/faces or I get an error. I added the /faces part and manually pasted the url in the browser (/ELC-war/faces/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=Default) and I got the following error:
Re: Java FCKeditor for dummies?
2. Well, the FacesServlet tries obviously to access this resource "/ELC-war/faces/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=Default" and fails. That's causing the exception.
Let me give an example:
/ depicts the context root /ELC-war. If you have installed the fckeditor folder into /fckeditor, it should work instantly, if *not* you have to set the basePath:
or in the fckeditor.properties.