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

Missing redirects in AjaxPagingNavigationLink and AjaxPagingNavigationIncrementLink

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.5, 1.4-RC1
    • 1.3.6, 1.4-RC2
    • None
    • None

    Description

      With Javascript enabled AjaxPagingNavigator work just fine and as expected,
      but without Javascript it leaves an URLs
      like ?wicket:interface=:3:cont1:nav:next:3:ILinkListener:: behind, because
      of a missing redirect.
      This means, the comments in AjaxPagingNavigationLink#onClick and in
      AjaxPagingNavigationIncrementLink#onClick seem to be incorrect, we DO need
      to redirect to make sure the Ajax-Fallback works correctly.

      Attached is a small example project that shows the effect as well as a workaround,
      and a patch, which should be applicable both on 1.3.x and 1.4.x

      Attachments

        1. wicket_2038_demo.zip
          2 kB
          Jonas
        2. wicket_2038.patch
          1 kB
          Jonas

        Activity

          People

            ivaynberg Igor Vaynberg
            jonas Jonas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: