<display:table name="${Form.map.runs}" id="runs"
requestURI="PrepareAction.do" class="single" defaultsort="4"
defaultorder="descending" pagesize="6">
<display:column titleKey="name" sortable="true"
href="PrepareRunAction.do" headerClass="sortable">
<html:multibox property="selectedRuns"><c:out
value="${runs.runName}"/></html:multibox>
<c:out value="${runs.runName}"/>
</display:column>
.......................
.........................
</display:table>
everything seams to be right.
When I click on one of the link in the page (not in table)
it should delete rows that a re selected.
But the selectedRuns are null. why is that?
<form-bean name="Form"
type="org.apache.struts.action.DynaActionForm">
<form-property name="name" type="java.lang.String"/>
<form-property name="runs" type="java.util.ArrayList"/>
<form-property name="selectedRuns" type="java.lang.String[]"/>
</form-bean>
<!-- Delete -->
<c:url value="/DispatchAction.do" var="deleteUrl">
<c:param name="method" value="Delete"/>
</c:url>
<html:link href="${deleteUrl}" transaction="true">
<fmt:message key="lbl.delete"
bundle="${appbundle}"/>
</html:link>
In the post action in delete method the selecedRuns is empty even after
selecting the checkboxes.
why is this? what is the issue?
I tried to do similar stuff before and worked fine. not sure what the
problem here is though.
Please help me.
Thanks.
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user