java - Unable to get checkbox value from display tag to in my action class? -


i using checkbox in display tag, want pass 1 of column data checkbox value, unable retrieve checkbox value, returning null.

this code:

<input type="checkbox" name="allbox" onclick="checkall(this.form)"/>  <form name="editform" action="worklistresults.jsp">     <input type="submit" name="method" value="delete" class="button" />     <br /><br />      <display:table name="test" uid="test" class="list">         <display:column style="width: 5%" title="${checkall}">              <input type="checkbox" name="id" style="margin: 0 0 0 4px" onclick="checkbox(this)" value="${id.rownum}" />             <c:if test="${param.workitemid == test.workitemid , param.method != 'save'}" checked="checked"</c:if>         </display:column>         <display:column title="first name">         </display:column>         <html:hidden property="workitemid" value='<%=request.getparameter("workitemid")%>'/>         <display:column class="workitemid" property="workitemid"  paramid="workitemid" paramproperty="workitemid"             title="workitemid" sortable="true" headerclass="sortable" maxlength="50" />          </display:table> </form> 


Comments