
Classes | |
| interface | Keys |
Public Member Functions | |
| String | activeButtonClass () |
| String | buttonClass () |
| String | buttonLabel () |
| WOActionResults | deleteAction () |
| String | deleteButtonLabel () |
| String | dialogMessage () |
| String | disabledButtonClass () |
| ERMDRemoveRelatedButton (WOContext context) | |
| boolean | hasAnyAction () |
| WOActionResults | removeAction () |
| String | removeButtonClass () |
| String | removeButtonLabel () |
| Boolean | showDeleteButton () |
| Boolean | showRemoveButton () |
Private Attributes | |
| String | _deleteButtonLabel |
| String | _removeButtonClass |
| String | _removeButtonLabel |
| Boolean | _showDeleteButton |
| Boolean | _showRemoveButton |
Static Private Attributes | |
| static final Logger | log = Logger.getLogger(ERMDRemoveRelatedButton.class) |
object displayGroup dataSource
removeButtonLabel cancelButtonLabel deleteButtonLabel classForRemoveObjButton classForDisabledRemoveObjButton confirmDeleteConfigurationName confirmDeleteOrRemoveRelatedMessage confirmRemoveRelatedMessage confirmDeleteRelatedMessage classForRemoveDialogButton
| ERMDRemoveRelatedButton | ( | WOContext | context | ) |
| String activeButtonClass | ( | ) |
CSS class for an active Remove button
Defaults to "Button ObjButton DeleteObjButton"
Reimplemented from ERMDDeleteButton.
| String buttonClass | ( | ) |
| String buttonLabel | ( | ) |
| WOActionResults deleteAction | ( | ) |
Delete action for component button
Calls through to deleteObjectWithFinalCommit(false). Since this component is expected to be used in an edit form, the final commit will be handled buy the user save.
Reimplemented from ERMDDeleteButton.
| String deleteButtonLabel | ( | ) |
Label for the dialog's delete button
Defaults to "Delete"
| String dialogMessage | ( | ) |
String to display in the in-line confirmation dialog.
Obtained from the bindings or d2wContext via these keys:
confirmDeleteOrRemoveRelatedMessage confirmRemoveRelatedMessage confirmDeleteRelatedMessage
Reimplemented from ERMDDeleteButton.
| String disabledButtonClass | ( | ) |
Css class for a disabled Remove button
Defaults to "Button ObjButton DisabledObjButton DisabledDeleteObjButton"
Reimplemented from ERMDDeleteButton.
| boolean hasAnyAction | ( | ) |
| WOActionResults removeAction | ( | ) |
Removes the current object from the relationship
| String removeButtonClass | ( | ) |
| String removeButtonLabel | ( | ) |
Label for the dialog's remove button
Defaults to "Remove"
| Boolean showDeleteButton | ( | ) |
Boolean used to hide/show the confirmation dialog's delete button
The delete button is only shown if isEntityDeletable returns true
| Boolean showRemoveButton | ( | ) |
Boolean used to hide/show the confirmation dialog's remove button.
The remove button show only be displayed if the reverse relationship for the related eo is not mandatory and isEntityRemoveable returns true.
String _deleteButtonLabel [private] |
String _removeButtonClass [private] |
String _removeButtonLabel [private] |
Boolean _showDeleteButton [private] |
Boolean _showRemoveButton [private] |
final Logger log = Logger.getLogger(ERMDRemoveRelatedButton.class) [static, private] |
logging support
Reimplemented from ERMDDeleteButton.
1.5.8