Details
Description
Recently, when we were developing an application for IBM WebSphere Portal 6.1 (JSR286 Portlet) using Wicket 1.4.18, we had problems with forms that use AjaxButton component for submitting.
After some investigations, we realized that the problem was on the javascript side (wicket-ajax.js). The url encoded by IBM WebSphere Portal 6.1 has the following pattern:
/wps/myportal/!ut/p/c5/_very_very_long_string_ended_with_a_slash/
and when wicket-ajax.js do the submit, builds the following url
/wps/myportal/!ut/p/c5/_very_very_long_string_ended_with_a_slash/&wicket:ajax=true
As you can see, this is an invalid URL: after the / must be an ? not an &