12.07.2015 Views

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Navigation <strong>Components</strong>AttributeremembershowBodyshowTabBarDescriptionIf true, remember the most recently displayed tab number in a session cookie and return tothis tab when redisplayed. The default is false.remember has the underlying data type %ZEN.Datatype.boolean. It has the value "true" or"false" in XData Contents, 1 or 0 in server-side code, true or false in client-side code.If true, display the set of tabs that belong to this . By setting showBody to false,and setting showTabBar true, you can display a set of tab bar buttons with no tab contentsunderneath. The default for showBody is true, and for showTabBar is false.showBody has the underlying data type %ZEN.Datatype.boolean. It has the value "true" or"false" in XData Contents, 1 or 0 in server-side code, true or false in client-side code.If true, display a set of tab buttons along the top of this group. The default is false.showTabBar has the underlying data type %ZEN.Datatype.boolean. It has the value "true" or"false" in XData Contents, 1 or 0 in server-side code, true or false in client-side code.7.3.2 A presents a stack of buttons, one for each tab. Clicking on a button shifts the other buttons down so thatthey display below the contents of the currently selected tab.The following example is based on the class ZENTest.LookoutMenuTest in the SAMPLES namespace. In the illustration,the user has clicked the “Animal” button to reveal the contents of that tab. This selection moved the remaining buttons tothe bottom of the lookout menu. The cursor is now on the “Vegetables” menu item. If the user clicks this item, the contentsof its link will be activated as defined in the corresponding .A contains a set of components, which in turn contain and components.These tabs are groups that can contain any component, but when they are present inside a they contain thecomponents that would normally define a .The definition that produced the above illustration follows:202 <strong>Using</strong> <strong>Zen</strong> <strong>Components</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!