undoChanges() Restores the detail form to the state it was when it was first loaded.
public void
updateLocale() Updates the display box button labels for the current language
The language property file must have the following key structure
FormDisplayBox.add represents the caption for the add button.
FormDisplayBox.save represents the caption for the save button.
FormDisplayBox.delete represents the caption for the delete button.
FormDisplayBox.cancel represents the caption for the cancel button.
FormDisplayBox.ok represents the caption for the ok button.
FormDisplayBox.undo represents the caption for the ok button.
DetailFormDisplayBox.editQuestion represents the question asked when the user wants to edit a row and there is unsaved data on the current row.
DetailFormDisplayBox.cancelQuestion represents the question asked when the user wants to cancel changes in a row.
DetailFormDisplayBox.addQuestion represents the question asked when the user wants to add a row and there is unsaved data on the current row.
DetailFormDisplayBox.deleteQuestion represents the confirm delete question.
Binds various components to the component based on their names passed to the constructor. CriteriaBuilder, CriteriaValidator and ListForm. This method is called by the framework and should not be called directly.
This method returns a status flag for the datastores related with this detail form.
Override if you have more than one datastore in your page (ie other datastores besides the one of the detail form).
Called by the tag handler to set the name of the DataStore used by the DetailForm. The autoBindComponents will lookup the name of the component and attach it to this one or try to discover it if the name is null
setDeleteButtonAccessKey
public void setDeleteButtonAccessKey(String key)(Code)
Set the access key for the delete button
setDeleteButtonCaption
public void setDeleteButtonCaption(String caption)(Code)
Sets the delete button visible or not
setDeleteButtonVisible
public void setDeleteButtonVisible(boolean visible)(Code)
Called by the tag handler to set the name of the ListForm. The autoBindComponents will lookup the name of the component and attach it to this one or try to discover it if the name is null
Called by the tag handler to set the name of the validator. The autoBindComponents will lookup the name of the component and attach it to this one or try to discover it if the name is null
Updates the display box button labels for the current language
The language property file must have the following key structure
FormDisplayBox.add represents the caption for the add button.
FormDisplayBox.save represents the caption for the save button.
FormDisplayBox.delete represents the caption for the delete button.
FormDisplayBox.cancel represents the caption for the cancel button.
FormDisplayBox.ok represents the caption for the ok button.
FormDisplayBox.undo represents the caption for the ok button.
DetailFormDisplayBox.editQuestion represents the question asked when the user wants to edit a row and there is unsaved data on the current row.
DetailFormDisplayBox.cancelQuestion represents the question asked when the user wants to cancel changes in a row.
DetailFormDisplayBox.addQuestion represents the question asked when the user wants to add a row and there is unsaved data on the current row.
DetailFormDisplayBox.deleteQuestion represents the confirm delete question.
Fields inherited from com.salmonllc.jsp.JspFormDisplayBox