view:add
Add two views together, to produce a view that includes the objects in both views. If any items were in both views, the new view will only include one of the objects.
Syntax
<view:add 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 first view to add. 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 second view to add. 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 view1 from the bean specified by the nameView2-attribute.