cancel
Showing results for 
Search instead for 
Did you mean: 

how to implement in a JSP?

lisa_miller3
Participant
0 Kudos

Does anyone have a working example of how to implement <sap:commandManyShuttle> in a JSP?

Thanks,

Lisa

Accepted Solutions (1)

Accepted Solutions (1)

lisa_miller3
Participant
0 Kudos

Here is an example:


 

JSP:


    <sap:panel id="shuttlePanel">
        <sap:panelGrid>
            <sap:panelRow>
                <sap:commandManyShuttle value="#{myBean.selectedColumnsList}">
                    <f:selectedItems value="#{myBean.allColumnsList}">

                    &lt;sap:ajaxUpdate render="#" /&gt;
                </sap:commandManyShuttle>
            </sap:panelRow>
        </sap:panelGrid>
    </sap:panel>


BEAN:


    List<SelectItem> allColumnsList = new ArrayList<SelectItem>();
    List<String> selectedColumnsList = new ArrayList<String>();



Answers (0)