collection:remove

Removes a object from the specified Collection.

If the collection is of type Map we will remove the key from the map. If the value specified is not equal to any keys in the Map, nothing will happened.

Syntax
<collection:remove
   collection="..."
   name="..."?
   property="..."?
   value="..."?/>
Attributes
collection, mandatory

The collection we are about to remove an object from.

value

Value to be removed from the specified Collection.

name

Name of an bean to be removed from the specified collection. If the property attribute also is set, we will get that property from the bean specified here.

property

Specifies the name of the property to be removed from the collection (on the bean specified by name).