view:subtract
Subtract a view from another view, to produce a view that includes the difference of two views. Any item in view1 will be included in the result view, except for any item in view1 which is also in view2, which will not be included in the result view.
Syntax
<view:subtract id="..." nameView1="..."? nameView2="..."? propertyView1="..."? propertyView2="..."? view1="..."? view2="..."?/>
Attributes
id
, mandatory, no runtime expressionsThe name of the page scoped attribute to create with the result view.
view1
The view to subtract from. This must be a scriptlet that returns a View object.
nameView1
Name of bean to be used to get view1.
propertyView1
Name of property to get view1 from the bean specified by the nameView1-attribute.
view2
The view which will be removed from the first view. This must be a scriptlet that returns a View object.
nameView2
Name of bean to be used to get view2.
propertyView2
Name of property to get view2 from the bean specified by the nameView2-attribute.