LSPS documentation logo
LSPS Documentation
Button

The Button ( ) component renders as a button and typically defines an action taken when the button is clicked: On click, the ClickListener closure is executed.

ButtonForm.png
Form with a Button
Expression that returns a Button:

new forms::Button("Submit",
{ submitClick -> Forms.submit();
Forms.navigateTo(new DocumentNavigation(documentType -> MyForm()))})
ButtonRendered.png
Button rendered in the default theme