Rudi
regarding your first problem:
I've only been testing it with my english deployment, but I can see
what I still have to tweak to get other other languages working. I'll
see what I can do. For the time being, it sounds like you have a
solution that works for you.
Regarding your second question,
I've modified the aggregate.xsl file (updated on the Wiki), to decode
the & through an external javascript function. The reason we
can't put a straight '&' as part of the url string is that the XSLT
processor will flub up on it. As a result, I'm decoding it externally
so it happens outside of the XSLT processor.
I'm generating the image list and link list dynamically through a
pipeline, so effectively reading into TinyMCE the contents of the
appropriate resource directory. Further work I'd like to do is parse
the respective Meta data file and pull the info into TinyMCE. Stay
tuned as I integrate it further.
-Tim
On 30-Mar-06, at 9:55 AM, MOSSELMANS Rudi (OPOCE) wrote:
Hi Tim,
I couldn't wait to try out the latest version of the integration.
It looks pretty impressive!
I did bump into a couple of problems, one for which I found a
solution, and another one for which I didn't.
Here's the one that I did get around solving (because it was simple
enough?): upon returning from the editor screen the language
setting is lost and the default language version of the document is
being looked up, instead of the language that we sterted off with.
I changed line 297 in usecase-tiny_mce.xmap from:
<map:redirect-to uri="{request:contextPath}/{page-
envelope:publication-id}/authoring{page-envelope:document-id}.html?
lenya.usecase=checkin&lenya.step=checkin&backup=false"/>
To
<map:redirect-to uri="{request:contextPath}/{page-
envelope:publication-id}/authoring{page-envelope:document-id}_{page-
envelope:document-language}.html?
lenya.usecase=checkin&lenya.step=checkin&backup=false"/>
As far as I can tell, this seems to have solved the problem.
The other problem: aggregate.xsl generates URLs with & entities
instead of simple ampersand char's. This basically messes up the
parameters that are handed over to the server when asking for the
image list, link list, and when trying to upload images.
There is probably an obvious reason for this, but I fail to see it.
I am running Apache Lenya 1.2.4 on tomcat 5.5.15 (JDK 1.5, using
the xalan upgrade) and Firefox. I have not tried this on the
recommended tomcat 5.0.* (JDK 1.4.*).
Thanks in advance for any help,
Rudi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]