%ZHSLIB.PackageManager.Developer.Extension.PackageManager.UI.LocalizationDocWizard
class %ZHSLIB.PackageManager.Developer.Extension.PackageManager.UI.LocalizationDocWizard extends %ZHSLIB.PackageManager.Developer.Extension.UI.templatePage
This page allows user to create or edit a Localization (LOC) fileProperty Inventory
Method Inventory
- %OnTemplateAction()
- GetLanguageList()
- GetMessageFile()
- Submit()
- addItem()
- findLanguage()
- loadBootstrapTable()
- loadDomainDropdown()
- loadLanguageDropdown()
- loadLocalizedStrings()
- loadMessageFileTable()
- onfinishHandler()
- onloadHandler()
- saveNew()
- toggleAdd()
Parameters
parameter CSSINCLUDES = bootstrap-3-3-5/dist/css/bootstrap.min.css,bootstrap-table/bootstrap-table.css,//rawgit.com/vitalets/x-editable/master/dist/bootstrap3-editable/css/bootstrap-editable.css;
Inherited description: Comma-separated list of additional CSS include files for the page.
If this page is using CSS3 then the CSS3INCLUDES parameter is used (if defined).
parameter HELPID = GHSPM_localization_document_wizard;
Inherited description: DOCBOOK Topic Id that offers help for this template.
parameter TEMPLATEDESCRIPTION = Create or Edit a Localization Document;
Inherited description: Short description of the template to show in Studio.
If DOMAIN is defined this will be localized.
If DOMAIN is defined this will be localized.
parameter TEMPLATEGROUP = General;
Inherited description: If this is a TEMPLATEMODE="new" then this is the name of the tab
in Studio this template is dispayed on. If none specified then
it displays on 'Custom' tab.
parameter TEMPLATEMODE = new;
What type of template.
parameter TEMPLATENAME = Localization Document Wizard;
Inherited description: Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
If DOMAIN is defined this will be localized.
parameter TEMPLATETITLE = Package Manager - Localization Document Wizard;
Inherited description: Title of the template to show in the template window.
parameter TEMPLATETYPE = XML;
Inherited description: Comma separated list of 'CSP', 'CSR', 'MAC', 'INT', 'INC',
'BAS', 'CLS' to say what type of code this template
generates; CSP, CSR, Routine, or Class code.
You can also specify '*' for all types.
Properties
property InternalName as %ZEN.Datatype.string (ZENURL = "InternalName");
Property methods: InternalNameDisplayToLogical(), InternalNameGet(), InternalNameIsValid(), InternalNameLogicalToDisplay(), InternalNameLogicalToOdbc(), InternalNameNormalize(), InternalNameSet()
property WizardTitle as %ZEN.Datatype.caption [ InitialExpression = $$$TextHTML("Localization Document Wizard") ];
Property methods: WizardTitleDisplayToLogical(), WizardTitleGet(), WizardTitleIsValid(), WizardTitleLogicalToDisplay(), WizardTitleLogicalToOdbc(), WizardTitleNormalize(), WizardTitleSet()
Methods
method %OnTemplateAction() as %Status
Inherited description: This method is called when the template is complete. Any
output to the principal device is returned to the Studio.
This is implemented by subclasses.
method GetLanguageList(ByRef pParms, Output pObject As %RegisteredObject) as %Status
method GetMessageFile(ByRef pParms, Output pObject As %RegisteredObject) as %Status
classmethod Submit(pInternalName As %String, pDocName As %String, pJSONString As %String) as %Boolean [ ZenMethod ]
Save or Create File. If InternalName exists then this is an edit. Else create XML.
clientmethod addItem() [ Language = javascript ]
user clicked Add to add a new item. Show the text fields.
clientmethod findLanguage(languages, languageValue) [ Language = javascript ]
input language value, output language text
clientmethod loadBootstrapTable() [ Language = javascript ]
clientmethod loadDomainDropdown(domains) [ Language = javascript ]
The Domain dropdown list is populated when loading the table.
clientmethod loadLanguageDropdown() [ Language = javascript ]
clientmethod loadLocalizedStrings() [ Language = javascript ]
clientmethod loadMessageFileTable() [ Language = javascript ]
clientmethod onfinishHandler() [ Language = javascript ]
Inherited description: This is called when the template is finished;
clientmethod onloadHandler() [ Language = javascript ]
Inherited description: This client event, if present, is fired when the page is loaded.
clientmethod saveNew(closeModal) [ Language = javascript ]
user clicked Save to add a new item.
clientmethod toggleAdd() [ Language = javascript ]
enable Add button only if Domain is not null (language is never null)
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- DocumentName
- DocumentNamespace
- Language
- Namespace
- Page
- Project
- SelectModuleNameTitle
- SelectOne
- SelectedText
- User
- align
- aux
- backgroundTimerInterval
- cellAlign
- cellSize
- cellStyle
- cellVAlign
- children
- composite
- containerStyle
- cssLevel
- disabled
- dragAndDrop
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- groupClass
- groupStyle
- height
- helpId
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelPosition
- labelStyle
- layout
- lblErrorPrefix
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- pageModified
- parent
- showLabel
- slice
- title
- tuple
- useSVG
- useSoftModals
- valign
- visible
- width
- window
- zenPersistentPopup
Inherited Methods
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %AddImportedComponents()
- %AddToProject()
- %AddToSaveSet()
- %AddToSourceControl()
- %ApplyURLParms()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawAutoLogout()
- %DrawClassDefinitions()
- %DrawComponentHTML()
- %DrawFooter()
- %DrawHTML()
- %DrawHTMLPage()
- %DrawJSStrings()
- %DrawObjectDefinitions()
- %DrawTitle()
- %EnclosingDivId()
- %EndBackgroundMethod()
- %EndScript()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetComponent()
- %GetComponentById()
- %GetComponentByName()
- %GetEventHandlers()
- %GetLinks()
- %GetPageName()
- %GetParameter()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnAfterCreatePage()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetSubtitle()
- %OnGetTitle()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %OnUseSoftModals()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveChild()
- %RemoveChildren()
- %RemoveComponent()
- %RemoveFromSaveSet()
- %RunBackgroundMethod()
- %Self()
- %SerializeObject()
- %SetBackgroundMethodStatus()
- %SetClassName()
- %SetErrorById()
- %SetErrorByName()
- %SetModified()
- %SetValueById()
- %SetValueByName()
- %SetValuesByName()
- %StartScript()
- %TemplateHeader()
- %ValidateObject()
- %ZENVersion()
- CheckDirectoryContents()
- ConvertParameter()
- Decrypt()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- GetCommonLocalization()
- GetModuleListSQL()
- GetSnapshotModuleListSQL()
- HyperEventCall()
- HyperEventHead()
- Include()
- InsertHiddenField()
- InsertHiddenFields()
- IsEnabled()
- IsPrivate()
- IsValidClassName()
- JavaInstalled()
- Link()
- LocalizeName()
- OnHTTPHeader()
- OnPage()
- OnPageError()
- OnPostHTTP()
- OnPostHyperEvent()
- OnPreHTTP()
- OnPreHyperEvent()
- Page()
- QuoteJS()
- RewriteURL()
- ShowError()
- StartTimer()
- StopTimer()
- ThrowError()
- UnescapeHTML()
- UnescapeURL()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- addChild()
- addChildAfter()
- addChildBefore()
- adjustSize()
- canFinish()
- canGoBack()
- canGoNext()
- cancelPopup()
- cancelTemplate()
- childrenMutated()
- confirmCancel()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- endModal()
- exposeComponent()
- findElement()
- finishTemplate()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- formValidationHandler()
- getChildIndex()
- getComponent()
- getComponentById()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getProperty()
- getSettings()
- getType()
- gotoPage()
- hasMultiplePages()
- invokeSuper()
- isModified()
- isOfType()
- launchPopupWindow()
- loadDropdown()
- makeId()
- nextPage()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onhandleAutoLogoutWarn()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onstartHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- previousPage()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setComponentId()
- setErrorMessage()
- setHidden()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setTraceOption()
- showDocumentation()
- showHelp()
- startModal()
- startProgressBar()
- stopProgressBar()
- updateState()