Generates a submit action.
Class SubmitAction( prompt, authLevel, content, value, name, [onClick],[extra] ) from \ ButtonAction(( prompt, authLevel, content, onClick, extra))
prompt | Text for rendering columns headings or titles. |
authLevel | minimal authorization level required to see this action |
content | Content to be displayed in this button. |
value | HTML Value of this button. |
onClick | A command to be passed to the page |
extra | The name of the command field (defaults to "cmd") |
The content parameter can be any valid HTML text (it won't be escaped).
If the name parameter is nil, it will be defaulted to 'eid'.
If the value parameter is nil, the render method will use its parameter as the value of the button; otherwise the provided value will be used.
Methods inherited from class Action | |
allowed | Check if a logged-in user can see this action. |
render | Renders this action. |