Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8
Seems, yes. Because I didn’t check 1.5.9. I jumped to 6.1.1 and it didn’t work yet. Thank you, Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-file-manager-CKFinder-and-Wicket-1-5-8-tp4653275p4653383.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
Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8
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 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 > > > ConnectorServlet > > com.ckfinder.connector.ConnectorServlet > > XMLConfig > /WEB-INF/config.xml > > > debug > false > > > configuration > com.app.CKFinderConfiguration > > 1 > > > > ConnectorServlet > > /script/ckfinder/core/connector/java/connector.java > > > > > FileUploadFilter > com.ckfinder.connector.FileUploadFilter > > sessionCookieName > JSESSIONID > > > sessionParameterName > jsessionid > > > > > FileUploadFilter > > /script/ckfinder/core/connector/java/connector.java > > > > 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
Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8
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 ConnectorServlet com.ckfinder.connector.ConnectorServlet XMLConfig /WEB-INF/config.xml debug false configuration com.app.CKFinderConfiguration 1 ConnectorServlet /script/ckfinder/core/connector/java/connector.java FileUploadFilter com.ckfinder.connector.FileUploadFilter sessionCookieName JSESSIONID sessionParameterName jsessionid FileUploadFilter /script/ckfinder/core/connector/java/connector.java 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
Re: Ajax file manager 'CKFinder' and Wicket >= 1.5.8
Hi, Looking at the changelog I don't see anything suspicious. Did you check for JavaScript errors in Firebug/Dev tools ? Can you share your code with us so we can see how you do the integration and what could be the problem ? On Tue, Oct 23, 2012 at 6:40 PM, Steamus wrote: > Hello, Everybody > > In my project I use JavaScript editor ‘CKEditor’ with Ajax file manager > ‘CKFinder’. It worked fine a lot of months. But, > just I migrated to version Wicket 1.5.8, the ‘CKFinder’ doesn’t work > properly any more. There are no visible crashes or bugs, but It can’t upload > file to server now. Looks like there were some little changes in the Wicket > Ajax mechanic. If I switch to Wicket 1.5.7 it work fine as before. I was > trying to migrate to Wicket 1.6.1. Project works fine, but ‘CKFinder’ > doesn’t work (the same as for 1.5.8). > > May be anybody has some idea what was changing in the 1.5.8 concerning Ajax > or server response or…? > > I tested under Tomcat 6.0.35 > > Thanx in advance. > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Ajax-file-manager-CKFinder-and-Wicket-1-5-8-tp4653275.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
Ajax file manager 'CKFinder' and Wicket >= 1.5.8
Hello, Everybody In my project I use JavaScript editor ‘CKEditor’ with Ajax file manager ‘CKFinder’. It worked fine a lot of months. But, just I migrated to version Wicket 1.5.8, the ‘CKFinder’ doesn’t work properly any more. There are no visible crashes or bugs, but It can’t upload file to server now. Looks like there were some little changes in the Wicket Ajax mechanic. If I switch to Wicket 1.5.7 it work fine as before. I was trying to migrate to Wicket 1.6.1. Project works fine, but ‘CKFinder’ doesn’t work (the same as for 1.5.8). May be anybody has some idea what was changing in the 1.5.8 concerning Ajax or server response or…? I tested under Tomcat 6.0.35 Thanx in advance. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-file-manager-CKFinder-and-Wicket-1-5-8-tp4653275.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