Home > Class Reference > ENSLIB namespace > %ZEN.Component.submit
Private  Storage   


class %ZEN.Component.submit extends button

A submit button.
A submit button must be placed within a form.
When the user presses the submit button, the form is submitted. The value of the action is passed along to the server-side %OnSubmit method.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2


%condition %import %includeFiles %page
%resource action align aux
caption clientType composite containerStyle
controlClass controlStyle dataBinding disabled
dragEnabled dropEnabled enclosingClass enclosingStyle
error height hidden hint
hintClass hintStyle id index
invalid invalidMessage label labelClass
labelDisabledClass labelStyle name nextPage
onafterdrag onbeforedrag onblur onchange
onclick ondblclick ondrag ondrop
onfocus onhide onkeydown onkeypress
onkeyup onmousedown onmouseout onmouseover
onmouseup onrefresh onshow onsubmit
ontouchend ontouchmove ontouchstart onupdate
onvalidate originalValue parent readOnly
required requiredMessage showLabel slice
tabIndex title tuple valign
value visible width window

%AddToSaveSet %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawComponentHTML %DrawHTML %DrawJSStrings
%EnclosingDivId %Eval %EvalC %Extends
%ForceClientRender %GetEventHandlers %GetForm %GetParameter
%GetXMLName %IsA %IsModified %MakeId
%Name %New %NormalizeObject %ObjectModified
%OnAddToPageAfter %OnAddToPageBefore %OnDrawEnclosingDiv %OnDrawObjectProperties
%OnObjectSynch %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveFromSaveSet %Self
%SerializeObject %SetDefaultValues %SetModified %ValidateObject
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType
dragFinishHandler dragHandler dragNotifyHandler dragStartHandler
dropHandler dropStartHandler exposeComponent findElement
fireOnUpdateEvent focus formatValue getDisabled
getDragData getEnclosingDiv getForm getHidden
getHintElement getInvalidReason getLabelElement getProperty
getReadOnly getSettings getType getValue
invokeSuper isModified isOfType isValid
makeId normalizeValue onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onStartModalHandler onchangeHandler onclickHandler
onloadHandler onunloadHandler onupdateHandler refreshContents
render renderContents renderSVG select
setDisabled setHidden setOverlayMode setProperty
setReadOnly setValue startProgressBar stopProgressBar
sysName unformatValue validationHandler


• property action as %ZEN.Datatype.string(MAXLEN=250) [ InitialExpression = "submit" ];
This is the *action* code (a string) associated with this submit button. By default, action is "submit". This value is passed along to the server-side %OnSubmit method.
• property nextPage as %ZEN.Datatype.uri;
If defined, the URL to go to after this form is submitted successfully. This value, if defined, will override the nextPage of the form.


• method %DrawHTML()
Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
• method onclickHandler() [ Language = javascript ]
Internal onclick handler method for submit button. Users should not call this method.