cancel
Showing results for 
Search instead for 
Did you mean: 

Validation-Error in sap:commandManyShuttle

former_member329581
Participant
0 Kudos

Hi,

I'm facing an issue with the sap:commandManyShuttle-component. Maybe someone was it also facing and has a solution for that.

I've created it in the JSP with

<sap:commandManyShuttle value="#{wpmfDialog.selectedItems}">

    <f:selectItems value="#{wpmfDialog.availableItems}"/>

</sap:commandManyShuttle>

Backingbean:

private List<String> selectedItems= new ArrayList<String>();

private List<SelectItem> availableItems= new ArrayList<SelectItem>();

Both with getters/setters.

In case the dialog is openend with a empty seletedItems-List everything works like expected. But If I add some strings before I get a validation-error if I try to use the buttons in the shuttle and also no selected items appearing in the right side of the shuttle.

Accepted Solutions (1)

Accepted Solutions (1)

lisa_miller3
Participant
0 Kudos

http://scn.sap.com/thread/3572638

Try using "allColumnsList" instead of "availableItems" in your <f:selecteItems> tag - this needs to be the list of all columns, including those in your "selectedItems" list

former_member329581
Participant
0 Kudos

Thanks Lisa!

Thats the issue, The filtering which objects are left and right comes from the shuttle itself so it needs a list of all available items without filtering on my side.

Answers (0)