This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).


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)


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()


method %DrawHTML()
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)