Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsp 为每行-显示列标记添加复选框_Jsp - Fatal编程技术网

Jsp 为每行-显示列标记添加复选框

Jsp 为每行-显示列标记添加复选框,jsp,Jsp,我想在每行的开头添加一个复选框。我尝试添加它,但它不起作用 谁能帮忙吗 <display:table decorator="com.Decorator" sort="external" style="text-align:left"> <display:column property='checkbox' name='selectall'/> <display:column property="Address" title="Address" sor

我想在每行的开头添加一个复选框。我尝试添加它,但它不起作用

谁能帮忙吗

<display:table decorator="com.Decorator" sort="external" style="text-align:left">
    <display:column property='checkbox' name='selectall'/>
    <display:column property="Address" title="Address" sortable="false" headerClass="sortable" style="min-width:80px"/>
    <display:column property="Name" title="Name" sortable="false" headerClass="sortable" style="min-width:120px"/>
    <display:column property="status" title="Status" sortable="false" headerClass="sortable" style="min-width:80px"/>
</display:table>

尝试更改为

<display:column style="min-width:20px">
    <input type="checkbox" /> 
</display:column>