Page 1 of 1

Apache Myfaces Orchestra and pe:ckEditor adds conversationContext twice

Posted: 28 Nov 2017, 11:17
by christopherR
I am using Primefaces 6.1, Extensions 6.1.1 and ckEditor-resources 6.1.1 and myfaces orchestra-core-20 1.5

When I try to include the ckEditor using the <pe:ckEditor - tag in my page, it fails because somehow thwe conversationContext for ckEditor's resources are added twice: once before the .jsf - parsing and once at the end, so that the URI looks like this:

Code: Select all

/javax.faces.resource/ckeditor/styles.js&conversationContext=6.jsf?ln=primefaces-extensions&v=6.1.1&conversationContext=6
for some reason the parameter is included twice, and this does not happen with any other primefaces component that relies on external resources - what is the matter here? bug? or something wrong with my pom/web.xml - files?

Re: Apache Myfaces Orchestra and pe:ckEditor adds conversationContext twice

Posted: 28 Nov 2017, 14:19
by Melloware
The problem is most likely with this class...

https://github.com/primefaces-extension ... ifier.java

We have to dynamically add resources like plugins to make CKEditor work and somehow that Conversation Context is causing a problem with the ResourceModifier. Can you please create an issue in our GitHub describing your exact issue above?

https://github.com/primefaces-extension ... com/issues

Re: Apache Myfaces Orchestra and pe:ckEditor adds conversationContext twice

Posted: 28 Nov 2017, 15:12
by christopherR