Wicket
  1. Wicket
  2. WICKET-5089

Make MultiFileUploadField's ResourceReference JS public to be able to include in Application's getResourceBundles.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket
    • Labels:
      None

      Description

      The JS variable is declared as private on line 96.
      Make it public or make a public method to retrieve it.

        Activity

        Hide
        Martin Grigorov added a comment -

        Now it is public.
        But you can add it to a bundle even now by using :
        #addBundle(My.class, new JavaScriptResourceReference(MultiFileUploadField.class, "MultiFileUploadField.js")

        i.e. the bundling works with ResourceReference#equals(), not with identity equality.

        Show
        Martin Grigorov added a comment - Now it is public. But you can add it to a bundle even now by using : #addBundle(My.class, new JavaScriptResourceReference(MultiFileUploadField.class, "MultiFileUploadField.js") i.e. the bundling works with ResourceReference#equals(), not with identity equality.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development