Hi all,
We are developing a servlet to work as FCK connector. The upload form (frmupload.html) creates the action as:
function SetCurrentFolder( resourceType, folderPath )
{
var sUrl = oConnector.ConnectorUrl +'?Command=FileUpload' ;
sUrl += '&Type=' + resourceType ;
sUrl += '&CurrentFolder=' + folderPath ;
document.getElementById('frmUpload').action = sUrl ;
}
We have two questions:
* Debugging the code we have seen that 'oConnector.ConnectorUrl' is an empty string. We have setted ImageBrowserURL and LinkBrowserURL FCKConfig parameters, as the documentation says. What are we doing wrong?
* In the form action URL, the Command, Type and CurrentFolder parameters has the correct values, but this values hasn't been sending to the server. The request method is POST and this parameters are setted in the URL, could be is it the reason? or are we doing something wrong?
Thanks in advance.
We are developing a servlet to work as FCK connector. The upload form (frmupload.html) creates the action as:
function SetCurrentFolder( resourceType, folderPath )
{
var sUrl = oConnector.ConnectorUrl +'?Command=FileUpload' ;
sUrl += '&Type=' + resourceType ;
sUrl += '&CurrentFolder=' + folderPath ;
document.getElementById('frmUpload').action = sUrl ;
}
We have two questions:
* Debugging the code we have seen that 'oConnector.ConnectorUrl' is an empty string. We have setted ImageBrowserURL and LinkBrowserURL FCKConfig parameters, as the documentation says. What are we doing wrong?
* In the form action URL, the Command, Type and CurrentFolder parameters has the correct values, but this values hasn't been sending to the server. The request method is POST and this parameters are setted in the URL, could be is it the reason? or are we doing something wrong?
Thanks in advance.
RE: Java Servlet Connector
1. It has been a bug in our configuration.
2. We have modified the frmupload.html file to send the Command, Type and CurrentFolder parameters as hidden inputs in the form, and then it runs perfectly.
Regards.