Hi,
I want to display a list of files and a check box for each file.
collection eFiles of tVForm below has a
string attribute ("fileName") and a boolean attribute ("selected")
when user checks few check boxes and clicks on "Delete" button, i should be able to identify them in my action class using selected attribute set to true.
Here is my code in
jsp using displaying tag
<display:table name="sessionScope.tVForm.eFiles" requestURI="/cleanTableExtraction.do"
id="rows" pagesize="50" class="table">
<display:column property="fileName" title="FileName" />
<display:column title="Select" >
<html:checkbox name="rows" property="selected"></html:checkbox>
</display:column>
</display:table>
<html:button onclick="fnDeleteFiles();" value="Delete" />
</display:table>
i guess i am missing somewhere with the usage of checkbox inside <display:column>. could some please help me with this?