%ZEN.Template.WebFormWizard.Home
deprecated class %ZEN.Template.WebFormWizard.Home extends %ZEN.Template.WebFormWizard.Template
Studio Template.Create CSP forms for classes.
Property Inventory
Method Inventory
- %GetDescHTML()
- %GetDescHTML2()
- %GetDescHTML3()
- %OnAfterCreatePage()
- %OnTemplateAction()
- ConvertKeyNameToIntName()
- GetOptionsList()
- GetParameterList()
- GetSearchList()
- PopulateAttributeList()
- PopulateClassList()
- PopulateQueryList()
- PopulateRefPropList()
- PopulateRefQueryColumn()
- SaveAttribute()
- SavePropList()
- ShowRef()
- WriteConField()
- WriteFields()
- WriteFormFooter()
- WriteFormHeader()
- WriteJS()
- arrowClicked()
- canFinish()
- canGoBack()
- canGoNext()
- formValidationHandler()
- getClassName()
- hasMultiplePages()
- loadFields()
- loadProperties()
- locationChange()
- lstFieldsClick()
- lstQueryColumnClick()
- lstQueryNameClick()
- moveBack()
- moveBackAll()
- moveTo()
- moveToAll()
- moveUpDown()
- nextPage()
- onstartHandler()
- previousPage()
- treeClick()
- updateAttribute()
Parameters
parameter DOMAIN = %ZEN;
Domain used for localization.
parameter PAGETITLE = Web Form Wizard;
Display title of this page
parameter TEMPLATEDESCRIPTION = Create a CSP form for a Cache class.;
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 TEMPLATEMODE = template;
What type of template.
parameter TEMPLATENAME = Web Form 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 = Web Form Wizard;
Inherited description: Title of the template to show in the template window.
parameter TEMPLATETYPE = cls,csp;
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 FullClassName as %ZEN.Datatype.string;
User selected class name
Property methods: FullClassNameDisplayToLogical(), FullClassNameGet(), FullClassNameIsValid(), FullClassNameLogicalToDisplay(), FullClassNameLogicalToOdbc(), FullClassNameNormalize(), FullClassNameSet()
property TreeTotal as %ZEN.Datatype.integer;
Property methods: TreeTotalDisplayToLogical(), TreeTotalGet(), TreeTotalIsValid(), TreeTotalLogicalToDisplay(), TreeTotalLogicalToOdbc(), TreeTotalNormalize(), TreeTotalSet()
property sId as %ZEN.Datatype.string [ InitialExpression = $select($isObject($get(%session)):%session.SessionId,1:$j) ];
Property methods: sIdDisplayToLogical(), sIdGet(), sIdIsValid(), sIdLogicalToDisplay(), sIdLogicalToOdbc(), sIdNormalize(), sIdSet()
Methods
Provide contents of description component for tab1.
Provide contents of description component for tab2.
Provide contents of description component for tab3.
method %OnAfterCreatePage() as %Status
Inherited description: This callback is called after the server-side page
object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
method %OnTemplateAction() as %Status
This method is called when the template is complete. Any
output to the principal device is returned to the Studio.
method ConvertKeyNameToIntName(Key) as %String
*************************************************************** ///
* The following methods are for generating code for a form. * ///
*************************************************************** ///
Check for JavaScript name identifiers. If invalid characters
(including foreign language) exist in a property name,
then that property name will not be used in the field name
on the new generated form. Instead, a "fieldNN" name will be used
where NN is the unique "findex" number.
method GetOptionsList(Layout) as %String
Build option list based on user's Settings
method GetParameterList(clsName, sIntName)
This module is called to heck if ValueList and DisplayList exist. If yes, build SELECT box.
method GetSearchList(sId, clsName) as %String
Loop through the selected properties. Add to search list if the property is searchable
Load fields into Available/Selected list boxes.
ClassMethod PopulateAttributeList(NAMESPACE, FullClassName, sId) As %Boolean [ ZenMethod ]
Build tree for class names
classmethod PopulateQueryList(sId, sName) as %String [ ZenMethod ]
User wants to create Drop-down for refclass. Return Query Name choices.
classmethod PopulateRefPropList(sId, sName) as %String [ ZenMethod ]
User wants to show reference as Pull-down menu and has selected a Query Name.
Return Query Column choices.
classmethod PopulateRefQueryColumn(sId, sName) as %String [ ZenMethod ]
User wants to show reference as Search button or Hyperlink.
Return Query Column choices.
classmethod SaveAttribute(sId, sName, sField, sValue) [ ZenMethod ]
classmethod SavePropList(sId, sValue) as %Boolean [ ZenMethod ]
Save the selected property list into %session for processing
classmethod ShowRef(sName) as %ZEN.proxyObject [ ZenMethod ]
Given property name, decide now what type of attribute we should show.
idAttr1 = show reference
idAttr2 = show collection or multiline
idAttr3 = show image
idAttr4 = show Pull-down menu for reference
method WriteConField(clsName, sId, sName, Layout, gsAlign, sBold1, sBold2)
Write out HTML code: Write out code for individual field
method WriteFields(sId, clsName, Layout, bReq)
Write out HTML code: Loop through all selected fields
Set indicator (bReq) for whether there is at least one required field for footer.
Write out HTML code: form footer and finish
method WriteFormHeader(sId, clsName, Layout)
Write out HTML code for form header
method WriteJS(sId, clsName, Layout)
Write out Javascript code for page
clientmethod arrowClicked() [ Language = javascript ]
User clicked one of the arrows or double clicked.
clientmethod canFinish() [ Language = javascript ]
Return true if this template can Finish (i.e., enable
the Finish button).
This is implemented by subclasses.
This is implemented by subclasses.
clientmethod canGoBack() [ Language = javascript ]
Return true if this template can go to the previous page (i.e., enable
the Back button).
This is implemented by subclasses.
This is implemented by subclasses.
clientmethod canGoNext() [ Language = javascript ]
Return true if this template can go to the next page (i.e., enable
the Next button).
clientmethod formValidationHandler() [ Language = javascript ]
Validation handler for form built-into template.
clientmethod getClassName() [ Language = javascript ]
Return currently selected package and classname
clientmethod hasMultiplePages() [ Language = javascript ]
Inherited description: Return true if this template has more than one "page".
This will display Back and Next buttons.
This is implemented by subclasses.
clientmethod loadFields() [ Language = javascript ]
Load selected properties into fields box on tab3
clientmethod loadProperties() [ Language = javascript ]
Load properties for selected table
clientmethod locationChange(ctrl) [ Language = javascript ]
This is called when the user changes the Location control(s).
clientmethod lstFieldsClick(ctrl) [ Language = javascript ]
User clicked a selected property in lstFields on tab3.
Fill in caption and determine if the reference radiobuttons should be shown.
clientmethod lstQueryColumnClick(ctrl) [ Language = javascript ]
User selected a Query Column for reference class.
Save the selection and enable fields.
clientmethod lstQueryNameClick(ctrl) [ Language = javascript ]
User selected a Query Name for reference class.
Save the selection and load the Query Columns field.
clientmethod moveBack() [ Language = javascript ]
Move item from listbox to tree
clientmethod moveBackAll() [ Language = javascript ]
Move item from listbox to tree
clientmethod moveTo() [ Language = javascript ]
Move item from tree to listbox
clientmethod moveToAll() [ Language = javascript ]
Select the entire list from tree to the list, marking tree item style as selected
clientmethod moveUpDown(flag) [ Language = javascript ]
Moving item in a listbox up and down
clientmethod nextPage() [ Language = javascript ]
Go to the next page of the template (if there is one).
This is implemented by subclasses.
This is implemented by subclasses.
clientmethod onstartHandler() [ Language = javascript ]
This is called when the template is first displayed;
This provides a chance to set focus etc.
clientmethod previousPage() [ Language = javascript ]
Go to the previous page of the template (if there is one).
This is implemented by subclasses.
This is implemented by subclasses.
clientmethod treeClick(gonext) [ Language = javascript ]
User clicked an item in the tree
clientmethod updateAttribute(ctrl) [ Language = javascript ]
User changed an attribute field. Save it to temp array.
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- CSPCHD
- DocumentName
- DocumentNamespace
- Language
- Namespace
- Project
- 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
- name
- onafterdrag
- onbeforedrag
- onclick
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- 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()
- %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()
- %OnBeforeCreatePage()
- %OnCreateApplication()
- %OnCreatePage()
- %OnDetermineCSSLevel()
- %OnDrawEnclosingDiv()
- %OnDrawHTMLBody()
- %OnDrawHTMLHead()
- %OnDrawHTMLMeta()
- %OnDrawObjectProperties()
- %OnFinishBackgroundTask()
- %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()
- ConvertParameter()
- Decrypt()
- Encrypt()
- EscapeHTML()
- EscapeURL()
- 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()
- cancelPopup()
- cancelTemplate()
- childrenMutated()
- correctIELayering()
- createComponent()
- createComponentNS()
- deleteComponent()
- doSettings()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- endModal()
- exposeComponent()
- findElement()
- finishTemplate()
- fireOnResizeEvent()
- fireOnUnloadEvent()
- fireOnUpdateEvent()
- firePopupAction()
- getChildIndex()
- getComponent()
- getComponentById()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getOpener()
- getProperty()
- getSettings()
- getType()
- gotoPage()
- invokeSuper()
- isOfType()
- launchPopupWindow()
- makeId()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onServerMethodCall()
- onServerMethodError()
- onServerMethodReturn()
- onStartModalHandler()
- ondisabledHandler()
- onfinishHandler()
- onhandleAutoLogoutWarn()
- onkeydownHandler()
- onkeyupHandler()
- onlayoutHandler()
- onloadHandler()
- onlogoutHandler()
- onoverlayHandler()
- onresizeHandler()
- onunloadHandler()
- onupdateHandler()
- popupActionHandler()
- refreshContents()
- removeChild()
- render()
- renderContents()
- renderSVG()
- setComponentId()
- setHidden()
- setOverlayMode()
- setProperty()
- setPropertyAll()
- setTraceOption()
- showDocumentation()
- showHelp()
- startModal()
- startProgressBar()
- stopProgressBar()
- updateState()