Includes its body if the current iView's Show Tray property is set to true . This property is set by a content administrator.
If you use these tags, make sure to include both an IfShowTray and IfNotShowTray tag. In addition, make sure to include the iViewContent tag in both the IfShowTray and IfNotShowTray tag, or outside either tag; otherwise, the iView's content may not be displayed in all cases.
The following displays a custom iView tray if the current iView is set to be displayed in a tray.
Note that the IViewContent tag is repeated within both the IfShowTray and IfNotShowTray tags.
<lyt:containerWithTrayDesign id="column1"> <lyt:IfShowTray> <h3><lyt:IViewTitle/></h3> <div class="ivuOptions"> <lyt:IViewToggleOpen>Open</lyt:IViewToggleOpen> <lyt:IViewToggleClose>Close</lyt:IViewToggleClose> | <lyt:IViewExpand>Open in New Window</lyt:IViewExpand> | <lyt:IViewRefresh>Refresh</lyt:IViewRefresh> | <lyt:IViewAbout>About</lyt:IViewAbout> | <lyt:IViewHelp>Help</lyt:IViewHelp> | <lyt:IViewRemove>Remove</lyt:IViewRemove> | <lyt:IViewPersonalize>Personalize</lyt:IViewPersonalize> </div> <div class="ivuContent"> <lyt:IViewContent/> </div> </lyt:IfShowTray> <lyt:IfNotShowTray> <lyt:IViewContent/> </lyt:IfNotShowTray> </lyt:containerWithTrayDesign>