Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4223

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.20
    • Fix Version/s: 1.4.20, 1.5.4
    • Component/s: wicket
    • Labels:
    • Environment:
      Apache Wicket 1.4.18
      IBM WebSphere Portal 6.1

      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 &

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              matutet José Antonio Matute
            • Votes:
              6 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: