public class UIButtonSpecSubmit extends UIButtonSpecNavigation
The name and value of the button will be sent in the request.
Several submit buttons can have the same name in a form. The value is used to determine which button has been clicked.
Default value for UIButtonSpecNavigation.isAskBeforeLeavingModifiedForm()
is false
.
UIFormSpec
,
UIServiceComponentWriter.addButtonSubmit(UIButtonSpecSubmit)
Constructor and Description |
---|
UIButtonSpecSubmit(UserMessage aLabel,
String aName,
String aValue) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getValue() |
isAskBeforeLeavingModifiedForm, setAskBeforeLeavingModifiedForm
getButtonIcon, getButtonLayout, getConfirmationMessage, getIconURL, getId, getLabel, getRelief, getTooltip, hasConfirmationMessage, isDefaultButton, isDisabled, isExcludedFromTabFocus, setButtonIcon, setButtonLayout, setConfirmationMessage, setCssClass, setDefaultButton, setDisabled, setExcludedFromTabFocus, setIconURL, setId, setLabel, setRelief, setTooltip
public UIButtonSpecSubmit(UserMessage aLabel, String aName, String aValue)
aLabel
- the label of the button.aName
- the value of the attribute name
of the submit button.
See https://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-BUTTON
for more information.aValue
- the value of the attribute value
of the submit button.
See https://www.w3.org/TR/REC-html40/interact/forms.html#adef-value-BUTTON
for more information.