Thanks for the help, the session came though just fine.
This solution (1) have worked for Image browser and Image Upload and file creation. I would imagine that it will work for all the others as well....
Last time (FCK 2.3) I spend a week, debug/edit 10 files to get (then id) through to the backend. With the new fck_java_2.4, I just knew there was some solution to the problem. This section is the hardest for me (no javascript debugger or good IDE) and skills sort fall in this area.
I still almost rewrite the backend for my specific needs: - underscore spaces in file names (FireFox problem) - remove that name(1).jpg section, so files can be replaces, need a delete function at some point - rewrite file urls too point to a different container with command parameters where part is encrypted (ie: Upload and View is from different machines and no direct reference to files)
....but that is no problem the moment it is in java.
Thanks for the help, the session came though just fine.
This solution (1) have worked for Image browser and Image Upload and file creation. I would imagine that it will work for all the others as well....
Last time (FCK 2.3) I spend a week, debug/edit 10 files to get (then id) through to the backend. With the new fck_java_2.4, I just knew there was some solution to the problem.
This section is the hardest for me (no javascript debugger or good IDE) and skills sort fall in this area.
I still almost rewrite the backend for my specific needs: - underscore spaces in file names (FireFox problem) - remove that name(1).jpg section, so files can be replaces, need a delete function at some point
- rewrite file urls too point to a different container with command parameters where part is encrypted (ie: Upload and View is from different machines and no direct reference to files)
Re: Extending UserPathBuilder and Browser parameters
<FCK:editor instanceName="${instanceName}" />
It would be more helpful if you could elaborate when and where you want to append the parameters.
Re: Extending UserPathBuilder and Browser parameters
Re: Extending UserPathBuilder and Browser parameters
now the situation is much more clearer!
What's the scope of this ${pageDoc.userID} variable?
Re: Extending UserPathBuilder and Browser parameters
Re: Extending UserPathBuilder and Browser parameters
Re: Extending UserPathBuilder and Browser parameters
the solution is quite easy and straight forward:
what you can do:
You have to change every *BrowserURL and *UploadURL
here are two possible solutions which seem to work here perfectly (adapt paths to your config):
1. Solution
<c:url value="/fckeditor/editor/filemanager/browser/default/browser.html" var="browserUrl" />
<c:url value="/fckeditor/editor/filemanager/connectors" var="connectorUrl" />
<FCK:editor instanceName="some" value="some value">
<FCK:config ImageBrowserURL="${browserUrl}?Type=Image&Connector=${connectorUrl}" />
</FCK:editor>
You have have your jsessionid on any request for this user.
2. solution:
almost the same!
<c:url value="/fckeditor/editor/filemanager/browser/default/browser.html" var="browserUrl" />
<c:url value="/fckeditor/editor/filemanager/connectors" var="connectorUrl" />
<FCK:editor instanceName="some" value="some value">
<FCK:config ImageBrowserURL="${browserUrl}?Type=Image&userId=${userId}&Connector=${connectorUrl}" />
</FCK:editor>
You have to do this for every url.
works here perfectly.
Re: Extending UserPathBuilder and Browser parameters
Re: Extending UserPathBuilder and Browser parameters
Thanks for the help, the session came though just fine.
This solution (1) have worked for Image browser and Image Upload and file creation.
I would imagine that it will work for all the others as well....
Last time (FCK 2.3) I spend a week, debug/edit 10 files to get (then id) through to the
backend. With the new fck_java_2.4, I just knew there was some solution to the problem.
This section is the hardest for me (no javascript debugger or good IDE) and skills sort fall
in this area.
I still almost rewrite the backend for my specific needs:
- underscore spaces in file names (FireFox problem)
- remove that name(1).jpg section, so files can be replaces, need a delete function at some point
- rewrite file urls too point to a different container with command parameters where part is encrypted
(ie: Upload and View is from different machines and no direct reference to files)
....but that is no problem the moment it is in java.
Thanks again for the help
nico
Re: Extending UserPathBuilder and Browser parameters