* @param attrNumber Type: int
* @param attrValue Type: DataValue
*/
public void handleValueChange(int attrNumber, DataValue attrValue) {
try {
BusinessClass theCurrentRecord = this.getCurRec();
//
// Ignore the change if the user is in search mode.
//
if (this.getWindowMode().intValue() == ExpressContainerWindow.WM_EDIT) {
//
// Call any user provided validation. If any errors
// occur, this method will raise an exception and abort
// the value change.
//
this.validateField(attrNumber, attrValue);
//
// Mark the field as changed.
//
if (this.getBusinessClient() != null) {
this.getBusinessClient().logAttr(theCurrentRecord, attrNumber);
}
//
// Change the field in the selected record.
//
if (theCurrentRecord != null) {
theCurrentRecord.setAttrValue(attrNumber, attrValue);
}
//
// Mark the result set as modified.
//