Hi, I think I know what broke it. It should be fine in 1.5.9 again with https://issues.apache.org/jira/browse/WICKET-4752
On Fri, Oct 26, 2012 at 12:35 PM, Steamus <steam...@gmail.com> wrote: > Hi, Martin > > Yesterday, I migrated to the Wicket 6.2.0 and it started working again! > > I didn’t see any messages about some javascript’s error in browser, but I > didn’t use any special tools to debug javascript. > > Integration was enough easy, so there is not so much to share. They provide > several jars. One of them contains ConnectorServlet and FileUploadFilter. So > you need to put it into the 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/config.xml</param-value> > </init-param> > <init-param> > <param-name>debug</param-name> > <param-value>false</param-value> > </init-param> > <init-param> > <param-name>configuration</param-name> > <param-value>com.app.CKFinderConfiguration</param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> > > <servlet-mapping> > <servlet-name>ConnectorServlet</servlet-name> > <url-pattern> > /script/ckfinder/core/connector/java/connector.java > </url-pattern> > </servlet-mapping> > > <filter> > <filter-name>FileUploadFilter</filter-name> > <filter-class>com.ckfinder.connector.FileUploadFilter</filter-class> > <init-param> > <param-name>sessionCookieName</param-name> > <param-value>JSESSIONID</param-value> > </init-param> > <init-param> > <param-name>sessionParameterName</param-name> > <param-value>jsessionid</param-value> > </init-param> > </filter> > > <filter-mapping> > <filter-name>FileUploadFilter</filter-name> > <url-pattern> > /script/ckfinder/core/connector/java/connector.java > </url-pattern> > </filter-mapping> > > It is possible to provide own CKFinderConfiguration class with easy code: > > public class CKFinderConfiguration extends Configuration > { > @Override > public String getBaseDir() > { > return Application.CONTENT_MEDIA_FOLDER; > } > > @Override > public String getBaseURL() > { > return "/app/media/"; > } > } > > And one line in the javascript to link script’s parts of CKEditor with > CKFinder: > > CKFinder.setupCKEditor(null, '/app/script/ckfinder/'); > > That’s it. And that starts working just after preparing. I changed Wicket > versions several times last year and it worked very well up to 1.5.8. And > starts working again from 6.2.0. > > Thanx in advance. > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Ajax-file-manager-CKFinder-and-Wicket-1-5-8-tp4653275p4653381.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org