[ https://issues.apache.org/jira/browse/JSPWIKI-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298520#comment-14298520 ]
David Vittor commented on JSPWIKI-566: -------------------------------------- Thanks Dirk, I've managed to get this to work without the Mootools library, by using the independant xmlHttpRequest version. However to improve the error handling we just need to test the above changes and convert them over. I've also decided to check this code in. It works well enough to replace the previous library, and all the tests pass. So I've made the commit, as well as the code for JSPWIKI-502. There will be a few teething issues which I will need to iron out I'm sure, but this will be the end of my free time for a while, so figured I'd commit the code. David V > AJAX server-side rewrite > ------------------------ > > Key: JSPWIKI-566 > URL: https://issues.apache.org/jira/browse/JSPWIKI-566 > Project: JSPWiki > Issue Type: Improvement > Components: Core & storage > Affects Versions: 2.10.1 > Reporter: Janne Jalkanen > Assignee: David Vittor > Attachments: ajaxDispatchServlet.patch, ajaxFunctions.patch, > ajaxFunctions.patch, ajaxFunctions.patch, ajaxFunctions.patch, > ajaxFunctions.patch, test.html > > > The AJAX library we're currently using is a bit problematic, as it stores > non-serializable stuff in the HttpSession (causing all sorts of nasty > exception reports in default configurations of Tomcat, and preventing > clustering). It does provide a very nice, reflection-based interface so that > we can expose any class/method as a JSON endpoint, but this does not really > work well with our auth system. > We should replace the jabsorb stuff with a Stripes-native solution (possibly > with some extensions to allow particular beans to expose methods as if we > were using jabsorb). -- This message was sent by Atlassian JIRA (v6.3.4#6332)