From: "MOSSELMANS Rudi (OPOCE)" <[EMAIL PROTECTED]> Reply-To: [email protected] To: <[email protected]> Subject: RE: Evaluation of Lenya Date: Tue, 25 Apr 2006 08:42:59 +0200I 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: [email protected] Subject: Re: Evaluation of Lenya >From: "Jim Douglas" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >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]
I tried what you suggested, this is my aggregate.xsl,<script language="javascript" type="text/javascript" src="{$contextprefix}tiny_mce/tinymce/jscripts/tiny_mce/tiny_mce.js"> </script>
<script language="javascript" type="text/javascript" src="{$contextprefix}tiny_mce/tinymce/jscripts/tiny_mce/utils.js"> </script>
<script language="javascript" type="text/javascript">var imageList ="<xsl:value-of select="$docname" />.html?&lenya.event=edit&lenya.usecase=tiny_mce&lenya.step=imageList";
var assetList ="<xsl:value-of select="$docname" />.html?&lenya.event=edit&lenya.usecase=tiny_mce&lenya.step=assetList";
var editor_content_css = "<xsl:value-of select="$editor_content_css" />"; var focusWindow;What I get is a textarea with the html with a button that says cancel/Exit and no controls for the editor.
I tried src="{$contextprefix}tiny_mce/tinymce/jscripts/tiny_mce/utils.js">&
AND
src="{$contextprefix}tiny_mce/utils.js">&
Same result..
Thanks for you help,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
