Wicket
  1. Wicket
  2. WICKET-1197

add/remove all buttons in Palette component

    Details

    • Type: Wish Wish
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.13.0, 7.0.0-M1
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      It would be nice if the Palette component had buttons to move all of the items from one side of the selectable options to the other.

      Many desktop applications with this style of data manipulation have these buttons to greatly speed up the process of adding large numbers of items to the selected items

      eg:

      [ item ] ( add all ) [item]
      [ item ] ( add selected) [item]
      [ item ] ( remove selected ) [item]
      [ item ] ( remove all ) [item]

      1. WICKET-1197.patch
        8 kB
        Niels van Kampenhout

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        2208d 20h 33m 1 Martin Grigorov 18/Dec/13 16:09
        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 6.13.0 [ 12325564 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Resolution Fixed [ 1 ]
        Hide
        Martin Grigorov added a comment -

        With a long overdue the patch is applied.

        I've also replaced the usage of images for the buttons with CSS content property that uses Unicode arrows. To replace them the application can provide custom CSS.

        Show
        Martin Grigorov added a comment - With a long overdue the patch is applied. I've also replaced the usage of images for the buttons with CSS content property that uses Unicode arrows. To replace them the application can provide custom CSS.
        Martin Grigorov made changes -
        Assignee Martin Grigorov [ mgrigorov ]
        Martin Grigorov made changes -
        Fix Version/s 1.5-M4 [ 12315483 ]
        Jeremy Thomerson made changes -
        Fix Version/s 1.5-M4 [ 12315483 ]
        Fix Version/s 1.5-M3 [ 12315329 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-M3 [ 12315329 ]
        Fix Version/s 1.5-M2 [ 12315237 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.5-M2 [ 12315237 ]
        Fix Version/s 1.5-M1 [ 12313078 ]
        Timo Rantalaiho made changes -
        Fix Version/s 1.5-M1 [ 12313078 ]
        Fix Version/s 1.4-M4 [ 12313295 ]
        Hide
        Timo Rantalaiho added a comment -

        This is a new feature so belongs to 1.5, right?

        Sounds like a nice feature, thanks!

        Show
        Timo Rantalaiho added a comment - This is a new feature so belongs to 1.5, right? Sounds like a nice feature, thanks!
        Martijn Dashorst made changes -
        Fix Version/s 1.4-M3 [ 12312912 ]
        Fix Version/s 1.4-M4 [ 12313295 ]
        Hide
        Martijn Dashorst added a comment -

        Moved to next milestone release.

        Show
        Martijn Dashorst added a comment - Moved to next milestone release.
        Frank Bille Jensen made changes -
        Fix Version/s 1.4-M3 [ 12312912 ]
        Fix Version/s 1.4-M2 [ 12312911 ]
        Niels van Kampenhout made changes -
        Attachment WICKET-1197.patch [ 12382069 ]
        Hide
        Niels van Kampenhout added a comment - - edited

        I attached a patch which adds optional "add all" and "remove all" buttons to the Palette. I added two constructors with an extra parameter, boolean allowMoveAll, to enable the two new buttons. The original constructors default this parameter to false so existing applications are not affected.

        Note: I used ">>" and "<<" labels for the buttons instead of images.

        Show
        Niels van Kampenhout added a comment - - edited I attached a patch which adds optional "add all" and "remove all" buttons to the Palette. I added two constructors with an extra parameter, boolean allowMoveAll, to enable the two new buttons. The original constructors default this parameter to false so existing applications are not affected. Note: I used ">>" and "<<" labels for the buttons instead of images.
        Hide
        Niels van Kampenhout added a comment -

        I have code lying around for this. Will create and send in a patch later this week.

        Show
        Niels van Kampenhout added a comment - I have code lying around for this. Will create and send in a patch later this week.
        Frank Bille Jensen made changes -
        Fix Version/s 1.4-M1 [ 12312523 ]
        Fix Version/s 1.4-M2 [ 12312911 ]
        Martijn Dashorst made changes -
        Fix Version/s 1.4-M1 [ 12312523 ]
        Fix Version/s 1.3.1 [ 12312500 ]
        Igor Vaynberg made changes -
        Fix Version/s 1.3.1 [ 12312500 ]
        Jason Anderson made changes -
        Field Original Value New Value
        Issue Type New Feature [ 2 ] Wish [ 5 ]
        Hide
        Jason Anderson added a comment -

        move to Wish

        Show
        Jason Anderson added a comment - move to Wish
        Jason Anderson created issue -

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Jason Anderson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development