Rudi - You're right, there is a problem with ampersand entities in
aggregate.xsl - they serve a purpose in XSLT and the processor will
get confused if you use them in an HTML like fashion.. this is why I
created utils.js with a function to decode them.
Your solution looks pretty clean, I just want to note at typo
-"contectprefix" should actually say "contextprefix".
Jim Douglas - can you list what files/directories you have in your
usecases/tiny_mce directory?
-Tim
On 25-Apr-06, at 2:42 AM, MOSSELMANS Rudi (OPOCE) wrote:
I found there to be a problem with ampersand entities in
aggregate.xsl.
To solve that problem:
- copy utils.js into usecases/tiny_mce/jscripts/tiny_mce
- inserta link to utils.js into usecase/tiny_mce/xsl/aggregate.xsl:
<script language="javascript" type="text/javascript"
src"{$contectprefix}tiny_mce/utils.js"> </script>
I hope this helps,
Rudi
-----Original Message-----
From: Jim Douglas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 1:34 AM
To: user@lenya.apache.org
Subject: Re: Evaluation of Lenya
From: "Jim Douglas" <[EMAIL PROTECTED]>
Reply-To: user@lenya.apache.org
To: user@lenya.apache.org
CC: [EMAIL PROTECTED]
Subject: Re: Evaluation of Lenya
Date: Mon, 24 Apr 2006 19:57:07 +0000
I took your advice and tried to integrate TinyMCE into Lenya for
my Leny
Evaluation demo. I am having a problem you may have
encountered..is so can
you let me know haw you solved it.
I did the following in
lenya/webapp/lenya/pubs/library/config/menus/generic.xsp
<item wf:event="edit" uc:usecase="tiny_mce" uc:step="open"
href="?"><i18n:text>Edit with TinyMCE</i18n:text></item>
and getting this error:
" The requested document '/index.html' with document-id '/index' does
not exist."
the url is:
authoring/index.html?
&lenya.event=edit&lenya.usecase=tiny_mce&lenya.step=open
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I went into the
<map:match type="step" pattern="open">
<!-- Check for TinyMCe Editor -->
<map:act type="resource-exists"
src="jscripts/tiny_mce/tiny_mce.js">
to this,
<map:match type="step" pattern="open">
<!-- Check for TinyMCe Editor -->
<map:act type="resource-exists"
src="tinymce/jscripts/tiny_mce/tiny_mce.js">
...and now it takes me to the page to edit when I click TinyMCE
from the
Lenya menu. The problem I have now is that I have no TinyMCE
controls and
only a text area to change text and a "Cance/"Exit" button? Damn.
A little help anybody?
Jim
---------------------------------------------------------------------
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]