it didn't work because the value of the object (the "deleted" image button) didn't change to true...
I need to set this value to true but not sure if I'm doing it the right way...when I submit the form I check in a
struts action the value of the object and it is not set to true...
as I said before The object "deleted" is contained in a list that belongs to the form, but the object itself isn't...