class %ZEN.Component.tab
extends group
A specialized group that defines a tab within a %ZEN.Component.tabGroup.
parameter DEFAULTLAYOUT = "vertical";
Subclasses can set this to change default layout for a group.
property caption
as %ZEN.Datatype.caption;
Caption displayed for this tab within the tabGroup tab bar (if displayed).
This is a localized value.
property link
as %ZEN.Datatype.uri(ZENEXPRESSION=1);
(Optional) If defined, then the tab displayed within the tabGroup bar
will become a link referring to this value. No link is displayed for the current tab.
property tabResource
as %ZEN.Datatype.resource;
(Optional) If specified, user must hold this resource or this item is disabled.
Note this merely disables this option; to prevent this component from being
served to the client, used the %resource property.
method %Activate()
Server-side method: Make this tab the current tab within its parent tabGroup.
method activate()
[ Language = javascript ]
Make this tab the current tab within its parent tabGroup.
method ondisabledHandler()
[ Language = javascript ]
Client-side method that is called when a group's disabled
state changes. This gives subclasses a chance to update their
style when they are enabled/disabled.