Hi

I have an index page listing various records. Each record has a
checkbox next to it, which the user can check for a multi-delete
operation.

<input type="checkbox" name="TitleID[]" value="1" />
etc

On submission, the selected items are sent as an array. I have a
DeleteMultipleAction with an executeWrite() method, but I'm not able
to access this array from that method. It's probably because I haven't
set up the validation correctly and so Agavi is stripping out this
array variable in the validation process.

Can someone please suggest which validator to use in this case, to
have the checkbox array passed through to the executeWrite() method,
also what 'argument' should be used for the validator ie. TitleID or
TitleID[]

TIA

Vikram

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to