%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 (Including Private)
Method Inventory (Including Private)
- %OnGetJSResources()
- %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 (Including Private)
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 (Including Private)
private method %OnGetJSResources(ByRef pResources As %String) as %Status [ Language = objectscript ]
Inherited description: Pages can implement this callback method in order to define a set of
client-side resources: javascript strings that have been localized.
This method should fill in the array pResources with a set of localized strings, indexed by resource id:
Javascript methods can refer to these resources using the helper function zenGetResource:
Zen defines a set of built-in resource strings using this mechanism. These
have a "zen" prefix to keep them seperate from user ids.
You can also override the same callback method within your %ZEN.application class if you wish to share resources across an application. In this case, the application-wide callback is invoked first.
This method should fill in the array pResources with a set of localized strings, indexed by resource id:
Set pResources("MyId") = $$$Text("Some string")
alert(zenText('MyId'));
You can also override the same callback method within your %ZEN.application class if you wish to share resources across an application. In this case, the application-wide callback is invoked first.
method %OnTemplateAction() as %Status [ Language = objectscript ]
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 [ Language = objectscript ]
method GetMessageFile(ByRef pParms, Output pObject As %RegisteredObject) as %Status [ Language = objectscript ]
classmethod Submit(pInternalName As %String, pDocName As %String, pJSONString As %String) as %Boolean [ Language = objectscript, 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 (Including Private)
- %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 (Including Private)
- %AddChild()
- %AddChildAfter()
- %AddChildBefore()
- %AddComponent()
- %AddImportedComponents()
- %AddToProject()
- %AddToSaveSet()
- %AddToSourceControl()
- %ApplyURLParms()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawAutoLogout()
- %DrawClassDefinitions()
- %DrawComponentHTML()
- %DrawFooter()
- %DrawFrameSet()
- %DrawHTML()
- %DrawHTMLPage()
- %DrawJSResources()
- %DrawJSStrings()
- %DrawObjectDefinitions()
- %DrawTitle()
- %EnclosingDivId()
- %EndBackgroundMethod()
- %EndScript()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetChildIndex()
- %GetComponent()
- %GetComponentById()
- %GetComponentByName()
- %GetEventHandlers()
- %GetJSResources()
- %GetLinks()
- %GetPageName()
- %GetParameter()
- %GetValueById()
- %GetValueByName()
- %GetXMLName()
- %IsA()
- %IsModified()
- %LayoutChildren()
- %Link()
- %LinkCSS()
- %LinkScript()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnAddToSaveSet()
- %OnAfterCreatePage()
- %OnBeforeCreatePage()
- %OnClose()
- %OnConstructClone()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %OnGetSubtitle()
- %OnGetTitle()
- %OnMonitorBackgroundTask()
- %OnMutateChildren()
- %OnNew()
- %OnObjectSynch()
- %OnPreHTTP()
- %OnSubmit()
- %OnUseSoftModals()
- %OnValidateObject()
- %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()
- 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()
- 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()