// bind template to controller // WOx TODO: // - LSWObjectEditor // - SkyListView? (already available?) Frame: LSWSkyrixFrame {} Window: LSWWindowFrame { title = labels.teamTitle; onClose = cancel; } Warning: LSWWarningPanel { onOk = warningOkAction; phrase = warningPhrase; } TeamForm: WOForm { name = "teamEditor"; } TeamEditor: LSWObjectEditor { labels = labels; object = team; attributes = ( { key = "description"; label = "name"; }, { key = "email"; } ); colAttr = 2; colVal = 2; } WarningModeCond: WOConditional { condition = isInWarningMode; } WarningModeCondElse: WOConditional { condition = isInWarningMode; negate=YES; } IsDeleteEnabled: WOConditional { condition = isDeleteEnabled; } NewModeCond: WOConditional { condition = isInNewMode; negate = YES; } IsRootCondition: WOConditional { condition = session.activeAccountIsRoot; } ShowLocationCheckbox: WOConditional { condition = isAllIntranetTeam; negate = YES; } Account: WOString { value = account.login; } SaveSubmit: WOSubmitButton { action = save; value = labels.saveButtonLabel; disabled = isSaveDisabled; class = "button_narrow"; } SaveSubmitDA: WOSubmitButton { action = save; value = labels.saveButtonLabel; disabled = isSaveDisabled; class = "button_narrow_da"; } IsSaveEnabled: WOConditional { condition = isSaveDisabled; negate = YES; } IsSaveDisabled: WOConditional { condition = isSaveDisabled; } DeleteSubmit: WOHyperlink { action = delete; string = labels.deleteButtonLabel; disabled = isDeleteDisabled; class = "button_narrow"; } CancelSubmit: WOHyperlink { action = cancel; string = labels.cancelButtonLabel; class = "button_narrow"; } LocationTeamCheckBox: WOCheckBox { checked = isLocationTeam; } ReadOnlyCheckBox: WOCheckBox { checked = isReadonly; } IsOwnerOrRoot: WOConditional { condition = isOwnerOrRoot; } AccountList: SkyListView { list = assignedAccounts; item = item; columns = 4; selectInverse = YES; selectedItems = removedAccounts; attributes = ( { key="login"; }, { key="fullNameLabel"; } ); } ResultList: SkyListView { list = resultList; item = item; columns = 4; selectedItems = addedAccounts; attributes = ( { key="login"; }, { key="fullNameLabel"; } ); } HasSelectedAccounts: WOConditional { condition = hasSelectedAccounts; } HasSearchResult: WOConditional { condition = hasSearchResult; } SearchField: WOTextField { value = searchText; } SearchSubmit: WOSubmitButton { action = search; value = labels.search; class = "button_narrow"; } AccountsConditional: WOConditional { condition = hasAccountSelection; negate = NO; } IsMailConfigEnabled: WOConditional { condition = isMailConfigEnabled; } VAddresses: OGoDefaultEditField { defaults = defaults; componentLabels = labels; key = "admin_vaddresses"; valueType = "text"; useFormatter = "stringField"; isEditableDef = NO; rows = 6; cols = 60; } MailboxName: OGoDefaultEditField { componentLabels = labels; defaults = defaults; key = "admin_team_mailbox"; valueType = "string"; rows = 20; componentLabels = labels; isEditableDef = NO; } ExportTeam: OGoDefaultEditField { defaults = defaults; componentLabels = labels; key = "admin_team_doexport"; valueType = "checkbox"; useFormatter = "bool"; isEditableDef = NO; } /* labels */ AccountLabel: WOString { value = labels.members; } LocationTeamLabel: WOString { value = labels.locationTeamLabel; } SearchAccounts: WOString { value = labels.searchAccounts; } AddAccountsAttribute: WOString { value = labels.addAccounts; } ReadOnlyLabel: WOString { value = labels.isreadonly; } /* style */ AttributeCell: SkyAttributeCell { colspan=2;} ValueCell: SkyValueCell { colspan=2;} Font: SkyConfigFont {} EditFont: SkyConfigEditFont {}