I am using the FCKeditor in a J2EE app and need to modify the way the images are stored. I have written a class that extends ServetConnector and have included a doPost method.
When the user chooses to Save the file to the server after having selected it, control is passed to the doPost that I have written. The file is stored the way I would like but control is never passed back to the dialog box - fck_image.html. And as a result, the java script function:
function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) - located in fck_image.js
is never called, and the Throbber() remains active in the dialog box, etc.
My question is, what do I have to do after my business logic in my doPost to pass control back to the popup and the fckeditor.
http://java.fckeditor.net/java-core/apidocs/net/fckeditor/connector/ConnectorServlet.html states that the doPost does the following in the actual ConnectorServlet: