Opened 3 years ago

Closed 3 years ago

#14891 closed Task (invalid)

CKFinder 2.6.1 for multiple ckfinder instance configuration in java and javascript

Reported by: sweta Owned by:
Priority: Normal Milestone:
Component: Server : Java Version:
Keywords: CKFINDER 2.6.1 Cc:

Description

Currently I am using 2.6.1 Ckfinder java version. I require to set two configuration xml and two ckfinder instance in same page with java version. For that

  1. I have set 2 different config.xml in web.xml

<servlet> <servlet-name>ConnectorServlet</servlet-name>

<servlet-class>com.ckfinder.connector.ConnectorServlet</servlet-class>

<init-param> <param-name>XMLConfig</param-name> <param-value>/WEB-INF/config1.xml</param-value> <param-value>/WEB-INF/config2.xml</param-value>

</init-param> <init-param>

<param-name>configuration</param-name> <param-value>MyConfigration</param-value>

</init-param> <init-param>

<param-name>debug</param-name> <param-value>false</param-value>

</init-param> <load-on-startup>1</load-on-startup>

</servlet> <servlet-mapping>

<servlet-name>ConnectorServlet</servlet-name> <url-pattern>

/ckfinder/core/connector/java/connector.java

</url-pattern>

</servlet-mapping>

  1. I have added 2 MyConfiguration java class. MyConfiguration1.java and MyConfiguration2.java
  1. I have added 2 NewPathBuilder java class for basedir and baseurl configuration NewPathBuilder1.java and NewPathBuilder2.java

Now, how can I use config1.xml for first ckfinder instance and config2.xml for second ckfinder instance at runtime with javascript for java ckfinder version?

Change History (1)

comment:1 Changed 3 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

I'm sorry but this is a place for reporting CKEditor bugs and not place for seeking advice or support.

If you have CKEditor license, please contact our support team. You also can ask your implementation questions at Stack Overflow.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy