当前位置:网站首页>strut2 表单标签
strut2 表单标签
2022-07-25 09:27:00 【安卓世界库】
1. 简单UI标签
<s:textfield key="email.toyc" name="to" />
提取后的内容是 <tr>
<td class="tdLabel"><label for="hello_to" class="label">email.toyc:</label></td>
<td
class="tdInput"
><input type="text" name="to" value="" id="hello_to"/></td>
</tr>就是前面label中的内容
2.群组、选择UI标签
<s:checkboxlist label="Hobbies" name="hobbies"
list="{'sports','tv','shopping'}" />
<s:select label="Company Office" name="mySelection"
value="%{'America'}"
list="%{#{'America':'America'}}">
<s:optgroup label="Asia"
list="%{#{'India':'India','China':'China'}}" />
<s:optgroup label="Europe"
list="%{#{'UK':'UK','Sweden':'Sweden','Italy':'Italy'}}" />
</s:select>
主要都是通过list罗列选项
边栏推荐
- Redis和MongoDB的区别
- 腾讯云之错误[100007] this env is not enable anonymous login
- [tensorflow2 installation] tensorflow2.3-cpu installation pit avoidance guide!!!
- 【近万字干货】别让你的简历配不上你的才华——手把手教你制作最适合你的简历
- 关闭brew执行命令时的自动更新
- FPGA basic advanced
- 文件的上传功能
- 多数相合问题总结
- [machine translation] scones -- machine translation with multi tag tasks
- ROS distributed operation -- launch file starts nodes on multiple machines
猜你喜欢
随机推荐
CentOs安装redis
史上最全面的UE4 文件操作,打开,读、写,增、删、改、查
JSP详解
1、 Initial mysql, MySQL installation, environment configuration, initialization
SSM integration (simple library management system to integrate SSM)
Probability theory and mathematical statistics 3 discrete random variables and probability distributions (Part 2)
rospy Odometry天坑小计
IDEA整体字体大小修改
C函数不加括号的教训
message from server: “Host ‘xxx.xxx.xxx.xxx‘ is not allowed to connect to this MySQL server“
FPGA basic advanced
nodejs版本升级或切换的常用方式
小程序企业发放红包功能
Eco introduction
Summary of most consistency problems
An ASP code that can return to the previous page and automatically refresh the page
广度优先遍历(图和二叉树的层序遍历相关问题)
线程池的死锁事件
OSPF协议的配置(以华为eNSP为例)
TensorFlow raw_ RNN - implement the seq2seq mode to take the output of the previous time as the input of the next time




![[recommended collection] with these learning methods, I joined the world's top 500 - the](/img/95/e34473a1628521d4b07e56877fcff1.png)




