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.
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.