On 1/14/06, Rovi <[EMAIL PROTECTED]> wrote:
> Atanas Alexandrov <bss00ako <at> studserv.uni-leipzig.de> writes:
>
> >
> > i have the same problem :) if i create a new document, i can edit the
> > new document with fck without any problems....so i think, the problem is
> > on the write-protected files in C:\lenya\apache-lenya-1.2.4.
> > Unfortunately i can't remove the protection :(
> >
> > Rovi schrieb:
> >
> > >Hi,
> > >I integrated step by step the instructions at
> > >http://wiki.apache.org/lenya/HowToIntegrateFCKEditor (last updated
> 01/12/2006)
> > >with Lenya 1.2.4 (Lenya Binary with Jetty) and FCKEditor 2.11.
> > >When I try to save the changes, I get this error:[
> > ><map:call function> did not send a response, at 
> > >file:/C:/lenya/apache-lenya-
> > >1.2.4/build/lenya/webapp/lenya/usecases/fckeditor/usecase-
> > >fckeditor.xmap:165:40]
> > >Line 165: 41 is <map: call function="editDocument:/>
> > >Any pointers on what I could be doing wrong would be much appreciated.
> Thanks!
> > >
> Thanks for the clue. It helped in a limited way in the sense that for a new
> document created within fckeditor, it saved it the first time. But
> subsequently it behaved very randomly, and would save simple changes like
> making text bold, but would give the same error when I add a table. Or at
> other times even addition of simple text caused the same error. Could it be
> because of some validations that the java program is doing and subsequently
> failing to validate? Also I am not sure if write-protection would be an issue
> on Windows (or would it be?)...Thanks.
>

I believe the problem is due to the lack of a proper namespace being
attached to the temporary file that is created.  The problem probably
only occurs when the editor is used to create elements that aren't in
the XHTML namespace (such as &nbsp;), which FCKeditor creates
liberally.  I'll try to give more specifics when I get back to work on
Tuesday.

By the way, I have also made major simplifications to the entire
installation for FCKeditor, with just about everything now going under
lenya's usecases directory instead of scattered throughout.  This
simplification should make it to the wiki very soon, probably this
week or next.  My expectation is that the instructions will then be
just this simple:

1) create the lenya/usecases/fckeditor directory
2) download FCKEditor zip file from the fckeditor.net site and extract
it into lenya/usecases/fckeditor (the unzip will dump everything into
lenya/usecases/fckeditor/FCKeditor)
3) download [an attached zip file] and extract into the
lenya/usecases/fckeditor directory
4) Add FCKeditor to the Edit menu of your publication.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to