[opencms-dev] cannot edit jsp source code - fck editor loops

Filip Kratochvil filip.kratochvil at nelasoft.cz
Tue Oct 14 17:40:35 CEST 2014


Hi Chris, here is some correction:

 

Better way is export resources from folders (from OpenCms 8.x):

 

/system/workplace/editors/editarea/

/system/workplace/resources/editors/editarea/

 

And import it to the OpenCms 7.x. You can také this files from Alkacon´s GitHub.

 

Because there are some module dependencies in the new verison of module and you can see some errors in log. By this way you will just update Editor files (JS, CSS etc.) and everything works well.

 

Important thing is clear browser cache (old scripts are loaded). Good luck.

 

--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
Mob: +420 777 366 998 <tel:%2B420%20777%20366%20998> 
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz

 

From: Christoph Kukulies [mailto:kuku at physik.rwth-aachen.de] 
Sent: Tuesday, October 14, 2014 4:23 PM
To: Filip Kratochvil; 'The OpenCms mailing list'
Subject: Re: [opencms-dev] cannot edit jsp source code - fck editor loops

 

Hi Filip,

it didn't help. I installed the whole module as you sent it. 
FCK-editor still has this looping behaviour.

-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de 


Am 08.10.2014 um 13:10 schrieb Filip Kratochvil:

Hi Chris, there is more files to update.

 

Folders are (Especially second one is important):

/system/workplace/editors/editarea/

/system/workplace/resources/editors/editarea/

 

and same module lib have different size:

/system/modules/org.opencms.editors.editarea/lib/

 

The best way is install whole new module, restart Tomcat and clear cache in browsers.

 

--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
Mob: +420 777 366 998 <tel:%2B420%20777%20366%20998> 
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz

 

From: Christoph Kukulies [mailto:kuku at physik.rwth-aachen.de] 
Sent: Wednesday, October 08, 2014 11:42 AM
To: Filip Kratochvil; 'The OpenCms mailing list'
Subject: Re: [opencms-dev] cannot edit jsp source code - fck editor loops

 

Hi Filip,

I tried to apply the patch (exchanged the three files in /system/workplace/editors/editarea) but the problem in Firefox persists.




-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de 



Am 07.10.2014 um 17:33 schrieb Filip Kratochvil:

Hey,

 

i tried it now and it looks better. It resolved some another problems in Chrome… After the change you need to delete browser cache (older scripts stay loaded).

 

In the attachment is exported module from OpenCms 8.0.4 but you can use your build…J

 

Have a nice day.

 

--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz

 

From: Filip Kratochvil [mailto:filip.kratochvil at nelasoft.cz] 
Sent: Tuesday, October 07, 2014 5:15 PM
To: 'The OpenCms mailing list'
Cc: 'Christoph Kukulies'
Subject: RE: [opencms-dev] cannot edit jsp source code - fck editor loops

 

Hi Christoph,

 

we have same problem in OpenCms 7 in Firefox.

 

We didn´t solved it until now, but i think it´s caused by old EditArea editor. We hape OpenCms 8 and there is everything OK. I looked in to the javascripts in module „org.opencms.editors.editarea“ and code looks newer. So we will try update this module (i mean install module from OpenCms 8 in to the OpenCms 7). But there can be some another dependecies, i can´t say now it will workJ

 

I´ll try it and give you info (today evening).

 

--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz

 

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Deiverson Silveira
Sent: Tuesday, October 07, 2014 4:10 PM
To: Christoph Kukulies; The OpenCms mailing list
Subject: Re: [opencms-dev] cannot edit jsp source code - fck editor loops

 

Hi Christoph,

This problem happens on all browsers? (IE, Firefox, Chrome, etc)

Regards,

Deiverson

 

2014-10-07 10:25 GMT-03:00 Christoph Kukulies <kuku at physik.rwth-aachen.de>:

I have a problem with editing source code of a .JSP file in modules/org.company.frontend/elements/some.jsp

When I click on Edit Source Code, the fck-editor loops end never ends. The horizontal (!) scroll bar is decreasing
permanently. Using the vertical scroll bar to scroll to the end doesn't work because the editor always jumps back to the beginning.

When I switch (in the default settings) to the simple page editor, I can edit the JSP.

Strange.
-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20141014/24a3391d/attachment.htm>


More information about the opencms-dev mailing list