struts2标签怎么应用到jsp中(<S:optiontransferselect) 5
<tdrowspan="2">用户类型</td><tdrowspan="2"align="right"><selectname="sourceSelect"size="8...
<td rowspan="2" >用户类型</td>
<td rowspan="2" align="right" >
<select name="sourceSelect" size="8" multiple="multiple" >
<option value="">计划员</option>
<option value="">采购员</option>
<option value="">部门领导</option>
<option value="">中心领导</option>
<option value="">系统管理员</option>
<option value="">外部采购员</option>
<option value="">质检部领导</option>
</select>
<td rowspan="2" align="center" >
<input type="button" name="addOption" value=">>" /><br> <br>
<input type="button" name="removeOption" value=">>"/>
</td>
<td rowspan="2" >
<select name="targetSelect" size="8" multiple="multiple">
<option> </option>
</select>
</td>
</tr>
<s:optiontransferselect
name="sourceSelect"
leftTitle="左侧为备选空间权限"
rightTitle="右侧为已有空间权限"
list="{'好友可见', '同事可见', '全部可见','全部不可见','自己都看不见'}"
multiple="true"
headerKey="headerKey"
headerValue="--- 请选择 ---"
emptyOption="true"
doubleList="{'访问需要密码', '点击需要积分', '不能骂人'}"
doubleName="rightSideCartoon"
doubleHeaderKey="doubleHeaderKey"
doubleHeaderValue="--- 请选择 ---"
doubleEmptyOption="true"
doubleMultiple="true" />
</tr>
<tr>
<tr>
<td colspan= "4 "> </td>
</tr>
<tr>
<td colspan="4" align="center" >
<button type="button" name="saveBack" onclick="window.alert('添加成功!');">保存返回</button>
<button type="button" name="continue" >继续录入</button>
<button type="button" name="back" >直接返回</button>
</td>
</tr>
</table>
</form>
</body> 展开
<td rowspan="2" align="right" >
<select name="sourceSelect" size="8" multiple="multiple" >
<option value="">计划员</option>
<option value="">采购员</option>
<option value="">部门领导</option>
<option value="">中心领导</option>
<option value="">系统管理员</option>
<option value="">外部采购员</option>
<option value="">质检部领导</option>
</select>
<td rowspan="2" align="center" >
<input type="button" name="addOption" value=">>" /><br> <br>
<input type="button" name="removeOption" value=">>"/>
</td>
<td rowspan="2" >
<select name="targetSelect" size="8" multiple="multiple">
<option> </option>
</select>
</td>
</tr>
<s:optiontransferselect
name="sourceSelect"
leftTitle="左侧为备选空间权限"
rightTitle="右侧为已有空间权限"
list="{'好友可见', '同事可见', '全部可见','全部不可见','自己都看不见'}"
multiple="true"
headerKey="headerKey"
headerValue="--- 请选择 ---"
emptyOption="true"
doubleList="{'访问需要密码', '点击需要积分', '不能骂人'}"
doubleName="rightSideCartoon"
doubleHeaderKey="doubleHeaderKey"
doubleHeaderValue="--- 请选择 ---"
doubleEmptyOption="true"
doubleMultiple="true" />
</tr>
<tr>
<tr>
<td colspan= "4 "> </td>
</tr>
<tr>
<td colspan="4" align="center" >
<button type="button" name="saveBack" onclick="window.alert('添加成功!');">保存返回</button>
<button type="button" name="continue" >继续录入</button>
<button type="button" name="back" >直接返回</button>
</td>
</tr>
</table>
</form>
</body> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询