Dear All,
Currently i am using the fckeditor java version in my JSP project. which is an plumtree portal integration. So i need to provide the full path for the ImageuploadURL as below,
ImageUploadURL = "http://intradev.xxxx-xxxx-xxxxx.com/portal/server.pt/gateway/PTARGS_73_0_3669_956_0_43/http%3B/10.87.7.114%3B8080/wiki/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File";
First i tried this one but it not worked,
<%
String strImageUploadURL = "<pt:url pt:href='/wiki/" + "FCKeditor/editor/filemanager/upload/simpleuploader?Type=File'" + "xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' />";
%>
<FCK:editor id="EditorDefault" basePath="/wiki/fckeditor/" fullPage="true"
imageUploadURL="<%=strImageUploadURL%>">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Full Page Test</title><meta content="text/html; charset=utf-8" http-equiv="Content-Type"/></head><body>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</body></html>
</FCK:editor>
Normally the strImageUploadURL variable return the following value
"http://intradev.xxxx-xxxx-xxxxx.com/portal/server.pt/gateway/PTARGS_73_0_3669_956_0_43/http%3B/10.87.7.114%3B8080/wiki/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File";
But i got like this on the source
ImageUploadURL=<pt:url pt:href%3D'/wiki/FCKeditor/editor/filemanager/upload/simpleuploader?Type%3DFile'xmlns:pt%3D'http://www.plumtree.com/xmlschemas/ptui/' />
-------------------------------------------------------------------------------------------------------------------------
Or
Is there any option to change the fckconfig at the runtime like this.
FCKConfig.ImageUploadURL = "http://intradev.xxxx-xxxx-xxxxx.com/portal/server.pt/gateway/PTARGS_73_0_3669_956_0_43/http%3B/10.87.7.114%3B8080/wiki/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File";
Thanks in advance. I am expecting your help.
Regards,
Arun Mariappan K.
Fri, 11/07/2008 - 06:32
#1