Wrong Ajax form submit with wicket-1.418 and IBM WebSphere Portal 6.1
---------------------------------------------------------------------

                 Key: WICKET-4223
                 URL: https://issues.apache.org/jira/browse/WICKET-4223
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.20
         Environment: Apache Wicket 1.4.18
IBM WebSphere Portal 6.1


            Reporter: José Antonio Matute
         Attachments: wicket-1.4.x-wicket-ajax.js.patch

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 &

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to