Switch {
/*
* The name of this gadget is ora8_acct_status, and the
* value of this gadget will automatically be put in the
* CCMS ora8_acct_status property of the user record.
* The On/Off DSL attributes define the values assigned
* based on the state of the switch.
*/
Name = ora8_acct_status;
Title = Msg(Dialogs_I18N_OracleLogin_AccountLocked);
TitlePos = RIGHT;
ChildColumnAlignment = LEFT;
ChildRowAlignment = BOTTOM;
/*
* These values should not be changed or translated.
* They are direcly used by oracle SQL.
*/
On = "LOCK";
Off = "UNLOCK";
Value = "UNLOCK";
}
/*
* Add a dummy message to create spacing in the layout.
*/
Message
{
Name = layoutSpacing3;
}
Group {
Layout = HORIZONTAL;
ChildColumnAlignment = LEFT;
ChildRowAlignment = CENTER;
/*
* Text field for the Oracle user name.
*/
Text {
Name = ora8_name;
Title = Msg(Dialogs_I18N_OracleLogin_UserName);
Columns = 30;
ChildColumnAlignment = LEFT;
ChildRowAlignment = BOTTOM;
}
}
Figure 1. DSL Source File (Part 2 of 5)
Oracle Application Dialogs
111
Tivoli® SecureWay Application Management Toolkit Guide