<html:select property="type" styleId="type">
<html:options collection="selectListType" labelProperty="label" property="value" />
</html:select>上面的property="type"是什么意思?
styleId="type"是什么意思?
collection="selectListType"是什么意思?labelProperty="label"是什么意思?property="value"是什么意思?呵呵,小弟以前用struts2的,对这个不熟悉,麻烦各位哥哥姐姐说的详细点
<html:options collection="selectListType" labelProperty="label" property="value" />
</html:select>上面的property="type"是什么意思?
styleId="type"是什么意思?
collection="selectListType"是什么意思?labelProperty="label"是什么意思?property="value"是什么意思?呵呵,小弟以前用struts2的,对这个不熟悉,麻烦各位哥哥姐姐说的详细点
还在用struts1啊,struts2都这么长时间了
我机器上装的是oracle10g人家还在用9i呢,哭啊……
collection="selectListType"是select下拉框中的所有值
labelProperty="label" property="value"
至两个你可以理解为数据库中的id,与对应的name 第一个是name,后面的是id
比如说我list里有id和name两列,应该怎么写?