Wicket
  1. Wicket
  2. WICKET-4000

Header contributions order is not stable

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC6
    • Fix Version/s: 6.0.0-beta1
    • Component/s: wicket
    • Labels:
      None

      Description

      In the last RCs, I started to experience problems with the contributions order.
      For example, I add jQuery, and until 1.5RC5, it worked well, but now the call to the jQuery script has been moved to the bottom of the page head, and this disables all my other scripts that are expecting jQuery's $ to be defined.

      I attach a quickstart to demonstrate the problem.
      Maybe the order in the quickstart is not the expected one, but what it shows is that the order does not make real sense (at least to me) :
      In the quickstart, the wicket:head tag contributions are in the order 3 - 8 - 9 - 5, and the renderHead methods contributions are in the order 4 - 1 - 2 - 6 - 7.

        Issue Links

          Activity

          Sylvain Vieujot created issue -
          Sylvain Vieujot made changes -
          Field Original Value New Value
          Attachment quickstart-scriptsOrder.zip [ 12492019 ]
          Martin Grigorov made changes -
          Link This issue is related to WICKET-3761 [ WICKET-3761 ]
          Martin Grigorov made changes -
          Fix Version/s 1.6.0 [ 12315431 ]
          Emond Papegaaij made changes -
          Attachment 0001-WICKET-4000-render-all-headers-through-IHeaderRespon.patch [ 12508056 ]
          Emond Papegaaij made changes -
          Emond Papegaaij made changes -
          Attachment 0001-WICKET-4000-render-all-headers-through-IHeaderRespon.patch [ 12508056 ]
          Martin Grigorov made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Martin Grigorov [ mgrigorov ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Sylvain Vieujot
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development