我正在通过http://loudev.com/#project教程来创建类似 mutliselect 的东西。但我不明白如何为我的 Struts 列表 jsp 做到这一点。我的jsp如下
UPDATE:
<display:table name="dimComponents" class="table table-condensed table-hover editRow" requestURI="" id="dimComponentList" export="true" pagesize="5">
<select multiple="multiple" id="my-select" name="my-select[]">
<option value='<display:column property="componentDesc" sortable="true" href="editDimComponent" media="html"
paramId="componentKey" paramProperty="componentKey" titleKey="dimComponent.componentDesc"/>'>"dimComponent.componentDesc"</option>
<option value='
<display:column property="componentKey" media="csv excel pdf" titleKey="dimComponent.componentKey"/>'>"dimComponent.componentKey"</option>
<display:setProperty name="paging.banner.item_name"><fmt:message key="dimComponentList.dimComponent"/></display:setProperty>
<display:setProperty name="paging.banner.items_name"><fmt:message key="dimComponentList.dimComponents"/></display:setProperty>
<display:setProperty name="export.excel.filename"><fmt:message key="dimComponentList.title"/>.xls</display:setProperty>
<display:setProperty name="export.csv.filename"><fmt:message key="dimComponentList.title"/>.csv</display:setProperty>
<display:setProperty name="export.pdf.filename"><fmt:message key="dimComponentList.title"/>.pdf</display:setProperty>
</select>
</display:table>
我怎么能做到。