Hello,

I have the following piece of code in a jsp that generates a search results'
table.


<logic:iterate id="aBean" name="search_results">
    <tr>
      <td >
        <input type="checkbox" name="elementsId"  value='<bean:write
name="aBean" property="id"/>' />
      </td>
      <td ><bean:write name="aBean" property="codigo"/></td>
      <td ><bean:write name="aBean" property="fechaCreacion"/></td>
      <td ><bean:write name="aBean" property="descripcion"/></td>
      <td ><bean:write name="aBean" property="billingDate"/></td>
      <td ><bean:write name="aBean"
property="montoTotalSinDescuento"/>&euro;</td>
      <td ><img onmouseover='cambiarImagen(this,"img/icon-edit.gif");'
onmouseout='cambiarImagen(this,"img/icon-edit-low.gif");'
src='img/icon-edit-low.gif' onclick='javascript:editInvoice("<bean:write
name="aBean" property="id"/>");'/></td>
    </tr>
  </logic:iterate>


There is a delete button that invokes the "delete" action for deleting those
elements whose checkbox was selected. In order to do that, on each row I set
the value to the corresponding element's id. I've also created a String[]
property called "elementsId" inside my actionForm class. I've even added the
properties for that form inside Struts' xml descriptor.

IT DOESN'T WORK. The values are not being mapped to the String[].

What could be the cause for this?

Thanks,
Freddy.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to