Home > Class Reference > %SYS namespace > %ZEN.Component.submit

%ZEN.Component.submit

class %ZEN.Component.submit extends %ZEN.Component.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.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

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 methods: actionDisplayToLogical(), actionGet(), actionIsValid(), actionLogicalToDisplay(), actionLogicalToOdbc(), actionNormalize(), actionSet()
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.
Property methods: nextPageDisplayToLogical(), nextPageGet(), nextPageIsValid(), nextPageLogicalToDisplay(), nextPageLogicalToOdbc(), nextPageNormalize(), nextPageSet()

Methods (Including Private)

method %DrawHTML() [ Language = objectscript ]
Inherited description: 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.
clientmethod onclickHandler() [ Language = javascript ]
Internal onclick handler method for submit button. Users should not call this method.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback