How can I remove an element in a repeated list?

Help me find this list picking interface element

  • Is there a name for the UI element with two list columns, and an add and a remove button between them that transfer list items from one column to the other? Is there a good free javascript implementation out there that would be easyish to integrate into a Spring Surf (Alfresco Share) application?

  • Answer:

    The name is list picker or double list picker. Here's http://javascript.internet.com/forms/the-picklist-script.html to help you get started.

Riki tiki at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

I've implemented it several times before as two JLists and two JButtons in a JPanel. Honestly, there's not really any need for an existing implementation. Just add the components to the JPanel, use an appropriate layout, and add a couple of ActionListeners to the buttons.

Netzapper

Oh, crap. You said "javascript" and "Spring", not "Java" and "Swing". Disregard.

Netzapper

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.